pystra.correlation.setModifiedCorrelationMatrix#

setModifiedCorrelationMatrix(stochastic_model)[source]#

Compute the modified correlation matrix and store it on the model.

Convenience wrapper that calls computeModifiedCorrelationMatrix() and assigns the result to the stochastic model via setModifiedCorrelation.

Parameters:

stochastic_model (StochasticModel) – The model whose modified correlation matrix will be set.