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

Issue with computing flux when total=False in starry oblate #295

Open
shashankdholakia opened this issue Sep 29, 2021 · 0 comments
Open
Labels
bug Something isn't working

Comments

@shashankdholakia
Copy link

map33 = starry.Map(udeg=2, gdeg=2,oblate=True)
map33.omega=0.2
map33.beta=0.23
map33.wav=510
map33.tpole=7500
map33.f = (1-2/(0.2**2 + 2))
map33[1] = 0.2
map33[2] = 0.2

star = starry.Primary(map33, m=1, r=1)

planet = starry.kepler.Secondary(map=starry.Map(ydeg=1),
    m=0,  # mass in solar masses
    r=0.1,  # radius in solar radii
    porb=1,  # orbital period in days
)

system = starry.System(star, planet)
t = np.linspace(0,1,100)
system.flux(t,total=False)

This works when the oblate flag is set to False.

@shashankdholakia shashankdholakia added the bug Something isn't working label Sep 29, 2021
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

1 participant