dynamics-of-stellar-systems / dynamite

dynamics, age and metallicity indicators tracing evolution
MIT License
10 stars 1 forks source link

Bayes LOSVD fluxes fix #387

Closed maindlt closed 3 weeks ago

maindlt commented 2 months ago

Fix a crash when creating the BayesLOSVD kinematics file in rare cases where the completed bins were determined incorrectly.

Here is what happened in method BayesLOSVD.write_losvds_to_ecsv_format():

Testing: tested with tutorial '4. BayesLOSVD and DYNAMITE'.

@liquidreams: Can you confirm that this solution works for you? As far as I remember you implemented it locally a while ago. @prashjet: would be great if you had a look at the code ;-)

Closes #360.

Cheers, Thomas

maindlt commented 3 weeks ago

Many thanks, Prash! I will merge and delete branch then :-)