_read_arf#

sunkit_spex.fitting_legacy.io._read_arf(file)[source]#

Read a .arf file and extract useful information from it.

Parameters:

file (str, file-like or pathlib.Path) – A .arf file (see open for details ).

Returns:

The low and high boundary of energy bins, and the ancillary response [cm^2] (data[‘specresp’]).

Return type:

tuple