Add GFA-like TSNR template for dark, bright and backup programs #1279
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add gfa-like templates to compute gfadark, gfabright and gfabackup tsnrs (same signal, differ by poisson term to IVAR, and soon fiberfrac).
desi_compute_tsnr_ensemble --tracer gfa --outdir .
Creates:
./tsnr-ensemble-gfadark.fits
cp and (SVN) symlink at desimodel/data/tsnr/ to
tsnr-ensemble-gfabright.fits
tsnr-ensemble-gfabackup.fits
Runs through afterburner:
export SPECPROD=daily
export DESI_SPECTRO_CALIB=/global/cfs/cdirs/desi/spectro/desi_spectro_calib/trunk/
export DESIMODEL=/global/cscratch1/sd/mjwilson/GFATEMPLATE/desimodel/
desi_tsnr_afterburner --outfile /global/cscratch1/sd/mjwilson/tsnr-ensemble-updates/tsnr-summary.fits --expids 88359,88360,89881 --recompute --nproc 12 --cameras b0
TSNR2_GFADARK_B = 64.087897
TSNR2_GFABRIGHT_B = 60.688630
TSNR2_GFABACKUP_B = 49.803252