ResourceMap

class ResourceMap(*args, **kwargs)

The ResourceMap allows one to manage constants that are associated to key strings.

Find below the ResourceMap’s content:

Key

Value

Type

ARMA-MeanEpsilon

1e-14

float

ARMALikelihoodFactory-DefaultMaximumCallsNumber

10000

int

ARMALikelihoodFactory-DefaultRhoBeg

0.01

float

ARMALikelihoodFactory-DefaultRhoEnd

1e-10

float

ARMALikelihoodFactory-RootEpsilon

1e-06

float

AbdoRackwitz-DefaultOmega

0.0001

float

AbdoRackwitz-DefaultSmooth

1.2

float

AbdoRackwitz-DefaultTau

0.5

float

AbsoluteExponential-DefaultTheta

1

float

AdaptiveDirectionalStratification-DefaultGamma

0.5

float

AdaptiveDirectionalStratification-DefaultMaximumStratificationDimension

3

int

AdaptiveDirectionalStratification-DefaultNumberOfSteps

2

int

AdaptiveStieltjesAlgorithm-MaximumError

1e-12

float

AdaptiveStieltjesAlgorithm-MaximumSubIntervalsBetweenRoots

64

int

AliMikhailHaqCopulaFactory-ThetaEpsilon

1e-14

float

AnalyticalResult-DefaultWidth

1

float

AnalyticalResult-MeanPointIntegrationNodesNumber

255

int

BernsteinCopulaFactory-BinNumberSelectionMethod

LogLikelihood

str

BernsteinCopulaFactory-MaxM

1

int

BernsteinCopulaFactory-MinM

2

int

BernsteinCopulaFactory-SamplingSize

10000

int

BernsteinCopulaFactory-alpha

1

float

BernsteinCopulaFactory-kFraction

2

int

BlendedStep-DefaultEta

1

float

BoundingVolumeHierarchy-BinNumber

50

int

BoundingVolumeHierarchy-Strategy

Mean

str

BoxCoxFactory-DefaultMaximumCallsNumber

2000

int

BoxCoxFactory-DefaultPointNumber

201

int

BoxCoxFactory-DefaultRhoBeg

0.1

float

BoxCoxFactory-DefaultRhoEnd

1e-10

float

BurrFactory-AbsolutePrecision

1e-12

float

BurrFactory-MaximumIteration

10

int

BurrFactory-RelativePrecision

1e-12

float

BurrFactory-ResidualPrecision

1e-12

float

Cache-MaxSize

65536

int

CalibrationResult-ObservationLineStyle

solid

str

CalibrationResult-ObservationPointStyle

fsquare

str

CalibrationResult-PosteriorLineStyle

dotdash

str

CalibrationResult-PosteriorPointStyle

diamond

str

CalibrationResult-PriorLineStyle

dashed

str

CalibrationResult-PriorPointStyle

circle

str

CalibrationResult-xRangeMarginFactor

0.2

float

CenteredFiniteDifferenceGradient-DefaultEpsilon

1e-05

float

CenteredFiniteDifferenceHessian-DefaultEpsilon

0.0001

float

CholeskyMethod-LargeCase

128

int

Classifier-Parallel

true

bool

CleaningStrategy-DefaultMaximumSize

20

int

CleaningStrategy-DefaultSignificanceFactor

0.0001

float

Cobyla-DefaultRhoBeg

0.1

float

Collection-size-visible-in-str-from

10

int

Compact-DefaultHalfMaximumSize

1024

int

ComplexTensor-size-visible-in-str-from

6

int

CompositeDistribution-SolverEpsilon

1e-14

float

CompositeDistribution-StepNumber

256

int

Contour-DefaultAlpha

1

float

Contour-DefaultColorBarPosition

right

str

Contour-DefaultColorMap

viridis

str

Contour-DefaultColorMapNorm

linear

str

Contour-DefaultDrawLabels

true

bool

Contour-DefaultExtend

both

str

Contour-DefaultIsFilled

false

bool

Contour-DefaultLevelsNumber

10

int

CovarianceModel-DefaultNuggetFactor

1e-12

float

CovarianceModel-DefaultPointNumber

129

int

CovarianceModel-DefaultTMax

5

float

CovarianceModel-DefaultTMin

-5

float

CrossCuts-DefaultWithMonoDimensionalCuts

true

bool

CrossEntropyImportanceSampling-DefaultQuantileLevel

0.25

float

CubaIntegration-DefaultMaximumAbsoluteError

0.0001

float

CubaIntegration-DefaultMaximumCallsNumber

1000000

int

CubaIntegration-DefaultMaximumRelativeError

0.0001

float

CubaIntegration-cuhre-key

0

int

CubaIntegration-divonne-border

0

float

CubaIntegration-divonne-key1

47

int

CubaIntegration-divonne-key2

1

int

CubaIntegration-divonne-key3

1

int

CubaIntegration-divonne-maxchisq

10

float

CubaIntegration-divonne-maxpass

5

int

CubaIntegration-divonne-mindeviation

0.25

float

CubaIntegration-divonne-nextra

0

int

CubaIntegration-divonne-ngiven

0

int

CubaIntegration-flags

0

int

CubaIntegration-mineval

0

int

CubaIntegration-seed

0

int

CubaIntegration-suave-flatness

25

float

CubaIntegration-suave-nmin

2

int

CubaIntegration-suave-nnew

1000

int

CubaIntegration-vegas-gridno

0

int

CubaIntegration-vegas-nbatch

1000

int

CubaIntegration-vegas-nincrease

500

int

CubaIntegration-vegas-nstart

1000

int

DeconditionedDistribution-ContinuousDiscretizationMethod

GaussProduct

str

DeconditionedDistribution-MarginalIntegrationNodesNumber

256

int

DeconditionedDistribution-MaximumIntegrationNodesNumber

100000

int

DesignProxy-DefaultCacheSize

16777216

int

DiracCovarianceModel-CheckUnique

true

bool

DirectionalSampling-MeanContributionIntegrationNodesNumber

255

int

Dirichlet-DefaultIntegrationSize

50

int

Dirichlet-DefaultSamplingSize

500000

int

DirichletFactory-MaximumIteration

10

int

DirichletFactory-ParametersEpsilon

1e-12

float

DiscreteCompoundDistribution-DefaultEpsilon

1e-12

float

DiscreteMarkovChain-DOTArcColor

black

str

DiscreteMarkovChain-DOTLayout

dot

str

DiscreteMarkovChain-DOTNodeColor

black

str

DiscreteMarkovChain-DOTNodeShape

oval

str

DiscreteMarkovChain-ProbabilitySumPrecision

