Ancillary response file example

The following Python example reads in three ARF files and writes out a type II ARF file containing.

# read the three type I ARF files
arf1 = arf(“first.arf”)
arf2 = arf(“second.arf”)
arf3 = arf(“third.arf”)

# load the the individual ARF objects into a type II ARF object
arfout = arfII()
arfout.push(arf1)
arfout.push(arf2)
arfout.push(arf3)

# and write it out
arfout.write(“output.arf”)




HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Wednesday, 23-Mar-2022 21:09:04 EDT