pleiades.sammy.io.card_formats.par04_broadening module
- class pleiades.sammy.io.card_formats.par04_broadening.Card04[source]
Bases:
BaseModelClass representing the Card 4 format for broadening parameters in the SAMMY parameter file. This class is used to extract broadening information based on a default format.
- classmethod is_header_line(line: str) bool[source]
Check if line is a valid header line.
- Parameters:
line – Input line to check
- Returns:
True if the first 5 characters of the line are ‘ISOTO’
- Return type:
- classmethod from_lines(lines: List[str], fit_config: FitConfig) bool[source]
Read lines of the SAMMY parameter file and update the FitConfig object. This method extracts the broadening parameters from the lines based on the defined formats.
- model_config = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].