1e-06

float

DistFunc-MaximumIteration

5000

int

DistFunc-Precision

1e-14

float

Distribution-CharacteristicFunctionBlockMax

20

int

Distribution-CharacteristicFunctionNMax

1000000

int

Distribution-DefaultCDFEpsilon

1e-14

float

Distribution-DefaultIntegrationNodesNumber

255

int

Distribution-DefaultLevelNumber

10

int

Distribution-DefaultPDFEpsilon

1e-14

float

Distribution-DefaultPointNumber

129

int

Distribution-DefaultQuantileCacheSize

128

int

Distribution-DefaultQuantileEpsilon

1e-12

float

Distribution-DefaultQuantileIteration

100

int

Distribution-DependenceEpsilon

1e-12

float

Distribution-DiscreteDrawPDFScaling

0.25

float

Distribution-EntropySamplingMethod

MonteCarlo

str

Distribution-EntropySamplingSize

524288

int

Distribution-MinimumVolumeLevelSetBySampling

false

bool

Distribution-MinimumVolumeLevelSetSamplingSize

16384

int

Distribution-Parallel

true

bool

Distribution-QMax

0.85

float

Distribution-QMin

0.15

float

Distribution-RoughnessSamplingMethod

MonteCarlo

str

Distribution-RoughnessSamplingSize

524288

int

Distribution-ScaleColorsDiscretePDF

true

bool

Distribution-ShowSupportDiscretePDF

true

bool

Distribution-SmallDimensionEntropy

3

int

Distribution-SmallDimensionRoughness

3

int

Distribution-SupportEpsilon

1e-14

float

Distribution-SupportPointStyleDiscretePDF

dot

str

Distribution-UseCovarianceAdaptiveAlgorithm

true

bool

DistributionFactory-BootstrapErrorTolerance

0.1

float

DistributionFactory-DefaultBootstrapSize

100

int

Dlib-DefaultInitialTrustRegionRadius

1

float

Dlib-DefaultMaxLineSearchIterations

100

int

Dlib-DefaultMaxSize

10

int

Dlib-DefaultWolfeRho

0.01

float

Dlib-DefaultWolfeSigma

0.9

float

Domain-DefaultInColor

prettyOrange

str

Domain-DefaultOutColor

prettyBlue

str

Domain-SmallVolume

1e-12

float

Drawable-AlternativePattern

S

str

Drawable-DataThreshold

2000

int

Drawable-DefaultFillStyle

solid

str

Drawable-DefaultLineStyle

solid

str

Drawable-DefaultLineWidth

1

float

Drawable-DefaultPaletteName

Tableau

str

Drawable-DefaultPalettePhase

12

int

Drawable-DefaultPattern

s

str

Drawable-DefaultPointStyle

plus

str

Drawable-DefaultSurfaceColor

white

str

DualLinearCombinationEvaluation-SmallCoefficient

0

float

EfficientGlobalOptimization-DefaultAEITradeoff

1

float

EfficientGlobalOptimization-DefaultCorrelationLengthFactor

1

float

EfficientGlobalOptimization-DefaultMultiStartExperimentSize

100

int

EfficientGlobalOptimization-DefaultMultiStartNumber

20

int

EfficientGlobalOptimization-DefaultOptimizationAlgorithm

Cobyla

str

EfficientGlobalOptimization-DefaultParameterEstimationPeriod

1

int

EnclosingSimplexAlgorithm-BarycentricCoordinatesEpsilon

1e-12

float

EnclosingSimplexAlgorithm-LargeDimension

5

int

Evaluation-DefaultPointNumber

129

int

Evaluation-ParameterEpsilon

1e-07

float

ExpectationSimulationAlgorithm-DefaultCoefficientOfVariationCriterionType

MAX

str

ExpectationSimulationAlgorithm-DefaultStandardDeviationCriterionType

NONE

str

ExtremeValueCopula-CheckGridSize

11

int

ExtremeValueCopula-CheckPickandFunction

true

bool

FAST-DefaultInterferenceFactor

4

int

FAST-DefaultResamplingSize

1

int

FaureSequence-InitialSeed

1

int

Fehlberg-DefaultOrder

4

int

Fehlberg-InitialStep

1e-07

float

Fehlberg-LocalPrecision

1e-10

float

Fehlberg-MinimalStep

1e-07

float

FejerAlgorithm-DefaultMarginalIntegrationPointsNumber

64

int

Field-ArrowRatio

0.01

float

Field-ArrowScaling

1

float

Field-AutomaticScaling

true

bool

Field-LevelNumber

30

int

FieldToPointConnection-BlockSize

256

int

FieldToPointFunctionalChaosAlgorithm-CopulaType

Normal

str

FieldToPointFunctionalChaosAlgorithm-DefaultRecompress

false

bool

FisherSnedecorFactory-D1LowerBound

0.01

float

FisherSnedecorFactory-D2LowerBound

0.01

float

FittingTest-ChiSquaredCheckSample

true

bool

FittingTest-ChiSquaredMinimumBinCount

5

int

FittingTest-LillieforsMaximumSamplingSize

100000

int

FittingTest-LillieforsMinimumSamplingSize

10

int

FittingTest-LillieforsPrecision

0.01

float

FrankCopulaFactory-AbsolutePrecision

1e-14

float

FrankCopulaFactory-MaximumIteration

100

int

FrankCopulaFactory-RelativePrecision

1e-14

float

FrankCopulaFactory-ResidualPrecision

1e-14

float

FrechetFactory-BoundMargin

10

float

FunctionalChaosAlgorithm-BasisSize

0

int

FunctionalChaosAlgorithm-DefaultMaximumResidual

1e-06

float

FunctionalChaosAlgorithm-FittingAlgorithm

CorrectedLeaveOneOut

str

FunctionalChaosAlgorithm-MaximumTotalDegree

10

int

FunctionalChaosAlgorithm-QNorm

0.5

float

FunctionalChaosAlgorithm-Sparse

false

bool

FunctionalChaosResult-PrintColumnWidth

15

int

FunctionalChaosResult-PrintEllipsisSize

3

int

FunctionalChaosResult-PrintEllipsisThreshold

1000

int

FunctionalChaosResult-PrintFormat

{:.7g}

str

FunctionalChaosSobolIndices-MaximumNumberOfOutput

1000

int

FunctionalChaosSobolIndices-PrintColumnWidth

15

int

FunctionalChaosSobolIndices-PrintFormat

{:.6f}

str

FunctionalChaosSobolIndices-VariancePartThreshold

0.01

float

FunctionalChaosValidation-ModelSelection

false

bool

GaussKronrod-MaximumError

