Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Waelthus committed Jan 4, 2024
1 parent f4bc026 commit 7f17144
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/desi_compute_dark_nonlinear
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion bin/desi_make_regular_darks
Original file line number Diff line number Diff line change
Expand Up @@ -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))
2 changes: 1 addition & 1 deletion py/desispec/ccdcalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit 7f17144

Please sign in to comment.