From b25aa90f09d6f455f5712dfda5d1d99ad04af457 Mon Sep 17 00:00:00 2001 From: Charles-Philippe Lajoie Date: Fri, 21 Jul 2023 15:12:57 -0400 Subject: [PATCH] Adding Cycle 2 PIDs in trending to resolve issue #683 --- webbpsf/trending.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webbpsf/trending.py b/webbpsf/trending.py index 129a010c..dda8c179 100644 --- a/webbpsf/trending.py +++ b/webbpsf/trending.py @@ -96,7 +96,8 @@ def wavefront_time_series_plot(opdtable, start_date=None, end_date=None, ymin=0, rms_nm = np.asarray(rmses) * 1000 - routine_pids = [1163, 2586, 2724, 2725, 2726, 4431] # commissioning OTE-26 and cycle 1 maintenance + routine_pids = [1163, 2586, 2724, 2725, 2726, 4431, # Commissioning OTE-26 and Cycle 1 maintenance + 4500, 4501, 4502, 4503, 4504, 4505, 4506, 4507, 4508, 4509, 4510] # Cycle 2 is_routine = np.asarray([int(v[1:6]) in routine_pids for v in opdtable[where_pre]['visitId']])