NRO/SAM45 log data reader
pip install sam45The following functions will read a SAM45 log to extract each information as a NumPy structured array.
import sam45
data_ctl = sam45.read.ctl("/path/to/log")
data_obs = sam45.read.obs("/path/to/log")
data_dat = sam45.read.dat("/path/to/log")
data_end = sam45.read.end("/path/to/log")The data type of each information is defined as a NumPy structured data type. It complies with the definition as of December 5, 2025.
import sam45
dtype_ctl = sam45.dtypes.ctl
dtype_obs = sam45.dtypes.obs
dtype_dat = sam45.dtypes.dat
dtype_end = sam45.dtypes.end