finesse.knm.matrix.KnmMatrix.of_zeros¶
- static KnmMatrix.of_zeros(const int[:, ::1] modes, **kwargs)¶
Constuct a KnmMatrix where each element is (complex) zero.
- Parameters
modes : array-like
A 2D array, or memory-view to the array, of the mode indices associated with the scattering matrix.
kwargs : keyword arguments, optional
Additional args to pass to constructor of KnmMatrix.
- Returns
kmat :
KnmMatrix
The KnmMatrix object consisting of a matrix of zeroes.