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

stop validating likelihoods when filtering dataset #198

Closed nmdickson closed 7 months ago

nmdickson commented 7 months ago

filter_datasets was by default using the "only valid" datasets logic, which in turn prepped the datasets for use in likelihoods and called the expensive MF sampling function. Considering this is only ever used in the plotting to determine what datasets exist (other places call filter_likelihoods instead), there is no need for the more expensive operation to be called by default.