Skip to content
Snippets Groups Projects
Commit ae253791 authored by Colm Talbot's avatar Colm Talbot
Browse files

pep

parent 195aac95
No related branches found
No related tags found
1 merge request!228Update examples
Pipeline #33341 passed
......@@ -37,7 +37,7 @@ Aplus_psd = gwinc_noises['Total']
# The location of this detector is not defined in Bilby, so we need to add it
AusIFO = bilby.gw.detector.Interferometer(
power_spectral_density=bilby.gw.detector.PowerSpectralDensity(
frequency_array=frequencies, psd_array=Aplus_psd),
frequency_array=frequencies, psd_array=Aplus_psd),
name='AusIFO', length=4,
minimum_frequency=min(frequencies), maximum_frequency=max(frequencies),
latitude=-31.34, longitude=115.91,
......@@ -83,7 +83,7 @@ for interferometer in interferometers:
interferometer.inject_signal(
parameters=injection_parameters, waveform_generator=waveform_generator)
## plot the data for sanity
# plot the data for sanity
signal = interferometer.get_detector_response(
waveform_generator.frequency_domain_strain(), injection_parameters)
interferometer.plot_data(signal=signal, outdir=outdir, label=label)
......
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