pleiades.sammy.parameters.last module
Parser for SAMMY’s Last Card parameters.
Format specification from Table VI B.2: There are three alternative Last Card formats:
Last A: COVAR matrix in binary form
Last B: EXPLI (explicit uncertainties and correlations)
Last C: RELAT (relative uncertainties)
Last D: PRIOR (prior uncertainties in key word format)
Multiple Last Card formats can be used together except for Last A.
- class pleiades.sammy.parameters.last.LastParameters[source]
Bases:
BaseModelPlaceholder for Last Card parameters.
This class needs to be implemented to handle the various Last Card formats: - Last A: Binary covariance matrix - Last B: Explicit uncertainties and correlations - Last C: Relative uncertainties - Last D: Prior uncertainties in keyword format
Note
Last A cannot be combined with other formats. Last B, C, and D can be used together.
- classmethod from_lines(lines: List[str]) LastParameters[source]
Parse Last Card parameters from input lines.
- Parameters:
lines – List of input lines
- Raises:
NotImplementedError – This feature needs to be implemented
- to_lines() List[str][source]
Convert parameters to fixed-width format lines.
- Raises:
NotImplementedError – This feature needs to be implemented
- model_config = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].