plot_variance¶
-
pyoof.
plot_variance
(matrix, order, diag, cbtitle, title)[source] [edit on github]¶ Variance-Covariance matrix or Correlation matrix figure. It returns the triangle figure with a color amplitude value for each element. Used to check/compare the correlation between the fitted parameters in a least squares minimization.
Parameters: matrix :
ndarray
Two dimensional array containing the Variance-Covariance or Correlation function. Output from the fit procedure.
order :
int
Order used for the Zernike circle polynomial, \(n\).
diag :
bool
If
True
it will plot the matrix diagonal.cbtitle :
str
Color bar title.
title :
str
Figure title.
Returns: fig :
Figure
Triangle figure representing Variance-Covariance or Correlation matrix.