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”)