vipr_reflectometry.flow_models.postprocess package

Subpackages

Submodules

vipr_reflectometry.flow_models.postprocess.basic_corner_plot module

Basic Corner Plot for Flow Network Posterior Distributions.

Creates clean corner plots WITHOUT clustering overlay. Runs before any filters/clustering to show baseline posterior distribution.

class vipr_reflectometry.flow_models.postprocess.basic_corner_plot.BasicCornerPlot(app: VIPR)

Bases: object

Basic corner plot visualization for flow network posteriors.

Registers hook on INFERENCE_POSTPROCESS_PRE_PRE_FILTER_HOOK to create clean corner plots showing all posterior samples without clustering.

vipr_reflectometry.flow_models.postprocess.marginal_distributions module

1D Marginal Posterior Distributions for Flow Network Predictions.

Creates histogram diagrams for each parameter’s posterior distribution using hook-based architecture for clean separation of concerns.

class vipr_reflectometry.flow_models.postprocess.marginal_distributions.MarginalDistributions(app: VIPR)

Bases: object

Flow Network postprocessing for 1D marginal posterior distributions.

Registers hook on INFERENCE_POSTPROCESS_PRE_PRE_FILTER_HOOK to create histogram diagrams for each parameter from posterior samples.

class vipr_reflectometry.flow_models.postprocess.marginal_distributions.MarginalDistributionsParams(*, min_bins: int = 100)

Bases: BaseModel

Configuration for marginal distribution creation.

min_bins: int
model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Module contents