acdc.subtract_dark_level
Perform a custom dark subtraction on COS corrtag files.
Functions
Perform the custom dark correction. |
- subtract_dark(corrtags, datadir, fact=1, outdir='.', overwrite=False)[source]
Perform the custom dark correction.
- Parameters:
corrtags (list or array-like) – Input, unmodified science corrtags.
datadir (str) – Directory that houses the modeled dark rates for each input corrtag.
fact (int) – Changes resolution, 1=highest resolution, 8=lowest resolution. To keep at same input resolution, use 1.
outdir (str) – Directory where custom corrtags will be written.