GreenBankObservatory / dysh

https://dysh.readthedocs.io
Other
9 stars 3 forks source link

Spectrum slicing order #360

Open astrofle opened 2 months ago

astrofle commented 2 months ago

Describe the bug While slicing a spectrum, there are no checks to make sure the start:stop interval is increasing. This can result in an empty selection.

astrofle commented 2 months ago

The fix must accommodate the possibility of using negative values for slicing.