edit_matrix (method)

edit_matrix(self, matrix)[source]

To apply transformation on the matrix

Parameters:
  • self (ImportMatrix) – An ImportMatrix object
  • matrix (ndarray) – The matrix to edit
Returns:

matrix – The edited matrix

Return type:

ndarray