Skip to content
Snippets Groups Projects
Commit 4e1291b8 authored by Sylvia Biscoveanu's avatar Sylvia Biscoveanu
Browse files

Fixing the total data loaded for the PSD calculation to be the

parent 08ae8cfa
No related branches found
No related tags found
1 merge request!75Set total data loaded for the PSD calculation from frame file to be `psd_duration`
Pipeline #
......@@ -652,7 +652,7 @@ class PowerSpectralDensity:
logging.warning("You may have intended to provide this as a power spectral density.")
elif frame_file is not None:
strain = tupak.gw.utils.read_frame_file(frame_file, t1=epoch - psd_duration - psd_offset,
t2=epoch - psd_duration, channel=channel_name)
t2=epoch - psd_offset, channel=channel_name)
sampling_frequency = int(strain.sample_rate.value)
# Low pass filter
......
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