You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-11-29 10:05:53 nmma: Traceback (most recent call last):
File "/Users/bhealy/nmma/api/app.py", line 216, in run_nmma_model
main(args=parser.parse_args(args))
File "/Users/bhealy/nmma/nmma/em/analysis.py", line 993, in main
analysis(args)
File "/Users/bhealy/nmma/nmma/em/analysis.py", line 808, in analysis
num = (y_det - interp(t_det)) ** 2
File "/Users/bhealy/miniforge3/envs/nmma_env/lib/python3.10/site-packages/scipy/interpolate/_polyint.py", line 80, in __call__
y = self._evaluate(x)
File "/Users/bhealy/miniforge3/envs/nmma_env/lib/python3.10/site-packages/scipy/interpolate/_interpolate.py", line 755, in _evaluate
below_bounds, above_bounds = self._check_bounds(x_new)
File "/Users/bhealy/miniforge3/envs/nmma_env/lib/python3.10/site-packages/scipy/interpolate/_interpolate.py", line 789, in _check_bounds
raise ValueError("A value ({}) in x_new is above "
ValueError: A value (6.070891298244533) in x_new is above the interpolation range's maximum value (5.154269626136102).
I think this is happening because a time value (6.07 days) is beyond the interpolation range (up to 5.15 days) after the latter was shortened by a nonzero timeshift. The line performing the interpolation, added ~2 weeks ago, is below:
I'm getting the an error after sampling completes when running
lightcurve-analysis
on demo transient photometry from SkyPortal.Command:
Error:
I think this is happening because a time value (6.07 days) is beyond the interpolation range (up to 5.15 days) after the latter was shortened by a nonzero
timeshift
. The line performing the interpolation, added ~2 weeks ago, is below:nmma/nmma/em/analysis.py
Line 808 in 1432bcc
I'll be following up shortly with a PR to shift all times in this part of the code by the same
timeshift
, which should hopefully resolve this issue.The text was updated successfully, but these errors were encountered: