eliminate_columns_rows#

cosmicjellyfish.analysis.fisher_operations.eliminate_columns_rows(fisher_matrix, indexes)[source]#

This function eliminates the row and columns corresponding to the given indexes from the Fisher matrix. It also deletes all the other informations like the names of the parameters. Notice that the index corresponding to the first parameter is zero.

Parameters:
  • fisher_matrix (cosmicfish_pylib.fisher_matrix.fisher_matrix) – input Fisher matrix

  • indexes (list of int) – list of integers with the indexes to delete from the Fisher matrix

Returns:

A Fisher matrix with the columns and rows deleted

Return type:

cosmicfish_pylib.fisher_matrix.fisher_matrix