1e-12

float

GaussKronrod-MaximumSubIntervals

100

int

GaussLegendre-DefaultMarginalIntegrationPointsNumber

64

int

GaussProductExperiment-DefaultMarginalSize

5

int

GaussianLinearCalibration-Method

QR

str

GaussianNonLinearCalibration-BootstrapSize

100

int

GaussianProcess-GibbsMaximumIteration

100

int

GaussianProcessFitter-DefaultOptimizationAlgorithm

Cobyla

str

GaussianProcessFitter-DefaultOptimizationLowerBound

0.01

float

GaussianProcessFitter-DefaultOptimizationScaleFactor

2

float

GaussianProcessFitter-DefaultOptimizationUpperBound

100

float

GaussianProcessFitter-KeepCovariance

true

bool

GaussianProcessFitter-LinearAlgebra

LAPACK

str

GaussianProcessFitter-MeanEpsilon

1e-12

float

GaussianProcessFitter-OptimizeParameters

true

bool

GaussianProcessFitter-UnbiasedVariance

true

bool

GaussianProcessFitter-UseAnalyticalAmplitudeEstimate

true

bool

GeneralLinearModelAlgorithm-DefaultOptimizationAlgorithm

TNC

str

GeneralLinearModelAlgorithm-DefaultOptimizationLowerBound

0.01

float

GeneralLinearModelAlgorithm-DefaultOptimizationScaleFactor

2

float

GeneralLinearModelAlgorithm-DefaultOptimizationUpperBound

100

float

GeneralLinearModelAlgorithm-KeepCovariance

true

bool

GeneralLinearModelAlgorithm-LinearAlgebra

LAPACK

str

GeneralLinearModelAlgorithm-MeanEpsilon

1e-12

float

GeneralLinearModelAlgorithm-OptimizeParameters

true

bool

GeneralLinearModelAlgorithm-UnbiasedVariance

true

bool

GeneralLinearModelAlgorithm-UseAnalyticalAmplitudeEstimate

true

bool

GeneralizedExponential-DefaultTheta

1

float

GeneralizedExtremeValue-MMax

1000

float

GeneralizedExtremeValue-MMin

1.05

float

GeneralizedExtremeValue-XiThreshold

1e-06

float

GeneralizedExtremeValueFactory-DefaultOptimizationAlgorithm

Cobyla

str

GeneralizedExtremeValueFactory-InitializationMethod

Gumbel

str

GeneralizedExtremeValueFactory-MaximumAbsoluteError

1e-05

float

GeneralizedExtremeValueFactory-MaximumCallsNumber

10000

int

GeneralizedExtremeValueFactory-MaximumConstraintError

1e-05

float

GeneralizedExtremeValueFactory-MaximumObjectiveError

1e-05

float

GeneralizedExtremeValueFactory-MaximumRelativeError

1e-05

float

GeneralizedExtremeValueFactory-NormalizationMethod

MinMax

str

GeneralizedPareto-MMax

1000

float

GeneralizedPareto-MMin

1.05

float

GeneralizedParetoFactory-DefaultOptimizationAlgorithm

Cobyla

str

GeneralizedParetoFactory-InitializationMethod

Generic

str

GeneralizedParetoFactory-MaximumAbsoluteError

1e-10

float

GeneralizedParetoFactory-MaximumCallsNumber

1000

int

GeneralizedParetoFactory-MaximumConstraintError

1e-10

float

GeneralizedParetoFactory-MaximumObjectiveError

1e-10

float

GeneralizedParetoFactory-MaximumRelativeError

1e-10

float

GeneralizedParetoFactory-MeanResidualLifeConfidenceLevel

0.95

float

GeneralizedParetoFactory-MeanResidualLifePointNumber

100

int

GeneralizedParetoFactory-NormalizationMethod

MinMax

str

GeneralizedParetoFactory-SmallSize

20

int

GeneralizedParetoFactory-ThresholdStabilityConfidenceLevel

0.95

float

GeneralizedParetoFactory-ThresholdStabilityPointNumber

100

int

Gibbs-DefaultUpdatingMethod

0

int

Graph-DefaultHeight

480

int

Graph-DefaultHorizontalMargin

0.05

float

Graph-DefaultLegendFontSize

10

float

Graph-DefaultVerticalMargin

0.05

float

Graph-DefaultWidth

640

int

HMatrix-AdmissibilityFactor

100

float

HMatrix-AssemblyEpsilon

0.0001

float

HMatrix-ClusteringAlgorithm

median

str

HMatrix-CompressionMethod

AcaRandom

str

HMatrix-FactorizationIterations

10

int

HMatrix-FactorizationMethod

LLt

str

HMatrix-ForceSequential

false

bool

HMatrix-LargestEigenValueIterations

10

int

HMatrix-LargestEigenValueRelativeError

0.1

float

HMatrix-MaxLeafSize

250

int

HMatrix-RecompressionEpsilon

0.0001

float

HMatrix-RegularizationEpsilon

0.0001

float

HMatrix-ValidationDump

0

int

HMatrix-ValidationError

0

float

HMatrix-ValidationRerun

0

int

HSICEstimator-InputCovarianceMatrixCacheSizeMb

1000

int

HSICEstimator-ParallelPValues

true

bool

HSICEstimator-PermutationSize

100

int

HaltonSequence-InitialSeed

1

int

HaltonSequence-Scrambling

NONE

str

HaselgroveSequence-InitialSeed

1

int

HistogramFactory-MaximumBinNumber

1024

int

HyperbolicAnisotropicEnumerateFunction-DefaultQ

0.4

float

IntervalMesher-UseDiamond

false

bool

InverseNormalFactory-Method

MLE

str

IteratedQuadrature-MaximumError

1e-07

float

IteratedQuadrature-MaximumSubIntervals

32

int

IteratedQuadrature-Rule

G3K7

str

JointDistribution-UseGenericCovarianceAlgorithm

false

bool

KDTree-leaf_max_size

10

int

KDTree-n_thread_build

1

int

KFactor-DefaultIntegrationNodesNumber

256

int

KFactor-MaximumIteration

32

int

KFactor-Precision

1e-08

float

KFold-DefaultK

10

int

KFoldSplitter-Randomize

false

bool

KarhunenLoeveP1Algorithm-CovarianceMatrixStorage

DENSE

str

KarhunenLoeveP1Algorithm-EigenvaluesSolver

LAPACK

str

KarhunenLoeveP1Algorithm-RegularizationFactor

0

float

KarhunenLoeveQuadratureAlgorithm-RegularizationFactor

0

float

KarhunenLoeveSVDAlgorithm-Halko2011Iterations

