plot
AfterOptions
Bases: HashableBaseModelIO
Options after loading the calibration file.
CLIOptions
Bases: HashableBaseModelIO
exclude_models
class-attribute
instance-attribute
Models to be excluded
include_models
class-attribute
instance-attribute
Models to be included
include_plots
class-attribute
instance-attribute
Plots to be included
overwrite
class-attribute
instance-attribute
overwrite: bool = False
Whether to overwrite the figures
CalibrationResult
Bases: HashableBaseModelIO
Calibration result.
after
class-attribute
instance-attribute
after: AfterOptions = AfterOptions()
Options after loading the calibration file
PlotCLI
Bases: _CLIBase
Micromechanical plot command line interface.
loadConfig
classmethod
loadConfig(
config: str | PathLike | None = None,
base_config: str | PathLike | None = None,
key: str = "",
) -> PlotConfig
run
run(
config: str | PathLike | None = None,
base_config: str | PathLike | None = None,
key: str = "",
*,
overwrite: bool | None = None,
include_plots: List[str] | str | None = None,
exclude_plots: List[str] | str | None = None,
include_models: List[str] | str | None = None,
exclude_models: List[str] | str | None = None
)
Plotting command line interface.
PARAMETER | DESCRIPTION |
---|---|
config
|
Configuration file, by default None. If None, search for the default configuration files. |
base_config
|
Base configuration file to merge with the main configuration file, by default None |
key
|
Key of the table in the configuration file, by default ""
TYPE:
|
overwrite
|
Overwrite existing figures, by default False
TYPE:
|
include_plots
|
Include plots, by default None (all). Can be glob patterns. |
exclude_plots
|
Exclude plots, by default None. Can be glob patterns. |
include_models
|
Include models, by default None (all). Can be glob patterns. |
exclude_models
|
Exclude models, by default None. Can be glob patterns. |
PlotConfig
Bases: HashableBaseModelIO
calculation
class-attribute
instance-attribute
Base calculation options
experiment
class-attribute
instance-attribute
Base experiment files and filters
figures
class-attribute
instance-attribute
Base figures
model_validator
classmethod
model_validator(data: dict)
Pre-process the configuration data to translate strings with patterns like <<en:Hello, zh:你好>>
to the given language.
PlotOptions
Bases: ExpandableBaseModelIO
Plot options.
calculation
class-attribute
instance-attribute
Calculation options
calibration
class-attribute
instance-attribute
calibration: CalibrationResult = CalibrationResult()
Calibration result
experiment
class-attribute
instance-attribute
Experiment files and filters
model_type
class-attribute
instance-attribute
model_type: AvailableModels | str = 'CH-OSIMSAND'
Type of the model
name
class-attribute
instance-attribute
name: str | None = None
Name of the plot, by default None which will be generated from the base name and matrix options