You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-12Lines changed: 6 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,25 @@
1
1
## *ctapipe* MAGIC event source
2
2
3
-
EventSource plugin for *ctapipe*, needed to read the calibrated data of the MAGIC telescope system. It requires the [*ctapipe*](https://github.com/cta-observatory/ctapipe) (v0.12.0) and [*uproot*](https://github.com/scikit-hep/uproot4) (>=4.1) packages to run.
3
+
EventSource plugin for *ctapipe*, needed to read the calibrated data of the MAGIC telescope system. It requires the [*ctapipe*](https://github.com/cta-observatory/ctapipe) (v0.17.0) and [*uproot*](https://github.com/scikit-hep/uproot4) (>=5) packages to run.
4
4
5
5
#### Installation
6
6
7
-
Provided that*ctapipe* is already installed, the installation can be done via *pip* (the module is available in PyPI):
7
+
If*ctapipe* is already installed, the installation can be done via *pip* (the module is available in PyPI):
8
8
9
9
```bash
10
10
pip install ctapipe_io_magic
11
11
```
12
12
13
13
Alternatively, you can always clone the repository and install like in the following:
This installation via *pip* (provided, *pip* is installed) has the advantage to be nicely controlled for belonging to a given conda environment (and to be uninstalled). Alternatively, do
In all cases, using *pip* will check if the version of *ctapipe* and *uproot* is compatible with the requested version of *ctapipe_io_magic*.
29
-
30
23
#### Usage
31
24
32
25
```python
@@ -118,3 +111,4 @@ Some general information about the simulated data, useful for IRF calculation, a
118
111
- v0.4.5: fixed automatic tests, add possibility to choose between effective and nominal focal length
119
112
- v0.4.6: add support to read in data taken in mono mode (full for real data, partial for MCs). Fixed bug in recognition of mono/stereo or standard trigger/SumT data (added also for MC)
120
113
- v0.4.7: add full support to read in real and MC data taken in mono mode, and with SumT. Added treatment of unsuitable pixels for MC data. Added readout of true XMax value from MC data (usually not available, filled with 0 otherwise)
114
+
- v0.5.0: release compatible with ctapipe 0.17. Also, the equivalent focal length is set to the correct value used in MAGIC simulations (i.e. 16.97 meters)
0 commit comments