Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alessio Berti
magic-cta-pipe
Commits
20e5734c
Commit
20e5734c
authored
Jan 29, 2020
by
Ievgen Vovk
Browse files
Updated the calibrator settings
parent
474ece65
Changes
1
Hide whitespace changes
Inline
Side-by-side
hillas_preprocessing.py
View file @
20e5734c
...
...
@@ -180,7 +180,7 @@ def process_dataset_mc(input_mask, output_name, image_cleaning_settings):
config
=
traitlets
.
config
.
Config
()
integrator_name
=
'LocalPeakWindowSum'
config
[
integrator_name
][
'window_width'
]
=
5
config
[
integrator_name
][
'window_shift'
]
=
1
config
[
integrator_name
][
'window_shift'
]
=
2
calibrator
=
CameraCalibrator
(
image_extractor
=
integrator_name
,
config
=
config
)
...
...
@@ -329,7 +329,7 @@ def process_dataset_data(input_mask, tel_id, output_name, image_cleaning_setting
config
=
traitlets
.
config
.
Config
()
integrator_name
=
'LocalPeakWindowSum'
config
[
integrator_name
][
'window_width'
]
=
5
config
[
integrator_name
][
'window_shift'
]
=
1
config
[
integrator_name
][
'window_shift'
]
=
2
calibrator
=
CameraCalibrator
(
image_extractor
=
integrator_name
,
config
=
config
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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