Bound Module

This module is used to calculate the error bound for the reduced order method.

Main Function

bound.GenBound(name1, value1, name2, value2...)
Description:

Function to generate the necessary data for the bound plot and save it in the ‘bound’ folder in each Result directory. This function takes the max and mean error bounds calculated during the ROM process and saves those in the BoundClass file along with the reduced basis solution of the forward problem for the same conductivity as the measurements in the same folder.

Parameters:
  • num_samples – number of conductivity samples to use

  • sample_num – array of sample numbers

  • max_snap – maximum number of snapshots in RBModel to use for calculations

  • complim – max number of processes to run in parallel on cluster

  • debug – (boolean) turn debug mode on

Classes

class bound.BoundClass

Bases: core.OrderedModelClass, inverse.InverseROMClass

Constructor Summary
BoundClass(varargin)

obj = obj.processArgs(varargin);

Method Summary
collectBound()

load bound class files

plotBound()

plot

processBound()

organise obj.error_bound_avg = mean(obj.error_bound,3,’omitnan’);