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

[Bug]: HSTRamp parameters can not be of "fixed" type when using mult_white. #636

Open
2 tasks done
astroRez opened this issue Mar 22, 2024 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working LC Fit WFC3

Comments

@astroRez
Copy link
Collaborator

astroRez commented Mar 22, 2024

FAQ check

  • Yes, I checked the FAQ and my question has not been addressed.

Instrument

Other (any stage)

What happened?

When performing a joint fit of multiple white curves, if an HSTRampModel coefficient (e.g. h5 or h6) is set to "fixed", only the first transit is fitted.

Unfortunaly, the kernel crashes without providing an error.

Examples of the program fitting the first transit, but failing to fit the remaining transits are attached.
fig5101_ch0_lc_emcee
fig5101_ch1_lc_emcee
fig5101_ch2_lc_emcee
fig5101_ch3_lc_emcee
fig5101_ch4_lc_emcee

Error traceback output

No response

What operating system are you using?

No response

What version of Python are you running?

No response

What Python packages do you have installed?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@astroRez astroRez added the bug Something isn't working label Mar 22, 2024
@taylorbell57
Copy link
Collaborator

@kevin218 and I discussed this issue in a previous Eureka! team meeting, and my best guess at the time was that there was some issue where the orbital phase of HST was being shared between multiple observations assuming a stable, non-precessing orbit. HST's orbit varies quite a bit from one observation to the next, so fixing both h5 (HST's orbital period) and h6 (something like the zero-phase time for HST) across multiple visits seems like a bad idea to me; I'm quite new to working with HST data though, so I could be wrong.

Additionally, it's possible that there is some bug in the code that computes something like time_batch or time_local, which is only buggy for mult_white fits.

Beyond that, it's hard for me to troubleshoot without an error message or putting a bunch of print statements throughout to see what unexpected things are happening. I might be able to find time to investigate this, but probably not for a while (>2 weeks) since I'm pretty over-commited right now. If you or anyone else figures out a solution to this, please feel free to submit a PR or describe what your solution was and I can help you implement the patch.

@taylorbell57
Copy link
Collaborator

@kevin218, is this known bug something we'd like to resolve for v1.0?

@kevin218
Copy link
Owner

@taylorbell57 I don't think this is something that needs to be done for v1.0, maybe v1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LC Fit WFC3
Projects
Status: To do
Development

No branches or pull requests

3 participants