Difference between revisions of "LST1Analysis MVA"
(→Analysis of LST1 data) |
(→Analysis of LST1 data) |
||
Line 24: | Line 24: | ||
* Low level DRS4 calibration <br/>calibration.hdf5 | * Low level DRS4 calibration <br/>calibration.hdf5 | ||
− | Convert example jupyter notebook to python | + | Convert example jupyter notebook to python and run |
<pre style="color: blue"> | <pre style="color: blue"> | ||
cd cta-lstchain/notebooks | cd cta-lstchain/notebooks | ||
jupyter nbconvert --to python Analyze_real_muon_data.ipynb | jupyter nbconvert --to python Analyze_real_muon_data.ipynb | ||
+ | </pre> | ||
+ | |||
+ | Fix path of location of data, pedestal and calibration: | ||
+ | <pre> | ||
+ | source = event_source(input_url="../data/LST-1.4.Run00442.0001.fits.fz",max_events=None) | ||
+ | pedestal_path="../pedestal/pedestal_file_run446_0000.fits", | ||
+ | with HDF5TableReader('../calibration/calibration.hdf5') as h5_table: | ||
</pre> | </pre> |
Revision as of 14:32, 13 November 2019
Contents
Location of LST1 data at PIC
- Directory: /pnfs/pic.es/data/cta/LST/Data/ZFITS/
- Web: LST1 ZFITS files on the web
Same user/password as in CTA portal
Location of LST1 at La Palma
- Directory: /fefs/onsite/data
Use cp01/cp02 to copy out data, never the login machine
Run summary info/data-check
- Run-summary web in GAE
LST1 account
Analysis of LST1 data
Donwload LST analysis software cta-lstchain (wrapper that uses centrally supported ctapipe routines)
git clone https://github.com/cta-observatory/cta-lstchain.git cd cta-lstchain conda env create -f environment.yml conda activate cta
Files needed to analyze golden Run 442 (20190527):
- Pedestal run
pedestal_file_run446_0000.fits - Low level DRS4 calibration
calibration.hdf5
Convert example jupyter notebook to python and run
cd cta-lstchain/notebooks jupyter nbconvert --to python Analyze_real_muon_data.ipynb
Fix path of location of data, pedestal and calibration:
source = event_source(input_url="../data/LST-1.4.Run00442.0001.fits.fz",max_events=None) pedestal_path="../pedestal/pedestal_file_run446_0000.fits", with HDF5TableReader('../calibration/calibration.hdf5') as h5_table: