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

Oblate maps unexpected amplitude #305

Open
shashankdholakia opened this issue Aug 5, 2022 · 0 comments
Open

Oblate maps unexpected amplitude #305

shashankdholakia opened this issue Aug 5, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shashankdholakia
Copy link

I'm running into a strange issue with amplitudes of gravity darkened maps that is leading to unexpected behavior when performing fits. Here is an attached MWE of the issue:

map = starry.Map(gdeg=4, oblate=True) #ydeg = 2*order_approx udeg=2

map.omega=0.225
map.beta = 0.08
map.wav=786.5 #TESS center bandpass
map.tpole=17300
map.f = 1-2/(0.225**2 + 2)

map.amp = 1.0
print(map.amp.eval())

The last line returns 6.112358459501673, I think it should return 1.0

@shashankdholakia shashankdholakia added the bug Something isn't working label Aug 5, 2022
@rodluger rodluger self-assigned this Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants