Skip to content

Commit

Permalink
get rid of old variable
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Sep 25, 2024
1 parent a3abe0c commit 491840a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion py/desispec/coaddition.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ def coadd(spectra, cosmics_nsig=None, onetile=False) :
ok=(tivar[i]>0)
if np.sum(ok)>0 :
tflux[i][ok] /= tivar[i][ok]
ok=(tivar_unmasked>0)
if spectra.mask is not None :
tmask[i] = np.bitwise_and.reduce(spectra.mask[b][jj],axis=0)
spectra.flux[b] = tflux
Expand Down

0 comments on commit 491840a

Please sign in to comment.