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 :
ndarrayTwo dimensional array containing the Variance-Covariance or Correlation function. Output from the fit procedure.
order :
intOrder used for the Zernike circle polynomial, \(n\).
diag :
boolIf
Trueit will plot the matrix diagonal.cbtitle :
strColor bar title.
title :
strFigure title.
Returns: fig :
FigureTriangle figure representing Variance-Covariance or Correlation matrix.