kima-org / kima

A data analysis framework for exoplanet detection
http://www.kima.science
MIT License
4 stars 1 forks source link

map_sample with transiting object #19

Closed florian-lienhard closed 3 months ago

florian-lienhard commented 3 months ago

Hi João,

Thank you for the new version. The map_sample function works well if I don't set a transiting planet. If set one, however, I get this error message (when I run map_sample):

model = RVmodel(fix=True, npmax=Np, data=data) model.set_transiting_planet(1) [...] model.TR_Tcprior = [kima.distributions.Gaussian(T0, T0_err)] [...] kima.run(model, steps=nsteps) res = kima.load_results(model) res.map_sample()

Screenshot 2024-07-16 at 15 13 19

Do you know what's going on here?

j-faria commented 3 months ago

Hi Florian,

It should be fixed now, in v6.1.0 that I just uploaded to PyPI. Can you try running pip install kima -U and checking again?

florian-lienhard commented 3 months ago

This worked. Thank you very much!