Skip to content

Commit

Permalink
Use more generic parameter for CameraGeometry, to avoid hardcoding th…
Browse files Browse the repository at this point in the history
…e geometry version.
  • Loading branch information
jlenain committed Jul 24, 2023
1 parent a7521df commit c8d09f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nectarchain/dqm/bokeh_app/app_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'Results_MeanWaveForms_LowGain',
'Results_CameraMonitoring']

geom = CameraGeometry.from_name("NectarCam-003")
geom = CameraGeometry.from_name("NectarCam")
geom = geom.transform_to(EngineeringCameraFrame())


Expand Down
2 changes: 1 addition & 1 deletion src/nectarchain/dqm/bokeh_app/tests/test_app_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ctapipe.instrument import CameraGeometry
from ctapipe.coordinates import EngineeringCameraFrame

geom = CameraGeometry.from_name("NectarCam-003")
geom = CameraGeometry.from_name("NectarCam")
geom = geom.transform_to(EngineeringCameraFrame())

test_dict = {'run1': {'mykey1': {'mysubkey1': np.random.normal(size=geom.n_pixels),
Expand Down

0 comments on commit c8d09f7

Please sign in to comment.