siml.services.inference.postprocessing package

Submodules

siml.services.inference.postprocessing.post_fem_data module

class siml.services.inference.postprocessing.post_fem_data.IFEMDataAdditionFunction

Bases: object

class siml.services.inference.postprocessing.post_fem_data.PostFEMDataConverter(inferer_setting: InfererSetting, conversion_setting: ConversionSetting, load_function: ILoadFunction | None = None, data_addition_function: IFEMDataAdditionFunction | None = None)

Bases: object

create(dict_data_x: dict[str, numpy.ndarray], dict_data_y: dict[str, numpy.ndarray], dict_data_answer: dict[str, numpy.ndarray] | None = None, write_simulation_case_dir: Path | None = None, base_fem_data: FEMData | None = None) FEMData | None

siml.services.inference.postprocessing.postprocessor module

class siml.services.inference.postprocessing.postprocessor.PostProcessor(inner_setting: InnerInfererSetting, *, scalers: ScalersComposition | None = None)

Bases: object

convert(record: RawPredictionRecord, start_datetime: str) PredictionRecord

siml.services.inference.postprocessing.save_processor module

class siml.services.inference.postprocessing.save_processor.FEMDataSaveFunction

Bases: IInfererSaveFunction

get_save_fem_extension(write_simulation_type: str) str
class siml.services.inference.postprocessing.save_processor.IInfererSaveFunction

Bases: object

class siml.services.inference.postprocessing.save_processor.SaveProcessor(inner_setting: InnerInfererSetting, user_save_function: IInfererSaveFunction | None = None)

Bases: object

run(records: list[siml.services.inference.record_object.PostPredictionRecord], *, save_summary: bool = True) None

Module contents