check_variance_dimensions

sofia_redux.instruments.exes.utils.check_variance_dimensions(variance, nx, ny, nz)[source]

Check variance dimensions for expected shape.

Parameters:
variancenumpy.ndarray

2D or 3D variance array to check.

nxint

Expected x dimension.

nyint

Expected y dimension.

nzint

Expected z dimension (number of frames).

Returns:
validbool

True if variance matches expected dimensions.