nmdickson / GCfit

Multimass (LIMEPY) globular cluster equilibrium models and fitting them to observations
https://gcfit.readthedocs.io
MIT License
3 stars 1 forks source link

redo numdens background logic & allow subtraction #183

Closed nmdickson closed 1 year ago

nmdickson commented 1 year ago

This commit introduces the background argument to the base plotting functions, allowing us to know subtract a background value from both the models and data, rather than just plotting it as a line. The logic in plot_number_density is then redone to support this and better handle plotting the background instead.