nespinoza / juliet

A versatile modelling tool for transiting and non-transiting (single and multiple) exoplanetary systems
MIT License
55 stars 30 forks source link

Return individual samples of model components if return_samples is true #40

Open JonasKemmer opened 4 years ago

JonasKemmer commented 4 years ago

Hey Nestor, title says it all. Adding "if not return_samples:" in line 1979 would make it possible to calculate own quantiles from the samples of the individual components. This would be handy for calculating the confidence intervals of planet phase plots.

Though, I did not check if you need the median components and full model samples elsewhere in juliet, but I tried it and it seems fine.

Best, Jonas

nespinoza commented 3 years ago

Hi @JonasKemmer,

This is a good call. I'll try to implement this in a future release.

N.