boilercv_pipeline.equations#

Equation processing.

Submodules#

Package Contents#

Functions#

escape

Escape path for running subprocesses.

make_raw

Convert escaped strings to raw strings.

get_raw_equations_context

Get raw equations.

sanitize_forms

Sanitize forms.

Data#

API#

boilercv_pipeline.equations.SYMS#

‘tuple(…)’

boilercv_pipeline.equations.PIPX#

None

boilercv_pipeline.equations.PNGS: dict[boilercv.correlations.types.Corr, pathlib.Path]#

None

boilercv_pipeline.equations.EQUATIONS: dict[boilercv.correlations.types.Corr | boilercv.correlations.types.Range, pathlib.Path]#

None

boilercv_pipeline.equations.SOLUTIONS: dict[boilercv.correlations.types.Corr, pathlib.Path]#

None

boilercv_pipeline.equations.EXPECTATIONS: dict[boilercv.correlations.types.Corr, pathlib.Path]#

None

boilercv_pipeline.equations.SUBSTITUTIONS: dict[boilercv.correlations.types.Corr, tuple[tuple[str, float], ...]]#

None

boilercv_pipeline.equations.SOLVE_SYMS: dict[boilercv.correlations.types.Corr, tuple[str, ...]]#

None

boilercv_pipeline.equations.EQUATIONS_AND_SOLUTIONS: dict[boilercv.correlations.types.Corr, collections.abc.Callable[[], dict[boilercv.correlations.types.Equation, boilercv.correlations.models.SymbolicCorrelation]]]#

None

boilercv_pipeline.equations.CORRELATIONS: dict[boilercv.correlations.types.Corr, collections.abc.Callable[[], dict[boilercv.correlations.types.Equation, boilercv.correlations.models.Correlation]]]#

None

boilercv_pipeline.equations.escape(
path: pathlib.Path,
) str#

Escape path for running subprocesses.

boilercv_pipeline.equations.make_raw(
content: str,
)#

Convert escaped strings to raw strings.

boilercv_pipeline.equations.get_raw_equations_context(
symbols: collections.abc.Iterable[str],
) boilercv.pipelines.contexts.PipelineCtxDict#

Get raw equations.

boilercv_pipeline.equations.sanitize_forms(
forms,
symbols,
sanitizer: collections.abc.Callable[[dict[boilercv.correlations.types.Kind, str], tuple[str, ...]], boilercv.morphs.Morph[boilercv.correlations.types.Kind, str]],
) boilercv.correlations.models.EquationForms[str]#

Sanitize forms.