cosmicfish_pylib.fisher_operations.marginalise_over¶
-
cosmicfish_pylib.fisher_operations.
marginalise_over
(fisher_matrix, names)[source]¶ This function marginalises a Fisher matrix over the parameters in names. The new Fisher matrix will not have the parameters specified in names. The calculation is performed in the numerically stable way.
Parameters: - fisher_matrix (
cosmicfish_pylib.fisher_matrix.fisher_matrix
) – input Fisher matrix - names (
list
ofstring
) – list of names of the parameters over which the Fisher will be marginalised.
Returns: A Fisher matrix with the names parameters marginalized.
Return type: - fisher_matrix (