Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,181 changes: 497 additions & 684 deletions doc/nb/quickquasar_reproducibility.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions py/desisim/scripts/quickquasars.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def parse(options=None):

parser.add_argument('--dwave_desi', type=float, default=0.8, help="Output wavelength step for DESI mocks)")

parser.add_argument('--zbest', action = "store_true", help="add a zbest file per spectrum either with the truth\
parser.add_argument('--zbest',default=True, action=argparse.BooleanOptionalAction, help="add a zbest file per spectrum either with the truth\
redshift or adding some error (optionally use it with --sigma_kms_fog and/or --gamma_kms_zfit)")

parser.add_argument('--sigma_kms_fog',type=float,default=150, help="Adds a gaussian error to the quasar \
Expand All @@ -105,7 +105,7 @@ def parse(options=None):

parser.add_argument('--mags', action = "store_true", help="DEPRECATED; use --bbflux")

parser.add_argument('--bbflux', action = "store_true", help="compute and write the QSO broad-band fluxes in the fibermap")
parser.add_argument('--bbflux', default=True, action=argparse.BooleanOptionalAction, help="compute and write the QSO broad-band fluxes in the fibermap")

parser.add_argument('--add-LYB', action='store_true', help = "Add LYB absorption from transmision file")

Expand All @@ -129,7 +129,7 @@ def parse(options=None):

parser.add_argument('--save-continuum-dwave',type=float, default=2, help="Delta wavelength to save true continum")

parser.add_argument('--desi-footprint', action = "store_true" ,help="select QSOs in DESI footprint")
parser.add_argument('--desi-footprint', default=True, action=argparse.BooleanOptionalAction ,help="select QSOs in DESI footprint")

parser.add_argument('--eboss',action = 'store_true', help='Setup footprint, number density, redshift distribution,\
and exposure time to generate eBOSS-like mocks')
Expand Down