I/O Functions

nustar_gen.io.find_be_arf()

Find and return the ARF for the Be window (for straylight analysis only)

Parameters:

None

Returns:

be_arf_file – Full path to the Be window file in the CALDB

Return type:

str

Examples

>>> be_file = find_be_arf()
>>> print(os.path.isfile(be_file))
True
nustar_gen.io.find_arf_template()

Find and return the template ARF file.

Parameters:

None

Returns:

arf_file – Full path to the Be window file, which should be included when this repo is checked out

Return type:

str

Examples

>>> arf_file = find_arf_template()
>>> print(os.path.isfile(arf_file))
True