Skip to content

Commit

Permalink
Add gain to header
Browse files Browse the repository at this point in the history
  • Loading branch information
aguinot committed Sep 14, 2024
1 parent 636614b commit f934f54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions euclidlike_imsim/ccd.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def buildImage(self, config, base, image_num, obj_num, logger):
full_image.header["MJD-OBS"] = self.mjd
full_image.header["DATE-OBS"] = str(Time(self.mjd, format="mjd").datetime)
full_image.header["FILTER"] = self.filter
full_image.header["GAIN"] = gain
full_image.header["ZPTMAG"] = 2.5 * np.log10(
self.exptime * euclidlike.collecting_area
)
Expand Down

0 comments on commit f934f54

Please sign in to comment.