analyze_pickle

pymor-demo analyze_pickle COMMAND

This demo loads a pickled reduced model, solves for random parameters, estimates the reduction errors and then visualizes these estimates. If the detailed model and the reductor are also provided, the estimated error is visualized in comparison to the real reduction error.

The needed data files are created by the thermal block demo, by setting the ‘–pickle’ option.

Commands:

convergence

Generate convergence plot.

histogram

Generate histogram.

histogram

pymor-demo analyze_pickle histogram [OPTIONS] REDUCED_DATA SAMPLES

Generate histogram.

Arguments:

REDUCED_DATA

File containing the pickled reduced model. [Required]

SAMPLES

Number of parameter samples to test with. [Required]

Parameters:

--detailed-data

File containing the high-dimensional model and the reductor.

--error-norm

Name of norm in which to compute the errors.

convergence

pymor-demo analyze_pickle convergence [OPTIONS] REDUCED-DATA DETAILED-DATA SAMPLES

Generate convergence plot.

Parameters:

REDUCED-DATA, --reduced-data

File containing the pickled reduced model. [Required]

DETAILED-DATA, --detailed-data

File containing the high-dimensional model and the reductor. [Required]

SAMPLES, --samples

Number of parameter samples to test with. [Required]

--error-norm

Name of norm in which to compute the errors.

--ndim

Number of reduced basis dimensions for which to estimate the error.