Skip to content

Commit

Permalink
Removing CCD Gain Riight hardcode value to reference gney file correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
joyvelasquez committed Jan 27, 2025
1 parent f597095 commit ca9a95c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xrtpy/response/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ def ccd_gain_right(self) -> u.electron / u.DN:
"""Gain when reading the right port of the CCD."""
# NOTE: Value for the right gain in the instrument data files is incorrect.
# See https://github.com/HinodeXRT/xrtpy/pull/76
return u.Quantity(57.5, u.electron / u.DN)
#return u.Quantity(57.5, u.electron / u.DN)
return u.Quantity(self._ccd_data["GAIN_R"], u.electron / u.DN)

@property
def ccd_name(self) -> str:
Expand Down

0 comments on commit ca9a95c

Please sign in to comment.