Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ievgen Vovk
ctapipe_io_magic
Commits
02d6bca7
Commit
02d6bca7
authored
Dec 14, 2021
by
Alessio Berti
Browse files
Use correct CameraFrame (needed to transform to TelescopeFrame for Hillas parameters calculation).
parent
61db1a37
Pipeline
#117811
failed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ctapipe_io_magic/__init__.py
View file @
02d6bca7
...
...
@@ -46,6 +46,8 @@ from ctapipe.instrument import (
CameraReadout
,
)
from
ctapipe.coordinates
import
CameraFrame
__all__
=
[
'MAGICEventSource'
]
LOGGER
=
logging
.
getLogger
(
__name__
)
...
...
@@ -86,6 +88,7 @@ MAGICCAM.readout = CameraReadout(
reference_pulse_shape
=
pulse_shape
,
reference_pulse_sample_width
=
u
.
Quantity
(
0.5
,
u
.
ns
)
)
MAGICCAM
.
geometry
.
frame
=
CameraFrame
(
focal_length
=
OPTICS
.
equivalent_focal_length
)
GEOM
=
MAGICCAM
.
geometry
MAGIC_TEL_DESCRIPTION
=
TelescopeDescription
(
name
=
'MAGIC'
,
tel_type
=
'MAGIC'
,
optics
=
OPTICS
,
camera
=
MAGICCAM
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment