_read_arf#
- sunkit_spex.legacy.fitting.io._read_arf(file)[source]#
Read a .arf file and extract useful information from it.
- Parameters:
file (
str,file-likeorpathlib.Path) – A .arf file (seeopenfor details ).- Returns:
The low and high boundary of energy bins, and the ancillary response [cm^2] (data[‘specresp’]).
- Return type: