BurnMan is a library for modeling mantle thermodynamics and thermoelasticity constrained by mineral physics experiments.
GNU General Public License v2.0
54
stars
41
forks
source link
make fit solution more accessible #554
Closed
bobmyhill closed 1 year ago
This PR makes the function
burnman.optimize.composition_fitting.fit_composition_to_solution()
more accessible by:site_occupancies
method toSolution
that returns the current species proportions on each sitesite_formula
method toSolution
that returns a readable string formula with the current species proportions on each siteThe new functions are tested in
examples/example_fit_composition.py
which produces new output.