2

int

KarhunenLoeveSVDAlgorithm-Halko2011Margin

2

int

KarhunenLoeveSVDAlgorithm-RandomSVDMaximumRank

1000

int

KarhunenLoeveSVDAlgorithm-RandomSVDVariant

Halko2010

str

KarhunenLoeveSVDAlgorithm-UseRandomSVD

false

bool

KernelMixture-LargeSize

20

int

KernelMixture-PDFCDFDiscretization

1000

int

KernelMixture-SmallSize

50

int

KernelSmoothing-AbsolutePrecision

0

float

KernelSmoothing-BinNumber

1024

int

KernelSmoothing-CutOffPlugin

5

float

KernelSmoothing-DefaultShiftScale

1e-05

float

KernelSmoothing-MaximumIteration

50

int

KernelSmoothing-RelativePrecision

1e-05

float

KernelSmoothing-ResidualPrecision

1e-10

float

KernelSmoothing-SmallSize

250

int

KrigingAlgorithm-LinearAlgebra

LAPACK

str

Last-DefaultMaximumSize

65536

int

LeastSquaresDistributionFactory-MaximumAbsoluteError

1e-10

float

LeastSquaresDistributionFactory-MaximumCallsNumber

1000

int

LeastSquaresDistributionFactory-MaximumConstraintError

1e-10

float

LeastSquaresDistributionFactory-MaximumObjectiveError

1e-10

float

LeastSquaresDistributionFactory-MaximumRelativeError

1e-10

float

LeastSquaresExpansion-DecompositionMethod

QR

str

LeastSquaresMetaModelSelection-DecompositionMethod

SVD

str

LeastSquaresMetaModelSelection-ErrorThreshold

0

float

LeastSquaresMetaModelSelection-MaximumError

0.5

float

LeastSquaresMetaModelSelection-MaximumErrorFactor

2

float

LevelSetMesher-SolveEquation

true

bool

LinearCombinationEvaluation-SmallCoefficient

0

float

LinearLeastSquaresCalibration-Method

QR

str

LinearLeastSquaresCalibration-Regularization

1e-12

float

LinearModelAlgorithm-DecompositionMethod

QR

str

LinearModelAnalysis-IdentifiersNumber

3

int

LinearModelAnalysis-LargePValueFormat

{:.4f}

str

LinearModelAnalysis-PrintEllipsisThreshold

20

int

LinearModelAnalysis-SmallPValueFormat

{:.4e}

str

LinearModelStepwiseAlgorithm-MaximumIterationNumber

1000

int

LinearModelStepwiseAlgorithm-Penalty

2

float

LinearModelTest-DefaultDurbinWatsonHypothesis

Equal

str

LinearModelTest-DefaultHarrisonMcCabeBreakpoint

0.5

float

LinearModelTest-DefaultHarrisonMcCabeSimulationSize

1000

int

LinearModelTest-DefaultLevel

0.05

float

LinearModelValidation-ModelSelection

false

bool

LogNormal-CharacteristicFunctionIntegrationNodes

256

int

LogNormal-CharacteristicFunctionSmallSigmaThreshold

0.2

float

LogNormalFactory-AbsolutePrecision

1e-12

float

LogNormalFactory-EstimationMethod

0

int

LogNormalFactory-MaximumIteration

50

int

LogNormalFactory-RelativePrecision

1e-12

float

LogNormalFactory-ResidualPrecision

1e-12

float

LowDiscrepancySequence-ScramblingSeed

0

int

MarginalDistribution-MaximumError

1e-07

float

MarginalDistribution-MaximumSubIntervals

128

int

MarginalDistribution-Rule

G15K31

str

MarginalDistribution-UsePDF

true

bool

MarginalTransformationEvaluation-DefaultTailThreshold

0.99

float

MarginalTransformationEvaluation-ParametersEpsilon

1e-14

float

MarginalTransformationEvaluation-Simplify

true

bool

MaternModel-DefaultNu

1.5

float

MaternModel-DefaultTheta

1

float

Matrix-DefaultSmallPivot

1e-07

float

Matrix-LargestEigenValueIterations

50

int

Matrix-LargestEigenValueRelativeError

0.0001

float

Matrix-MaximalScaling

1e-05

float

Matrix-StartingScaling

1e-13

float

Matrix-SymmetryThreshold

1e-12

float

Matrix-size-visible-in-str-from

5

int

MaximumEntropyOrderStatisticsDistribution-CDFIntegrationNodesNumber

16

int

MaximumEntropyOrderStatisticsDistribution-CheckMarginals

true

bool

MaximumEntropyOrderStatisticsDistribution-ExponentialFactorDiscretization

100

int

MaximumEntropyOrderStatisticsDistribution-MaximumApproximationSubdivision

2

int

MaximumEntropyOrderStatisticsDistribution-MaximumQuantileIteration

10

int

MaximumEntropyOrderStatisticsDistribution-SupportShift

1e-15

float

MaximumEntropyOrderStatisticsDistribution-UseApproximation

false

bool

MaximumLikelihoodFactory-DefaultOptimizationAlgorithm

TNC

str

MaximumLikelihoodFactory-MaximumAbsoluteError

1e-10

float

MaximumLikelihoodFactory-MaximumCallsNumber

1000

int

MaximumLikelihoodFactory-MaximumConstraintError

1e-10

float

MaximumLikelihoodFactory-MaximumObjectiveError

1e-10

float

MaximumLikelihoodFactory-MaximumRelativeError

1e-10

float

MeixnerDistribution-CDFDiscretization

10000

int

MeixnerDistribution-CDFIntegrationNodesNumber

32

int

MeixnerDistribution-MaximumAbsoluteError

1e-12

float

MeixnerDistribution-MaximumConstraintError

1e-12

float

MeixnerDistribution-MaximumObjectiveError

1e-12

float

MeixnerDistribution-MaximumRelativeError

1e-12

float

Mesh-AmbientFactor

0.1

float

Mesh-BackfaceCulling

false

bool

Mesh-CheckValidity

false

bool

Mesh-CoordinateEpsilon

1e-14

float

Mesh-DiffuseFactor

0.7

float

Mesh-LargeSize

5000

int

Mesh-Shininess

100

float

Mesh-SpecularFactor

0.2

float

Mesh-VertexEpsilon

1e-06

float

MetaModelAlgorithm-ModelSelectionCriterion

BIC

str

MetaModelAlgorithm-NonParametricModel

Histogram

str

MetaModelAlgorithm-PValueThreshold

0.001

float

MethodOfMomentsFactory-MaximumAbsoluteError

1e-10

float

