cosmicfish_pylib.fisher_operations.reshuffle

cosmicfish_pylib.fisher_operations.reshuffle(fisher_matrix, names)[source]

This function reshuffles a Fisher matrix. The new Fisher matrix will have the parameters specified in names, in the order specified by names. Can be used to delete parameters, change their order or extract the Fisher for some parameters without marginalizing over the others.

Parameters:
Returns:

A Fisher matrix with the new parameters

Return type:

cosmicfish_pylib.fisher_matrix.fisher_matrix