Skip to content

Commit

Permalink
batch by gain
Browse files Browse the repository at this point in the history
  • Loading branch information
virajkaram committed Nov 10, 2023
1 parent 0d3c46e commit 1957854
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mirar/pipelines/winter/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,9 @@

dark_calibrate = [
ImageDebatcher(),
ImageBatcher(["BOARD_ID", EXPTIME_KEY, "SUBCOORD"]),
ImageBatcher(
["BOARD_ID", EXPTIME_KEY, "SUBCOORD", "GAINCOLT", "GAINCOLB", "GAINROW"]
),
DarkCalibrator(cache_sub_dir="calibration_darks"),
ImageSelector((OBSCLASS_KEY, ["science", "flat"])),
ImageDebatcher(),
Expand All @@ -326,7 +328,7 @@

flat_calibrate = [
ImageDebatcher(),
ImageBatcher(["BOARD_ID", "FILTER", "SUBCOORD"]),
ImageBatcher(["BOARD_ID", "FILTER", "SUBCOORD", "GAINCOLT", "GAINCOLB", "GAINROW"]),
# SkyFlatCalibrator(cache_sub_dir="skycals"),
FlatCalibrator(
cache_sub_dir="calibration_flats", select_flat_images=select_winter_flat_images
Expand Down

0 comments on commit 1957854

Please sign in to comment.