Skip to content

Commit

Permalink
use initial_flux_bandpass
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Feb 2, 2024
1 parent 779ca69 commit 94faa0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions imsim/stamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,7 @@ def draw(self, prof, image, method, offset, config, base, logger):
# print(f"{self.nominal_flux = }")
# print(f"{self.fft_flux = }")
if self.fft_flux != self.nominal_flux:
if self.do_reweight:
gal = gal.withFlux(self.fft_flux, self.fiducial_bandpass)
else:
gal = gal.withFlux(self.fft_flux, bandpass)
gal = gal.withFlux(self.fft_flux, initial_flux_bandpass)
# print(f"{gal.sed.calculateFlux(bandpass) = }")
# print(f"{gal.sed.calculateFlux(self.fiducial_bandpass) = }")

Expand Down

0 comments on commit 94faa0c

Please sign in to comment.