From 7f171445a573340531e77447d8d04e7d198530a1 Mon Sep 17 00:00:00 2001 From: Michael Walther Date: Thu, 4 Jan 2024 08:52:15 +0100 Subject: [PATCH] add doc --- bin/desi_compute_dark_nonlinear | 2 +- bin/desi_make_regular_darks | 2 +- py/desispec/ccdcalib.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/desi_compute_dark_nonlinear b/bin/desi_compute_dark_nonlinear index 6888bd0cd..6420cc481 100755 --- a/bin/desi_compute_dark_nonlinear +++ b/bin/desi_compute_dark_nonlinear @@ -48,7 +48,7 @@ parser.add_argument('--nskip-zeros', type=int, default=30, required=False, parser.add_argument('--mindarks', type=int, default=5, required=False, help='Minimum number of DARKs per EXPTIME to use that EXPTIME') parser.add_argument('--min-vccdsec', type=float, default=86400., required=False, - help='Minimum number of DARKs per EXPTIME to use that EXPTIME') + help='Minimum number of DARKs per EXPTIME to use that EXPTIME (default: 1d)') args = parser.parse_args() diff --git a/bin/desi_make_regular_darks b/bin/desi_make_regular_darks index 78b81c220..78e62d5b5 100755 --- a/bin/desi_make_regular_darks +++ b/bin/desi_make_regular_darks @@ -46,7 +46,7 @@ parser.add_argument('--system-name', type=str, default=None, required=False, parser.add_argument('--no-obslist', action='store_true', help='Do not use list of observations for the computation, instead parse from all frames observed in the timespan') parser.add_argument('--min-vccdsec', type=float, default=86400., required=False, - help='Minimum number of DARKs per EXPTIME to use that EXPTIME') + help='Minimum number of DARKs per EXPTIME to use that EXPTIME (default: 1d)') args = parser.parse_args() make_regular_darks(**vars(args)) \ No newline at end of file diff --git a/py/desispec/ccdcalib.py b/py/desispec/ccdcalib.py index baf715c79..65c8e5990 100755 --- a/py/desispec/ccdcalib.py +++ b/py/desispec/ccdcalib.py @@ -1216,7 +1216,7 @@ def make_regular_darks(outdir=None, lastnight=None, cameras=None, window=30, transmit_obslist(bool): if True will give use the obslist from here downstream system_name(str): allows to overwrite the system for which slurm scripts are created, will default to guessing the current system no_obslist(str): just use exactly the specified night-range, but assume we do not have exposure tables for this (useful when there is no exposure_table yet) - min_vccdsec(str): minimum time a ccd needs to be turned on to be allowed in the model + min_vccdsec(float): minimum time a ccd needs to be turned on to be allowed in the model (default: 1d) Args/Options are passed to the desi_compute_dark_nonlinear script """