This PR adds the ability to calculate the seismic properties of a
model by using its composition histogram and a set of thermodynamic
lookup tables.
The merge commit which brings this back into main has fixed a number
of errors introduced since this branch forked off main. There are
still a number more to be fixed in a future commit.
Closes #42.
WIP Add lookup table support to TerraModel
Remove unused import from lookup_tables test
terra_model: Fix capitalisation of density key
lookup_tables: Rename _ani variables with _an suffix
terra_model: Fix TerraModel constructor with MultiTables
lookup_tables: Place all the property names in a module-global variable
terra_model: Test loading of lookup tables in TerraModel
TerraModel: Add surface_radius argument and radius-depth conversion
TerraModel: Add pressure function and pressure evaluation method
TerraModel: WIP Implementing evaluation from lookup tables
TerraModel: WIP Implementing evaluation from lookup tables
lookup_tables: Fix bug in _harmonic_mean
lookup_tables._check_bounds: Use numpy.clip and issue warnings
This PR adds the ability to calculate the seismic properties of a model by using its composition histogram and a set of thermodynamic lookup tables.
The merge commit which brings this back into
main
has fixed a number of errors introduced since this branch forked offmain
. There are still a number more to be fixed in a future commit.Closes #42.
TerraModel
density
keyTerraModel
surface_radius
argument and radius-depth conversionangular_distance
angular_step
to compute final position from azimuth and distanceMultiTables
construction withSeismicLookupTables
For all pull requests:
contrib/utilities/indent
script from the main directory to indent my code.For new features/models or changes of existing features: