Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c0b0cea

Browse files
committedMar 18, 2025·
also scale ivar (this is a very minor correction because point_source_correction is normalized)
1 parent 0625133 commit c0b0cea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎py/desispec/fluxcalibration.py

+1
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ def add_margin_3d_dim2(iarray,margin) :
972972

973973
#- Apply point source flux correction
974974
tframe.flux *= point_source_correction[:,None]
975+
tframe.flux /= (point_source_correction[:,None])**2
975976

976977
#- Pull out just the standard stars for convenience, but keep the
977978
#- full frame of spectra around because we will later need to convolved

0 commit comments

Comments
 (0)
Please sign in to comment.