vancesteven / PlanetProfile

Construct 1D interior structure models based on planetary properties. Self-consistent thermodynamics are used for fluid, rock, and mineral phases. Sound speeds, attenuation, and electrical conductivities are computed as outputs.
https://vancesteven.github.io/PlanetProfile/
Other
18 stars 13 forks source link

Induction calculations generalized to any specified PP<Body> need table printout #28

Open vancesteven opened 3 years ago

vancesteven commented 3 years ago

Describe the solution you'd like LayeredInductionResponse should be made to work for any object. Currently the plot_opts subfunction has information specific to individual objects, whereas all the other objective specific info is already in the respective calling PP.m file. A plot_opts function should be added to those, or a new separate plot_opts function should be created that lends itself to using parameters specified by parameters in PP.m.

Along with this, the deprecated code in LayeredInductionResponse should be saved as a separate function that can be called within PP.m to write a table line to an external

.tex file created in PP.m.

itsmoosh commented 2 years ago

Generality for induct-o-grams and induction calculations has been added to the Python version. A table printout has not yet been added for induction parameters, and neither has support for V2021 points been added. I'll change the title of this issue to reflect the need for those features.