Skip to content

Commit

Permalink
use dither flats (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein authored May 13, 2024
1 parent 9bea733 commit b640145
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions mirar/pipelines/winter/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,24 @@
]

flat_calibrate = [
ImageRebatcher(["BOARD_ID", "FILTER"]),
ImageSelector((OBSCLASS_KEY, ["science"])),
ImageRebatcher(
[
"BOARD_ID",
"FILTER",
"SUBCOORD",
"GAINCOLT",
"GAINCOLB",
"GAINROW",
TARGET_KEY,
]
),
FlatCalibrator(
cache_sub_dir="calibration_flats",
cache_sub_dir="sky_dither_flats",
select_flat_images=select_winter_sky_flat_images,
cache_image_name_header_keys=["FILTER", "BOARD_ID"],
),
ImageSaver(output_dir_name="skyflatcal"),
ImageRebatcher(["BOARD_ID", "UTCTIME", "SUBCOORD"]),
ImageRebatcher([BASE_NAME_KEY]),
Sextractor(
**sextractor_astrometry_config,
write_regions_bool=True,
Expand Down

0 comments on commit b640145

Please sign in to comment.