TimeSeries with sample_rate > 0.1 GHz is buggy
Created by: artem-basalaev
It seems there are several issues popping up when trying to use TimeSeries with high sampling rates, 0.1 GHz and above.
Below is a minimal code example to reproduce. Tested with GWpy 3.0.5.
from gwpy.timeseries import TimeSeries
import numpy as np
np.random.seed(0)
series = np.random.normal(size=10000)
test_ts = TimeSeries(series, sample_rate = 100000000)
# asd fails with "ValueError: cannot convert float NaN to integer"
test_ts.asd()
# plot also fails with "ValueError: arange: cannot compute length"
test_ts.plot()