cosmicfish_pylib.fisher_operations.eliminate_columns_rows¶
-
cosmicfish_pylib.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
ofint
) – list of integers with the indexes to delete from the Fisher matrix
Returns: A Fisher matrix with the columns and rows deleted
Return type: - fisher_matrix (