Skip to content

Commit

Permalink
Merge pull request #261 from spacetelescope/fix_typo_hamamatsu
Browse files Browse the repository at this point in the history
fix typo in id property access
  • Loading branch information
ivalaginja authored Oct 28, 2024
2 parents bc6c921 + cb91265 commit 3e304d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catkit2/services/hamamatsu_camera/hamamatsu_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def open(self):
hot_pixel_correction = 3.0
else:
raise ValueError(f'Invalid hot pixel correction: {self.hot_pixel_correction}, must be one of ["standard", "minimum", "aggressive"]')
self.cam.prop_setvalue(self.cam.DCAM_IDPROP.HOTPIXELCORRECT_LEVEL, hot_pixel_correction)
self.cam.prop_setvalue(dcam.DCAM_IDPROP.HOTPIXELCORRECT_LEVEL, hot_pixel_correction)

self.camera_mode = self.config.get('camera_mode', "standard")
if self.camera_mode == "ultraquiet":
Expand Down

0 comments on commit 3e304d6

Please sign in to comment.