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

canot fit secondary eclipses #44

Open
MohammadEftekhar opened this issue Nov 6, 2020 · 4 comments
Open

canot fit secondary eclipses #44

MohammadEftekhar opened this issue Nov 6, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@MohammadEftekhar
Copy link

For fitting secondary eclipse, How could I set parameter of 'r1_p1','r2_p1" ?

@nespinoza
Copy link
Owner

Hi @MohammadEftekhar,

Currently juliet does not directly fit for secondary eclipses, but you can of course deactivate the limb-darkening by setting q1 equal to zero to mimic a secondary eclipse. There, the time-of-transit would really be the time-of-secondary eclipse, of course.

Let me know if this helps. If you need further help, please provide me with a minimal working example so you can help me help you!

Néstor

@nespinoza nespinoza added the enhancement New feature or request label Nov 10, 2020
@MohammadEftekhar
Copy link
Author

MohammadEftekhar commented Nov 11, 2020 via email

@nespinoza
Copy link
Owner

Hi Mohammad,

That would work as well. Remember that the limb-darkening law is not defined by q1 and q2, but by u1 and u2 such that, e.g., for the quadratic law, u1 = 2.*np.sqrt(q1)*q2 and u2 = np.sqrt(q1)*(1.-2.*q2). So if you set both q1 and q2 to zero, you get u1 = 0 and u2 = 0. Given the limb-darkening law is I(mu) = 1-u1*(1-mu)-u2*(1-mu)**2, this gives I(mu) = 1, i.e., a uniform intenstiy profile, which is what we wanted to emulate here.

Let me know if this works!
Néstor

@MohammadEftekhar
Copy link
Author

Thank You Néstor

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