Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve inclanation and semi-major axis samples #115

Open
RomanAkhmetshyn opened this issue Mar 13, 2024 · 1 comment
Open

Retrieve inclanation and semi-major axis samples #115

RomanAkhmetshyn opened this issue Mar 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RomanAkhmetshyn
Copy link

I'm trying to fit a transit using r1, r2, and rho parameters. The posteriors.dat has an estimation of the semimajor axis (a) and the impact parameter (b), as well as inclination (i). I can see at some point that writepp( ) estimates these parameters and gets quantiles from samples. I was wondering if b, i and a could be retrieved from results.posteriors['posterior_samples']? Right now I couldn't find any other option than to copy the evaluation steps and insert my P and rho samples to get samples of i, b and a.

@nespinoza
Copy link
Owner

Hi! We could, yes --- but I'm not sure philosophically we should.

The reason is that the posterior parameters are supposed to be the parameters that you are actually constraining from your fit (ie, the ones you set priors to). Adding other derived quantities is left to the user in general a bit on purpose.

If there's hard push on this I think we could add it though. I would have to check this doesn't break something else down the road...

N.

@nespinoza nespinoza added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants