pleiades.sammy.io.card_formats.par06_normalization module
- class pleiades.sammy.io.card_formats.par06_normalization.Card06[source]
Bases:
BaseModelClass representing the Card 6 format for normalization parameters in the SAMMY parameter file. This class is used to extract normalization 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 = None) None[source]
Parse a complete isotope parameter card set from lines.
- Parameters:
lines – List of input lines including header and blank terminator
FitConfig – FitConfig object to read isotopes into.
- Raises:
ValueError – If no valid header found or invalid format
- model_config = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].