From 394a2c21c42a9c5a5bb8270346b0f5a8739eac1f Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Tue, 5 Jun 2018 16:14:05 +1000
Subject: [PATCH] add PSD estimation from setting data

---
 tupak/detector.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tupak/detector.py b/tupak/detector.py
index e63c2553f..27e26e15b 100644
--- a/tupak/detector.py
+++ b/tupak/detector.py
@@ -368,6 +368,8 @@ class Interferometer(object):
                                                  resample=sampling_frequency)
             frequency_domain_strain = tupak.utils.process_strain_data(strain, **kwargs)
             frequencies = utils.create_frequency_series(sampling_frequency, duration)
+            self.power_spectral_density = PowerSpectralDensity(frame_file=frame_file, channel_name=channel_name,
+                                                               **kwargs)
         else:
             raise ValueError("No method to set data provided.")
 
-- 
GitLab