Skip to content

Resolve "Remove crop method from HeterodynedData"

Matthew Pitkin requested to merge remove_crop into 47-create-cwinpy_knope
  • setup.cfg: bump to GWPy version 2.1.1 which allows cropping of uneven timeseries
  • data.py: remove custom cropping methods and requirement for CWInPyTimeSeries class
  • data.py/test_data.py: minor fix to allow data to be input as a list rather than just as a NumPy array
  • data.py: add attributes setters to HeterodynedData to allow the copy method to work
  • base.py: for evenly sampled time series cropping is exclusive of the end time (up to time values until the next samples time), so the end time for the cropping has been increased as required.

Merge request reports