MethodOfMomentsFactory-MaximumCallsNumber

1000

int

MethodOfMomentsFactory-MaximumConstraintError

1e-10

float

MethodOfMomentsFactory-MaximumObjectiveError

1e-10

float

MethodOfMomentsFactory-MaximumRelativeError

1e-10

float

Mixture-LargeSize

20

int

Mixture-PDFCDFDiscretization

1000

int

Mixture-SmallSize

50

int

Mixture-SmallWeight

1e-12

float

MultiFORM-DefaultDelta

0.75

float

MultiFORM-DefaultGamma

1.1

float

MultiFORM-DefaultMaximumDesignPointsNumber

4

int

MultiStart-KeepResults

true

bool

Multinomial-eta

1e-09

float

Multinomial-smallA

10

float

NAIS-DefaultQuantileLevel

0.25

float

NLopt-InitialSeed

0

int

NonCenteredFiniteDifferenceGradient-DefaultEpsilon

1e-07

float

NonCentralStudent-CDFAlgo

0

int

NonLinearLeastSquaresCalibration-BootstrapSize

100

int

Normal-MarginalIntegrationNodesNumber

16

int

Normal-MaximumCDFEpsilon

5e-06

float

Normal-MaximumNumberOfPoints

10000000

int

Normal-MinimumCDFEpsilon

0.05

float

Normal-MinimumNumberOfPoints

100000

int

Normal-SmallDimension

6

int

OptimizationAlgorithm-DefaultCheckStatus

true

bool

OptimizationAlgorithm-DefaultLevelValue

0

float

OptimizationAlgorithm-DefaultMaximumAbsoluteError

1e-05

float

OptimizationAlgorithm-DefaultMaximumCallsNumber

1000

int

OptimizationAlgorithm-DefaultMaximumConstraintError

1e-05

float

OptimizationAlgorithm-DefaultMaximumIterationNumber

100

int

OptimizationAlgorithm-DefaultMaximumRelativeError

1e-05

float

OptimizationAlgorithm-DefaultMaximumResidualError

1e-05

float

OptimizationAlgorithm-DefaultMaximumTimeDuration

-1

float

OrderStatisticsMarginalChecker-OptimizationEpsilon

1e-07

float

OrderStatisticsMarginalChecker-QuantileIteration

100

int

Os-RemoveFiles

true

bool

Pagmo-InitialSeed

0

int

Pagmo-UnconstrainMethod

death penalty

str

Pagmo-bee_colony-limit

20

int

Pagmo-cmaes-c1

-1

float

Pagmo-cmaes-cc

-1

float

Pagmo-cmaes-cmu

-1

float

Pagmo-cmaes-cs

-1

float

Pagmo-cmaes-sigma0

0.5

float

Pagmo-de-CR

0.9

float

Pagmo-de-F

0.8

float

Pagmo-de-variant

2

int

Pagmo-de1220-variant_adptv

1

int

Pagmo-gaco-acc

0.01

float

Pagmo-gaco-focus

0

float

Pagmo-gaco-impstop

100000

int

Pagmo-gaco-ker

63

int

Pagmo-gaco-n_gen_mark

7

int

Pagmo-gaco-oracle

0

float

Pagmo-gaco-q

1

float

Pagmo-gaco-threshold

1

int

Pagmo-ihs-bw_max

1

float

Pagmo-ihs-bw_min

1e-05

float

Pagmo-ihs-phmcr

0.85

float

Pagmo-ihs-ppar_max

0.99

float

Pagmo-ihs-ppar_min

0.35

float

Pagmo-memory

false

bool

Pagmo-mhaco-focus

0

float

Pagmo-mhaco-ker

63

int

Pagmo-mhaco-n_gen_mark

7

int

Pagmo-mhaco-q

1

float

Pagmo-mhaco-threshold

1

int

Pagmo-moead-CR

1

float

Pagmo-moead-F

0.5

float

Pagmo-moead-decomposition

tchebycheff

str

Pagmo-moead-eta_m

20

float

Pagmo-moead-limit

2

int

Pagmo-moead-neighbours

20

int

Pagmo-moead-preserve_diversity

true

bool

Pagmo-moead-realb

0.9

float

Pagmo-moead-weight_generation

grid

str

Pagmo-nsga2-cr

0.95

float

Pagmo-nsga2-eta_c

10

float

Pagmo-nsga2-eta_m

50

float

Pagmo-nsga2-m

0.01

float

Pagmo-nspso-c1

2

float

Pagmo-nspso-c2

2

float

Pagmo-nspso-chi

1

float

Pagmo-nspso-diversity_mechanism

crowding distance

str

Pagmo-nspso-leader_selection_range

60

int

Pagmo-nspso-omega

0.6

float

Pagmo-nspso-v_coeff

0.5

float

Pagmo-pso-eta1

2.05

float

Pagmo-pso-eta2

2.05

float

Pagmo-pso-max_vel

0.5

float

Pagmo-pso-neighb_param

4

int

Pagmo-pso-neighb_type

2

int

Pagmo-pso-omega

0.7298

float

Pagmo-pso-variant

5

int

Pagmo-sade-variant

2

int

Pagmo-sade-variant_adptv

1

int

Pagmo-sga-cr

0.9

float

Pagmo-sga-crossover

exponential

str

Pagmo-sga-eta_c

1

float

Pagmo-sga-m

0.01

float

Pagmo-sga-mutation

polynomial

str

Pagmo-sga-param_m

1

float

Pagmo-sga-param_s

2

int

Pagmo-sga-selection

tournament

str

Pagmo-simulated_annealing-Tf

0.1

float

Pagmo-simulated_annealing-Ts

10

float

Pagmo-simulated_annealing-bin_size

20

int

Pagmo-simulated_annealing-n_T_adj

10

int

Pagmo-simulated_annealing-n_range_adj

1

int

Pagmo-simulated_annealing-start_range

1

float

Pagmo-xnes-eta_b

-1

float

Pagmo-xnes-eta_mu

-1

float

Pagmo-xnes-eta_sigma

-1

float

Pagmo-xnes-sigma0

-1

float

ParetoFactory-AlphaUpperBound

1000

float

PenalizedLeastSquaresAlgorithm-UseNormal

false

bool

Pie-HorizontalMargin

0.3

float

Pie-LabelThreshold

0.02

float

Pie-VerticalMargin

0.1

float

PiecewiseHermiteEvaluation-EpsilonRegular

1e-12

float

PiecewiseLinearEvaluation-EpsilonRegular

1e-12

float

PointConditionalDistribution-CubaAlgorithm

cuhre

str

PointConditionalDistribution-InitializeSampling

true

bool

