pvdeg.montecarlo#

Collection of functions for monte carlo simulations.

Function Overview

generateCorrelatedSamples

Generate tall correlated samples np.array.

simulate

Apply a target function to data to preform a monte carlo simulation.

Classes

class pvdeg.montecarlo.Corr(mc_1_string, mc_2_string, corr)[source]#

Bases: object

Correlation class.

corrlation class : stores modeling constants and corresponding correlation coefficient to access at runtime

mc_1 = ''#
mc_2 = ''#
correlation = 0#
getModelingConstants() → list[str, str][source]#

Return modeling constants in string form, helper method.

Parameters:

self (Corr) – Reference to self

Returns:

modeling_constants (list[str, str]) – Both modeling constants in string from from their corresponding correlation coefficient object