Skip to content

Commit

Permalink
switch to RMS noise calculation for header value
Browse files Browse the repository at this point in the history
  • Loading branch information
mileslucas committed May 30, 2024
1 parent 60f3c9a commit 3ecc02c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vampires_dpp/calib/calib_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ def make_flat_file(
normval,
f"[{header['BUNIT'].lower()}] Flat field normalization factor",
)
master_flat[master_flat < 0.2] = np.nan
flat_err[master_flat < 0.2] = np.nan
header["CALTYPE"] = "FLAT", "DPP calibration file type"
header["BUNIT"] = "", "Unit of original values"
# bpmask = adaptive_sigma_clip_mask(master_flat)
Expand Down

0 comments on commit 3ecc02c

Please sign in to comment.