PointConditionalDistribution-InitializeTransformation

true

bool

PointConditionalDistribution-OptimizationAlgorithm

Cobyla

str

PointConditionalDistribution-RatioUniformCandidateNumber

10000

int

PointConditionalDistribution-SmallDimension

6

int

PointConditionalDistribution-UseSimplifiedVersion

true

bool

PointToFieldFunctionalChaosAlgorithm-DefaultRecompress

false

bool

PointToFieldFunctionalChaosAlgorithm-Expansion

LeastSquaresExpansion

str

PointToPointEvaluation-BlockSize

256

int

PolyaFactory-AbsolutePrecision

1e-12

float

PolyaFactory-MaximumIteration

50

int

PolyaFactory-RelativePrecision

1e-12

float

PolyaFactory-ResidualPrecision

1e-12

float

ProbabilitySimulationResult-CheckPositiveVariance

false

bool

ProbabilitySimulationResult-DefaultConfidenceLevel

0.95

float

ProductDistribution-LargeCharacteristicFunctionArgument

10

float

ProfileLikelihoodResult-AbsolutePrecision

1e-10

float

ProfileLikelihoodResult-ConfidenceIntervalMargin

0.05

float

ProfileLikelihoodResult-RelativePrecision

1e-10

float

ProfileLikelihoodResult-StartingScaling

0.01

float

ProfileLikelihoodResult-TextMargin

0.03

float

QuantileMatchingFactory-MaximumAbsoluteError

1e-10

float

QuantileMatchingFactory-MaximumCallsNumber

1000

int

QuantileMatchingFactory-MaximumConstraintError

1e-10

float

QuantileMatchingFactory-MaximumObjectiveError

1e-10

float

QuantileMatchingFactory-MaximumRelativeError

1e-10

float

RandomGenerator-InitialSeed

0

int

RandomMixture-DefaultAlpha

5

float

RandomMixture-DefaultBeta

8.5

float

RandomMixture-DefaultBlockMax

16

int

RandomMixture-DefaultBlockMin

3

int

RandomMixture-DefaultCDFEpsilon

1e-10

float

RandomMixture-DefaultMaxSize

65536

int

RandomMixture-DefaultPDFEpsilon

1e-10

float

RandomMixture-GraphCDFEpsilon

1e-05

float

RandomMixture-GraphPDFEpsilon

1e-05

float

RandomMixture-MarginalIntegrationNodesNumber

128

int

RandomMixture-MaximumIntegrationNodesNumber

1024

int

RandomMixture-MaximumSupportSize

2048

int

RandomMixture-ProjectionDefaultSize

25

int

RandomMixture-SimplifyAtoms

true

bool

RandomMixture-SmallSize

100

int

RandomWalkMetropolisHastings-DefaultAdaptationExpansionFactor

1.2

float

RandomWalkMetropolisHastings-DefaultAdaptationLowerBound

0.117

float

RandomWalkMetropolisHastings-DefaultAdaptationPeriod

30

int

RandomWalkMetropolisHastings-DefaultAdaptationShrinkFactor

0.8

float

RandomWalkMetropolisHastings-DefaultAdaptationUpperBound

0.468

float

RandomWalkMetropolisHastings-DefaultBurnIn

1000

int

RankSobolSensitivityAlgorithm-DefaultBootstrapSampleRatio

0.8

float

ReverseHaltonSequence-InitialSeed

1

int

RiceFactory-AbsolutePrecision

1e-12

float

RiceFactory-MaximumIteration

10

int

RiceFactory-RelativePrecision

1e-12

float

RiceFactory-ResidualPrecision

1e-12

float

RootStrategy-DefaultMaximumDistance

8

float

RootStrategy-DefaultStepSize

1

float

SQP-DefaultOmega

0.0001

float

SQP-DefaultSmooth

1.2

float

SQP-DefaultTau

0.5

float

Sample-CSVFileSeparator

;

str

Sample-CSVFormat

scientific

str

Sample-CSVPrecision

16

int

Sample-CommentMarkers

#

str

Sample-PrintEllipsisSize

3

int

Sample-PrintEllipsisThreshold

1000

int

Sample-PrintFormat

{:.7g}

str

Sample-SmallKendallTau

23

int

SimplicialCubature-DefaultMaximumAbsoluteError

0

float

SimplicialCubature-DefaultMaximumCallsNumber

100000

int

SimplicialCubature-DefaultMaximumRelativeError

1e-05

float

SimplicialCubature-DefaultRule

3

int

SimplicialCubature-MarginalDiscretizationIntervalsNumber

1

int

SimulationAlgorithm-DefaultBlockSize

1

int

SimulationAlgorithm-DefaultMaximumCoefficientOfVariation

0.1

float

SimulationAlgorithm-DefaultMaximumOuterSampling

1000

int

SimulationAlgorithm-DefaultMaximumStandardDeviation

0

float

SimulationAlgorithm-DefaultMaximumTimeDuration

-1

float

SimulationSensitivityAnalysis-DefaultSampleMargin

400

int

SmolyakExperiment-MergeAbsoluteEpsilon

1e-08

float

SmolyakExperiment-MergeQuadrature

true

bool

SmolyakExperiment-MergeRelativeEpsilon

1e-08

float

SobolIndicesAlgorithm-DefaultBlockSize

1

int

SobolIndicesAlgorithm-DefaultBootstrapConfidenceLevel

0.95

float

SobolIndicesAlgorithm-DefaultBootstrapSize

100

int

SobolIndicesAlgorithm-DefaultUseAsymptoticDistribution

false

bool

SobolIndicesExperiment-SamplingMethod

MonteCarlo

str

SobolSequence-InitialSeed

1

int

SobolSimulationAlgorithm-DefaultExperimentSize

1000

int

SobolSimulationAlgorithm-DefaultIndexQuantileEpsilon

0.01

float

SobolSimulationAlgorithm-DefaultIndexQuantileLevel

0.05

float

Solver-DefaultAbsoluteError

1e-05

float

Solver-DefaultMaximumFunctionEvaluation

100

int

Solver-DefaultRelativeError

1e-05

float

Solver-DefaultResidualError

0

float

SparseMethod-ErrorThreshold

0.001

float

SparseMethod-MaximumErrorFactor

2

float

SpecFunc-MaximumIteration

1000

int

SpecFunc-Precision

2e-16

float

SpectralGaussianProcess-CholeskyCacheSize

16384

int

SpectralGaussianProcess-MaximalScaling

1e-05

float

SpectralGaussianProcess-StartingScaling

1e-13

float

SpectralModel-DefaultFrequencyNumber

129

int

