Skip to content
Snippets Groups Projects
Commit 5daed45a authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Add explicit note about use of aLIGO PSD and make it the default

Note - this is the default for get_interferometer_with_fake_noise.., not
the default in general.
parent 81e52d06
No related branches found
No related tags found
1 merge request!94Add functionality to strain data
......@@ -1609,6 +1609,9 @@ def get_interferometer_with_fake_noise_and_injection(
Helper function to obtain an Interferometer instance with appropriate
power spectral density and data, given an center_time.
Note: by default this generates an Interferometer with a power spectral
density based on advanced LIGO.
Parameters
----------
name: str
......@@ -1653,6 +1656,7 @@ def get_interferometer_with_fake_noise_and_injection(
start_time = injection_parameters['geocent_time'] + 2 - time_duration
interferometer = get_empty_interferometer(name)
interferometer.power_spectral_density.set_from_aLIGO()
if zero_noise:
interferometer.set_strain_data_from_zero_noise(
sampling_frequency=sampling_frequency, duration=time_duration,
......
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