Skip to content

Commit

Permalink
calc_tsnr2 needs cframe
Browse files Browse the repository at this point in the history
  • Loading branch information
julienguy committed Aug 23, 2024
1 parent 43d3021 commit 9bf0009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/scripts/procexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def main(args):

if not args.no_tsnr:
log.info("calculating tsnr")
results, alpha = calc_tsnr2(uncalibrated_frame, fiberflat=fiberflat, skymodel=skymodel, fluxcalib=fluxcalib, alpha_only=args.alpha_only)
results, alpha = calc_tsnr2(frame,uncalibrated_frame, fiberflat=fiberflat, skymodel=skymodel, fluxcalib=fluxcalib, alpha_only=args.alpha_only)

frame.meta['TSNRALPH'] = alpha

Expand Down

0 comments on commit 9bf0009

Please sign in to comment.