SpectralModel-DefaultMaximumFrequency

5

float

SpectralModel-DefaultMinimumFrequency

-5

float

SquaredExponential-DefaultTheta

1

float

StrongMaximumTest-DefaultDeltaPrecision

1e-07

float

StrongMaximumTest-Epsilon

1e-10

float

Student-MarginalIntegrationNodesNumber

16

int

Student-MaximumCDFEpsilon

5e-06

float

Student-MaximumNumberOfPoints

10000000

int

Student-MinimumCDFEpsilon

0.05

float

Student-MinimumNumberOfPoints

100000

int

Student-SmallDimension

6

int

StudentCopulaFactory-DefaultOptimizationAlgorithm

Cobyla

str

StudentCopulaFactory-MaximumAbsoluteError

1e-10

float

StudentCopulaFactory-MaximumCallsNumber

1000

int

StudentCopulaFactory-MaximumConstraintError

1e-10

float

StudentCopulaFactory-MaximumObjectiveError

1e-10

float

StudentCopulaFactory-MaximumRelativeError

1e-10

float

StudentCopulaFactory-NuMax

100

float

StudentCopulaFactory-NuMin

2

float

StudentCopulaFactory-NuStart

5

float

StudentFactory-NuMax

1000

float

SubsetSampling-DefaultConditionalProbability

0.1

float

SubsetSampling-DefaultMaximumOuterSampling

10000

int

SubsetSampling-DefaultProposalRange

2

float

SymbolicParser-Backend

ExprTk

str

SymbolicParserExprTk-MaxNodeDepth

10000

int

SymbolicParserExprTk-MaxStackDepth

400

int

SymbolicParserExprTk-SmallSize

100

int

SymbolicParserMuParser-SmallSize

1000

int

SystemFORM-MaximalScaling

1e-05

float

SystemFORM-StartingScaling

1e-13

float

TBB-ThreadsNumber

1

int

TNC-DefaultAccuracy

0.0001

float

TNC-DefaultEta

0.25

float

TNC-DefaultFmin

1

float

TNC-DefaultMaxCGit

50

int

TNC-DefaultRescale

1.3

float

TNC-DefaultStepmx

10

float

Tensor-size-visible-in-str-from

5

int

Text-DefaultTextSize

0.75

float

TrapezoidalFactory-MaximumIteration

2000

int

TrapezoidalFactory-RhoBeg

0.1

float

TrapezoidalFactory-RhoEnd

1e-05

float

TruncatedDistribution-DefaultThresholdRealization

0.5

float

TruncatedNormalFactory-SigmaLowerBound

0.0001

float

TruncatedOverMesh-MarginalIntegrationNodesNumber

64

int

TruncatedOverMesh-MaximumIntegrationNodesNumber

262144

int

TruncatedOverMesh-OptimizationAlgorithm

TNC

str

UniVariatePolynomial-SmallDegree

400

int

UniformOverMesh-MarginalIntegrationNodesNumber

64

int

UniformOverMesh-MaximumIntegrationNodesNumber

262144

int

UserDefined-SmallSize

10000

int

View-ImageFormat

png

str

VisualTest-CloudMediumSize

1000

int

VisualTest-CloudSmallSize

100

int

VisualTest-DependenceConfidenceLevel

0.95

float

VisualTest-KendallPlot-MonteCarloSize

100

int

VonMisesFactory-AbsolutePrecision

1e-12

float

VonMisesFactory-MaximumIteration

10

int

VonMisesFactory-RelativePrecision

1e-12

float

VonMisesFactory-ResidualPrecision

1e-12

float

WeightedExperiment-DefaultSize

100

int

WhittleFactory-DefaultMaximumCallsNumber

2000

int

WhittleFactory-DefaultRhoBeg

0.1

float

WhittleFactory-DefaultRhoEnd

1e-10

float

WhittleFactory-DefaultStartingPointScale

1

float

WhittleFactory-RootEpsilon

1e-06

float

XMLStorageManager-DefaultCompressionLevel

0

int

Methods

AddAsBool(key, value)

Add a new boolean parameter.

AddAsScalar(key, value)

Add a new floating-point parameter.

AddAsString(key, value)

Add a new string parameter.

AddAsUnsignedInteger(key, value)

Add a new integer parameter.

FindKeys(substr)

Find keys matching a pattern.

Get(key)

Access a parameter.

GetAsBool(key)

Access a boolean parameter.

GetAsScalar(key)

Access a floating-point parameter.

GetAsString(key)

Access a string parameter.

GetAsUnsignedInteger(key)

Access an integer parameter.

GetBoolKeys()

Get the bool keys of the ResourceMap.

GetBoolSize()

Get the size of the bool map in ResourceMap.

GetKeys()

Get the keys of the ResourceMap.

GetScalarKeys()

Get the float keys of the ResourceMap.

GetScalarSize()

Get the size of the float map in ResourceMap.

GetSize()

Get the size of the ResourceMap.

GetStringKeys()

Get the string keys of the ResourceMap.

GetStringSize()

Get the size of the string map in ResourceMap.

GetType(key)

Access the type of a parameter.

GetUnsignedIntegerKeys()

Get the unsigned integer keys of the ResourceMap.

GetUnsignedIntegerSize()

Get the size of the unsigned integer map in ResourceMap.

HasKey(key)

Check if an entry exists.

Reload()

Reload the configuration.

RemoveKey(key)

Remove an entry.

Set(key, value)

Access an existing parameter.

SetAsBool(key, value)

Set an existing boolean parameter.

SetAsScalar(key, value)

Set an existing floating-point parameter.

SetAsString(key, value)

Set an existing string parameter.

SetAsUnsignedInteger(key, value)

Set an existing integer parameter.

Examples

Get some keys:

>>> import openturns as ot
>>> for key in ot.ResourceMap.GetKeys()[:4]:
...     print(key)
ARMA-MeanEpsilon
ARMALikelihoodFactory-DefaultMaximumCallsNumber
ARMALikelihoodFactory-DefaultRhoBeg
ARMALikelihoodFactory-DefaultRhoEnd
__init__(*args, **kwargs)
static AddAsBool(key, value)

Add a new boolean parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuebool

The value associated to that key. The key is added to the bool map even if it already exists in another map (float, int or str).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.AddAsBool('MaximumEntropyOrderStatisticsDistribution-CheckMarginals2', True)
>>> ot.ResourceMap.RemoveKey('MaximumEntropyOrderStatisticsDistribution-CheckMarginals2')
static AddAsScalar(key, value)

Add a new floating-point parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuefloat

