ogrppha

Group pha files using optimal binning based on instrument resolution

Functions

do_ogrppha(args)

core of ogrppha

main()

Group pha files using optimal binning based on the instrument resoluions.

Module Contents

do_ogrppha(args)[source]

core of ogrppha

Parameters:

args (return of argparse.ArgumentParser.parse_args)

main()[source]

Group pha files using optimal binning based on the instrument resoluions.

We use the formula in Kaastra+Bleeker 16, with the addition of a signal to noise constraint. The input spectrum is assumed to have the RESPFILE and BACKFILE keywords.