Name Last Update
..
Makefile.am Loading commit data...
README.md Loading commit data...
make_pointings.py Loading commit data...
show_butterfly.py Loading commit data...
show_irf.py Loading commit data...
show_lightcurve.py Loading commit data...
show_model.py Loading commit data...
show_obs.py Loading commit data...
show_pha.py Loading commit data...
show_phases.py Loading commit data...
show_pointings.py Loading commit data...
show_pull_evolution.py Loading commit data...
show_pull_histogram.py Loading commit data...
show_residuals.py Loading commit data...
show_response.py Loading commit data...
show_sensitivity.py Loading commit data...
show_spectrum.py Loading commit data...
show_ts_distribution.py Loading commit data...

README.md

ctools examples

This folder contains Python example scripts that illustrate the usage of the ctools.

make_pointings.py

Creates pointings for CTA surveys. For the moment the Galactic Plane Survey (gps), the Extragalactic Survey (extgal), the Galactic Centre Survey (gc) and the LMC survey (lmc) are implemented. The script outputs and ASCII file that can be used by csobsdef.

show_butterfly.py

Displays a butterfly generated using the ctbutterfly tool.

show_irf.py

Displays an Instrument Response Function.

show_lightcurve.py

Displays lightcurve generated by the cslightcrv script.

show_model.py

Displays a spectral model.

show_obs.py

Displays an observation definition XML file.

show_pha.py

Displays a spectrum in PHA format.

show_phases.py

Displays event phases in an event list of observation definition XML file.

show_pointings.py

Displays pointings in an observation definition XML file.

show_pull_evolution.py

Displays the evolution of the mean and rms pull as function of number of trials.

show_pull_histogram.py

Displays pull histograms generated by the cspull script.

show_response.py

Displays one or several CTA response functions.

show_sensitivity.py

Displays the sensitivity generated by the cssens script.

show_spectrum.py

Displays spectrum generated by the csspec script.

show_ts_distribution.py

Displays Test Statistic histograms generated using the cstsdist script.