boilerdata.stages.pipeline#

Pipeline.

Module Contents#

Functions#

main

get_properties

Get properties.

fit

Fit the data to a model function.

fit_setup

Reshape vectors to be passed to the curve fit.

agg_over_runs

Aggregate properties over each run. Runs per trial because TCs can vary.

get_superheat

Calculate heat transfer and superheat based on one-dimensional approximation.

assign_metadata

Assign metadata columns to the dataframe.

API#

boilerdata.stages.pipeline.main()#
boilerdata.stages.pipeline.get_properties(
df: pandas.DataFrame,
params: boilerdata.models.params.Params,
) pandas.DataFrame#

Get properties.

boilerdata.stages.pipeline.fit(
grp: pandas.DataFrame,
params: boilerdata.models.params.Params,
model: Any,
confidence_interval_95: float,
) pandas.DataFrame#

Fit the data to a model function.

boilerdata.stages.pipeline.fit_setup(
grp: pandas.DataFrame,
params: boilerdata.models.params.Params,
trial: boilercore.models.trials.Trial,
)#

Reshape vectors to be passed to the curve fit.

boilerdata.stages.pipeline.agg_over_runs(
grp: pandas.DataFrame,
params: boilerdata.models.params.Params,
confidence_interval_95: float,
) pandas.DataFrame#

Aggregate properties over each run. Runs per trial because TCs can vary.

boilerdata.stages.pipeline.get_superheat(
df: pandas.DataFrame,
params: boilerdata.models.params.Params,
) pandas.DataFrame#

Calculate heat transfer and superheat based on one-dimensional approximation.

boilerdata.stages.pipeline.assign_metadata(
grp: pandas.DataFrame,
params: boilerdata.models.params.Params,
) pandas.DataFrame#

Assign metadata columns to the dataframe.