The value associated to that key. The key is added to the float map even if it already exists in another map (str, int or bool).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.AddAsScalar('SQP-DefaultTau2', 0.5)
>>> ot.ResourceMap.RemoveKey('SQP-DefaultTau2')
static AddAsString(key, value)

Add a new string parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuestr

The value associated to that key. The key is added to the string map even if it already exists in another map (float, int or bool).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.AddAsString('View-ImageFormat2', 'png')
>>> ot.ResourceMap.RemoveKey('View-ImageFormat2')
static AddAsUnsignedInteger(key, value)

Add a new integer parameter.

Parameters:
keystr

An identifier associated to the parameter.

valueint

The value associated to that key. The key is added to the integer map even if it already exists in another map (float, str or bool).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.AddAsUnsignedInteger('RandomWalkMetropolisHastings-DefaultBurnIn2', 0)
>>> ot.ResourceMap.RemoveKey('RandomWalkMetropolisHastings-DefaultBurnIn2')
static FindKeys(substr)

Find keys matching a pattern.

Parameters:
substrstr

A pattern to search.

Returns:
valuesequence of str

The keys matching the pattern.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.FindKeys('Multinomial')
('Multinomial-eta', 'Multinomial-smallA')
static Get(key)

Access a parameter.

Parameters:
keystr

An identifier associated to the parameter.

Returns:
valuestr

The value associated to that key.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.Get('WeightedExperiment-DefaultSize')
'100'
static GetAsBool(key)

Access a boolean parameter.

Parameters:
keystr

An identifier associated to the parameter.

Returns:
valuebool

The value associated to that key.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.GetAsBool('MaximumEntropyOrderStatisticsDistribution-CheckMarginals')
True
static GetAsScalar(key)

Access a floating-point parameter.

Parameters:
keystr

An identifier associated to the parameter.

Returns:
valuefloat

The value associated to that key.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.GetAsScalar('SQP-DefaultTau')
0.5
static GetAsString(key)

Access a string parameter.

Parameters:
keystr

An identifier associated to the parameter.

Returns:
valuestr

The value associated to that key.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.Get('WeightedExperiment-DefaultSize')
'100'
static GetAsUnsignedInteger(key)

Access an integer parameter.

Parameters:
keystr

An identifier associated to the parameter.

Returns:
valueint

The value associated to that key.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.GetAsUnsignedInteger('RandomWalkMetropolisHastings-DefaultBurnIn')
1000
static GetBoolKeys()

Get the bool keys of the ResourceMap.

Returns:
keystuple of str

The list of bool identifiers.

static GetBoolSize()

Get the size of the bool map in ResourceMap.

Returns:
sizepositive int

The number of bool constants defined in the ResourceMap.

static GetKeys()

Get the keys of the ResourceMap.

Returns:
keystuple of str

The list of identifiers.

static GetScalarKeys()

Get the float keys of the ResourceMap.

Returns:
keystuple of str

The list of float identifiers.

static GetScalarSize()

Get the size of the float map in ResourceMap.

Returns:
sizepositive int

The number of float constants defined in the ResourceMap.

static GetSize()

Get the size of the ResourceMap.

Returns:
sizepositive int

The number of constants defined in the ResourceMap.

static GetStringKeys()

Get the string keys of the ResourceMap.

Returns:
keystuple of str

The list of string identifiers.

static GetStringSize()

Get the size of the string map in ResourceMap.

Returns:
sizepositive int

The number of string constants defined in the ResourceMap.

static GetType(key)

Access the type of a parameter.

Parameters:
keystr, possible values are ‘str’,’int’,’float’ or ‘bool’

An identifier associated to the parameter.

Returns:
typestr

The type associated to that key.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.GetType('Distribution-SupportEpsilon')
'float'
static GetUnsignedIntegerKeys()

Get the unsigned integer keys of the ResourceMap.

Returns:
keystuple of str

The list of int identifiers.

static GetUnsignedIntegerSize()

Get the size of the unsigned integer map in ResourceMap.

Returns:
sizepositive int

The number of int constants defined in the ResourceMap.

static HasKey(key)

Check if an entry exists.

Parameters:
keystr

An identifier associated to the parameter.

Returns:
has_keybool

Whether an entry with that key exists.

static Reload()

Reload the configuration.

Reverts the values of the default keys and erases new keys.

static RemoveKey(key)

Remove an entry.

Parameters:
keystr

An identifier associated to the parameter.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.AddAsString('dummy_key', 'key_to_be_removed')
>>> ot.ResourceMap.RemoveKey('dummy_key')
static Set(key, value)

Access an existing parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuestr

The value associated to that key. If the key already exists as a float, an int or a bool, the given string is converted into the corresponding type.

Examples

>>> import openturns as ot
>>> ot.ResourceMap.Set('Distribution-SupportEpsilon', '1.0e-14')
static SetAsBool(key, value)

Set an existing boolean parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuebool

The value associated to that key. The key is added to the bool map even if it already exists in another map (float, int or str).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.SetAsBool('MaximumEntropyOrderStatisticsDistribution-CheckMarginals', True)
static SetAsScalar(key, value)

Set an existing floating-point parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuefloat

The value associated to that key. The key is added to the float map even if it already exists in another map (str, int or bool).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.SetAsScalar('SQP-DefaultTau', 0.5)
static SetAsString(key, value)

Set an existing string parameter.

Parameters:
keystr

An identifier associated to the parameter.

valuestr

The value associated to that key. The key is added to the string map even if it already exists in another map (float, int or bool).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.SetAsString('View-ImageFormat', 'png')
static SetAsUnsignedInteger(key, value)

Set an existing integer parameter.

Parameters:
keystr

An identifier associated to the parameter.

valueint

The value associated to that key. The key is added to the integer map even if it already exists in another map (float, str or bool).

Examples

>>> import openturns as ot
>>> ot.ResourceMap.SetAsUnsignedInteger('RandomWalkMetropolisHastings-DefaultBurnIn', 1000)

Examples using the class

A quick start guide to the Point and Sample classes

A quick start guide to the Point and Sample classes

Fit an extreme value distribution

Fit an extreme value distribution

Fitting a distribution with customized maximum likelihood

Fitting a distribution with customized maximum likelihood

Test the copula

Test the copula

Fit a distribution from an input sample

Fit a distribution from an input sample

Create a polynomial chaos for the Ishigami function: a quick start guide to polynomial chaos

Create a polynomial chaos for the Ishigami function: a quick start guide to polynomial chaos

Cross Entropy Importance Sampling

Cross Entropy Importance Sampling

Calibration of the flooding model

Calibration of the flooding model

Plot the log-likelihood contours of a distribution

Plot the log-likelihood contours of a distribution