marginalise_over#

cosmicjellyfish.analysis.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 of string) – list of names of the parameters over which the Fisher will be marginalised.

Returns:

A Fisher matrix with the names parameters marginalized.

Return type:

cosmicfish_pylib.fisher_matrix.fisher_matrix