From 3d067ee438e3febc864fee350673c9f9139fdcb8 Mon Sep 17 00:00:00 2001 From: Moritz Huebner <email@moritz-huebner.de> Date: Fri, 1 Jun 2018 15:18:32 +1000 Subject: [PATCH] Renamed utils function --- tupak/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tupak/utils.py b/tupak/utils.py index fbb4bfe48..6b6f575ae 100644 --- a/tupak/utils.py +++ b/tupak/utils.py @@ -65,7 +65,7 @@ def gps_time_to_gmst(gps_time): return gmst -def create_fequency_series(sampling_frequency, duration): +def create_frequency_series(sampling_frequency, duration): """ Create a frequency series with the correct length and spacing. @@ -105,7 +105,7 @@ def create_white_noise(sampling_frequency, duration): delta_freq = 1./duration - frequencies = create_fequency_series(sampling_frequency, duration) + frequencies = create_frequency_series(sampling_frequency, duration) norm1 = 0.5*(1./delta_freq)**0.5 re1 = np.random.normal(0, norm1, len(frequencies)) -- GitLab