From b9942a3737ef33925b9d51d9c84a597f2435f3f9 Mon Sep 17 00:00:00 2001 From: gautam-404 Date: Tue, 31 Oct 2023 12:11:16 +1000 Subject: [PATCH] lc available when only name is passed --- PreWhitener/PreWhitener.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PreWhitener/PreWhitener.py b/PreWhitener/PreWhitener.py index 5a3a841..829b8ac 100644 --- a/PreWhitener/PreWhitener.py +++ b/PreWhitener/PreWhitener.py @@ -158,6 +158,7 @@ def get_lightcurve(self) -> bool: lc = lc.remove_nans().remove_outliers() # Extract time and flux from the light curve + self.lc = lc self.t, self.data = lc.time.value, lc.flux.value return True