fill_masked_covar

grizli.utils.fill_masked_covar(covar, mask)[source]

Fill a covariance matrix in a larger array that had masked values

Parameters
covar(M,M) square ndarray

Masked covariance array.

maskbool mask, N>M

The original mask.

Returns
covar_fullndarray

Full covariance array with dimensions (N,N).