pleiades.sammy.io.lst_manager module
- class pleiades.sammy.io.lst_manager.LstManager(lst_file_path: Path = None, run_results: RunResults = None)[source]
Bases:
objectLstManager is a class designed to manage and extract results from SAMMY LST files. This class provides methods to parse LST files, extract relevant data, and organize it into structured objects for further analysis. When initialized, it is passed a RunResults object to store the results.
- lst_file_path
Path to the SAMMY LST file.
- Type:
Path
- __init__(lst_file_path
Path, run_results: RunResults = None): Initializes the LstManager with the path to a SAMMY LST file.
- process_lst_file()[source]
Parses the SAMMY LST file and extracts relevant data in a SammyData object
- __init__(lst_file_path: Path = None, run_results: RunResults = None)[source]
Initialize the LstManager with the path to a SAMMY LST file.
- Parameters:
lst_file_path (Path) – Path to the SAMMY LST file.
run_results (RunResults, optional) – A container for multiple fit results. If not provided, a new RunResults object will be created.
- process_lst_file(lst_file_path: Path, run_results: RunResults)[source]
Parse the SAMMY LST file and extract relevant data in a SammyData object. The SammyData object is stored in self.run_results.data.