-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from cta-observatory/update-notebooks-and-res…
…ults Update the entire benchmark suite
- Loading branch information
Showing
70 changed files
with
15,228 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. _benchmarks: | ||
|
||
Benchmarks (``protopipe.benchmarks``) | ||
===================================== | ||
|
||
The ``protopipe.benchmarks`` module is composed of 3 parts: | ||
|
||
- ``notebooks``, a folder containing benchmarking Jupyter notebooks divided by analysis stage, | ||
- ``operations``, a sub-module containing functions to perform many different operations on data related to benchmarking | ||
- ``plot``, a sub-module containing plotting functions | ||
- ``utils``, a sub-module containing utility functions for the notebooks | ||
- ``book_template``, a folder containing the Jupyter Book template for a CTA analysis | ||
|
||
.. note:: | ||
Much of what is contained in the sub-modules is the product of a long refactoring process | ||
of old material from the notebooks. | ||
Many things can be improved or imported by *ctaplot*/*cta-benchmarks* and *ctapipe* | ||
as the refactoring of the pipeline takes progress. | ||
Also, not all notebooks are exatcly the same in terms of global options, | ||
a notebook template will be added. | ||
|
||
.. note:: | ||
All benchmarks will be launched by means of a new ``protopipe-BENCHMARK`` script. | ||
This will become the recommended method, as it will integrates with the rest of the analysis interface. | ||
|
||
API reference | ||
------------- | ||
|
||
.. automodapi:: protopipe.benchmarks | ||
:skip: accuracy_score, auc, binned_statistic, curve_fit, roc_curve, Column, LogNorm, Table, Path, cone_solid_angle, RectBivariateSpline, read_table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
protopipe/aux/example_config_files/protopipe_CTAMARS_1stPass_DL1a.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"ProcessorTool": { | ||
"progress_bar": true, | ||
"log_level": 30 | ||
}, | ||
"DataWriter": { | ||
"Contact": { | ||
"name": "YOUR-NAME-HERE", | ||
"email": "[email protected]", | ||
"organization": "YOUR-ORGANIZATION" | ||
}, | ||
"output_path": "events_protopipe_CTAMARS_calibration_1stPass.dl1.h5", | ||
"overwrite": false, | ||
"write_images": true, | ||
"write_parameters": false, | ||
"write_stereo_shower": false, | ||
"write_mono_shower": false, | ||
"transform_image": true, | ||
"transform_peak_time": true | ||
}, | ||
"SimTelEventSource": { | ||
"calib_scale": 0.897 | ||
}, | ||
"CameraCalibrator": { | ||
"apply_peak_time_shift": false, | ||
"apply_waveform_time_shift": false, | ||
"image_extractor_type": "TwoPassWindowSum" | ||
}, | ||
"TwoPassWindowSum": { | ||
"apply_integration_correction": false, | ||
"core_threshold" : [ | ||
["type", "LST_LST_LSTCam", 6.0], | ||
["type", "MST_MST_NectarCam", 8.0] | ||
], | ||
"disable_second_pass": true | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
protopipe/aux/example_config_files/protopipe_CTAMARS_2ndPass_Dl1a.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"ProcessorTool": { | ||
"progress_bar": true, | ||
"log_level": 30 | ||
}, | ||
"DataWriter": { | ||
"Contact": { | ||
"name": "YOUR-NAME-HERE", | ||
"email": "[email protected]", | ||
"organization": "YOUR-ORGANIZATION" | ||
}, | ||
"output_path": "events_protopipe_CTAMARS_calibration_2ndPass.dl1.h5", | ||
"overwrite": false, | ||
"write_images": true, | ||
"write_parameters": false, | ||
"write_stereo_shower": false, | ||
"write_mono_shower": false, | ||
"transform_image": true, | ||
"transform_peak_time": true | ||
}, | ||
"SimTelEventSource": { | ||
"calib_scale": 0.897 | ||
}, | ||
"CameraCalibrator": { | ||
"apply_peak_time_shift": false, | ||
"apply_waveform_time_shift": false, | ||
"image_extractor_type": "TwoPassWindowSum" | ||
}, | ||
"TwoPassWindowSum": { | ||
"apply_integration_correction": false, | ||
"core_threshold" : [ | ||
["type", "LST_LST_LSTCam", 6.0], | ||
["type", "MST_MST_NectarCam", 8.0] | ||
], | ||
"disable_second_pass": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .operations import * | ||
from .plot import * | ||
from .utils import * |
Oops, something went wrong.