From ffd42b273f1143434795fb721be723339bb995b8 Mon Sep 17 00:00:00 2001 From: viraj21197 Date: Fri, 10 Nov 2023 15:14:59 -0800 Subject: [PATCH] some updates for flat-fielding --- mirar/pipelines/winter/blocks.py | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/mirar/pipelines/winter/blocks.py b/mirar/pipelines/winter/blocks.py index 2b7d44250..702929d26 100644 --- a/mirar/pipelines/winter/blocks.py +++ b/mirar/pipelines/winter/blocks.py @@ -306,7 +306,20 @@ ] ), ImageSelector( - (TARGET_KEY, ["timed_requests_11_09_2023_19_1699588705.db_0", "dark"]), + ( + TARGET_KEY, + [ + "timed_requests_11_09_2023_18_1699582760.db_0", + "timed_requests_11_09_2023_19_1699585528.db_0", + "timed_requests_11_09_2023_19_1699588705.db_0", + "timed_requests_11_09_2023_19_1699588705.db_0", + "timed_requests_11_09_2023_22_1699596785.db_0", + "timed_requests_11_09_2023_21_1699595765.db_0", + "timed_requests_11_09_2023_23_1699600374.db_0", + "timed_requests_11_09_2023_23_1699600102.db_0", + "timed_requests_11_04_2023_18_1699147583.db_16" "dark", + ], + ), ), ] @@ -328,7 +341,17 @@ flat_calibrate = [ ImageDebatcher(), - ImageBatcher(["BOARD_ID", "FILTER", "SUBCOORD", "GAINCOLT", "GAINCOLB", "GAINROW"]), + ImageBatcher( + [ + "BOARD_ID", + "FILTER", + "SUBCOORD", + "GAINCOLT", + "GAINCOLB", + "GAINROW", + TARGET_KEY, + ] + ), # SkyFlatCalibrator(cache_sub_dir="skycals"), FlatCalibrator( cache_sub_dir="calibration_flats", select_flat_images=select_winter_flat_images