Provides information on the spectra of incoming cosmic rays to be used by the Cherenkov Telescope Array Observatory (CTAO)
COPIED FROM https://github.com/cta-observatory/pyirf/blob/0059d3bceea126d014ba9efc953cb6470c37e7b0/pyirf/spectral.py and further developed from it.