fatiando
package¶The fatiando
package contains all the subpackages and modules required for
most tasks.
Modules for each geophysical method are group in subpackages:
gravmag
:
Gravity and magnetics (i.e., potential fields)seismic
:
Seismics and seismologygeothermal
:
Geothermal heat transfer modelingModules for gridding, meshing, visualization, etc:
mesher
:
Mesh generation and definition of geometric elementsgridder
:
Grid generation and operations (e.g., interpolation)vis
:
Plotting utilities for 2D (using matplotlib) and 3D (using mayavi)datasets
:
Fetch and load datasets and models from web repositoriesutils
:
Miscelaneous utilities, like mathematical functions, unit conversion, etcconstants
:
Physical constants and unit conversionsAlso included is the fatiando.inversion
package with utilities for
implementing inverse problems. There you’ll find ready to use regularization,
optimization methods, and templates to implement new inversion methods.
Inversions implemented in Fatiando leverage fatiando.inversion
,
providing a common interface and usage patters. For examples, see modules
fatiando.seismic.epic2d
,
fatiando.seismic.srtomo
,
fatiando.gravmag.basin2d
,
fatiando.gravmag.euler
,
fatiando.gravmag.eqlayer
,
etc.
The design of fatiando.inversion
was inspired by scikit-learn, an
amazing machine-learning library.
fatiando.
test
(doctest=True, verbose=False, coverage=False)[source]¶Run the test suite for Fatiando a Terra.
Uses py.test to discover and run the tests. If you haven’t already, you can install it with conda or pip.
Parameters:
If True
, will run the doctests as well (code examples that start
with a >>>
in the docs).
If True
, will print extra information during the test run.
If True
, will run test coverage analysis on the code as well.
Requires pytest-cov
.
Returns:
The exit code for the test run. If 0
, then all tests pass.
List of modules and packages:
fatiando.gravmag
)fatiando.seismic
)fatiando.geothermal
)fatiando.mesher
)fatiando.gridder
)fatiando.vis
)fatiando.datasets
)fatiando.utils
)fatiando.constants
)fatiando.inversion
)