_read_pha#
- sunkit_spex.legacy.fitting.io._read_pha(file)[source]#
Read a .pha file and extract useful information from it.
- Parameters:
file (
str,file-likeorpathlib.Path) – A .pha file (seeopenfor details).- Returns:
The channel numbers, counts, and the livetime for the observation.
- Return type: