Commit db3c2464 authored by Moritz Huebner's avatar Moritz Huebner

Fixed a bug in create_time_series that produced incorrect time_arrays if a...

Fixed a bug in create_time_series that produced incorrect time_arrays if a starting time other than 0 is given
parent b76d5cde
Pipeline #23118 passed with stages
in 12 minutes and 15 seconds
......@@ -72,7 +72,7 @@ def create_time_series(sampling_frequency, duration, starting_time=0.):
float: An equidistant time series given the parameters
"""
return np.arange(starting_time, duration, 1./sampling_frequency)
return np.arange(starting_time, starting_time+duration, 1./sampling_frequency)
def ra_dec_to_theta_phi(ra, dec, gmst):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment