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
If I send an orbital period, transit time, and transit duration all with astropy units (which seems to be what the function wants), I get an error about subtracting numbers with units from numbers without units.
The issue is that the method was expecting transit_time to be a Time or a float object. I have modified this over in #1143 to also support Quantity objects.
The example you posted should start working in the next release (v2.0.11).
Problem description
If I send an orbital period, transit time, and transit duration all with astropy units (which seems to be what the function wants), I get an error about subtracting numbers with units from numbers without units.
Example
It's line 2647 in lightcurve.py that produces the error.
Expected behavior
I expected to get a transit mask array.
Environment
The text was updated successfully, but these errors were encountered: