Closed Gabriel-p closed 3 years ago
What I learnt testing the approach mentioned above:
cut_max_mag
function can be made simpler and faster using a numpy maskbin_indxs
so that single systems have a nan
value.mass_interp
using scipy.interpolate.interp1d()
Currently state
(z, a)
gridptemcee loop
(z, a)
point is (weighted) averaged from the isochrones gridptemcee loop
Each isochrone has a different mass distribution, since isochrones of the same metallicity but different ages or same age but different metallicity have different
M_ini
values. This generates several issues:zaWAverage()
), the isochrones are not mass-aligned.M_ini
values in the isochrone, some masses will be repeated and others at a considerable distance from the sampled valueA different approach to address those issues
(z, a)
gridptemcee loop
(z, a)
point is (weighted) averaged from the isochrones gridptemcee loop