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

Inconsistent stellar limb-darkening profiles #27

Open
EduardoCristo opened this issue Nov 17, 2021 · 0 comments
Open

Inconsistent stellar limb-darkening profiles #27

EduardoCristo opened this issue Nov 17, 2021 · 0 comments

Comments

@EduardoCristo
Copy link

EduardoCristo commented Nov 17, 2021

Hi! After a recent update of the cached files, I get inconsistent results retrieving the non-linear limb-darkening law (I removed the cache and downloaded again). I'm comparing the intensity difference of the profiles for a given temperature (4250K, 5800K, 7500K). A few months ago the cumulative difference was at most 2.5% and now is more than 10x larger. Funny enough for the third temperature, nothing changed. I'm using python 3.8 to run the code:

filters=[BoxcarFilter("w",380,800)]
sc = LDPSetCreator(teff=(parvar[k], sig_steff),logg=(slogg, sig_slogg),z=(sz, sig_sz),filters=filters, cache=os.path.abspath(os.path.join("yourpath" ,os.pardir))+"/cache/")
ps = sc.create_profiles(nsamples=1000)
ldcn,qe = ps.coeffs_qd(do_mc=True)
ldcl,qel= ps.coeffs_ln(do_mc=True)
ldcnl,qenl= ps.coeffs_nl(do_mc=True)

Limb-darkening coefficients:

4250K
[[0.9454834]]
[[0.64804808 0.3428646 ]]
[[-0.70811569 5.80458496 -7.32818848 3.22719344]]

5800K
[[0.97699707]]
[[0.31915583 0.68739933]]
[[-1.02702287 7.47210631 -9.45970715 3.98864554]]

7500K
[[0.58144531]]
[[0.50178719 0.12041476]]
[[-0.11783424 1.00176812 -0.1979341 -0.0744706 ]]

Best regards,
Eduardo Cristo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant