We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lc = Lightcurve(np.arange(100), np.arange(100)) lc_cut = lc.truncate(2, 10) print(lc.tstart==lc_cut.tstart) print(lc.tseg==lc_cut.tseg)
Both give True even if the other attributes (e.g. times, number of datapoints) are correctly truncated
print(lc_cut.time) [2 3 4 5 6 7 8 9]
print(lc_cut.time)
Same results if using the truncate method="time". Hope I'm not missing anything here...
The text was updated successfully, but these errors were encountered:
@andresgur this should now be fixed. Thanks for your report!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
lc = Lightcurve(np.arange(100), np.arange(100)) lc_cut = lc.truncate(2, 10) print(lc.tstart==lc_cut.tstart) print(lc.tseg==lc_cut.tseg)
Both give True even if the other attributes (e.g. times, number of datapoints) are correctly truncated
print(lc_cut.time)
[2 3 4 5 6 7 8 9]
Same results if using the truncate method="time". Hope I'm not missing anything here...
The text was updated successfully, but these errors were encountered: