Skip to content
Snippets Groups Projects
Commit db3c2464 authored by Moritz Huebner's avatar Moritz Huebner
Browse files

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
No related branches found
No related tags found
1 merge request!92Create time series fix
Pipeline #
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment