v0.4.0
Released on: 2021/12/02
New features:
- Allow
EquivalentSources
to define block-averaged sources through a newblock_size
argument (Soler2021). (#260) - Add
dtype
argument toEquivalentSources
. Allows to select the data type used to allocate the Jacobian matrix. (#278) - Add a new
EquivalentSourcesGB
class that implements gradient-boosted equivalent sources. Provides a method to estimate the amount of computer memory needed to allocate the largest Jacobian matrix (Soler2021](https://doi.org/10.1093/gji/ggab297)). (#275) - Allow
tesseroid_gravity
to compute gravitational fields of variable density tesseroids. Implements the density-based discretization algorithm and takesnumba.njit
decorated density functions as input (Soler2019). (#269)
Breaking changes:
- Rename
point_mass_gravity
topoint_gravity
. Having mass and gravity in the same function name is redundant. The function name has the same structure as other forward modelling functions (tesseroid_gravity
andprism_gravity
). The oldpoint_mass_gravity
will be deprecated on the next release. (#280)
Bug fixes:
- Fix bug with the
require_numba
pytest mark and rename it torun_only_with_numba
for improved readability. (#273)
Documentation:
- Fix typo on
EquivalentSources
docstring: replacebloc_size
withblock_size
. (#276) - Minor improvements to the docs: fix bad references and links, replace Equivalent Layer for Equivalent Sources on API Index, fix bad RST syntax. (#274)
Maintenance:
- Rename the default branch: from
master
tomain
(#287) - Replace
pylint
forflake8
extensions. Addisort
for autoformatting imports. (#285) - Replace conda for pip on GitHub Actions and split requirements files for each separate task. (#282)
- Make GitHub Actions to check if license notice is present in source files. (#277)
This release contains contributions from:
- Santiago Soler