CosmicFish  Reference documentation for version 1.0
Looking into future Cosmology
Modules | Functions/Subroutines
003_Fisher_manipulation.f90 File Reference

This file contains several subroutine and functions that can be used to manipulate and modify a Fisher matrix. More...

Go to the source code of this file.

Modules

module  fisher_manipulation
 This module contains the subroutine and functions to carry out Fisher matrix manipulations.
 

Functions/Subroutines

subroutine, public fisher_manipulation::fisher_delete_column_rows (Fisher_in, Fisher_out, indexes)
 Thie subroutine eliminates the rows and columns in indexes from Fisher_in and returns a reduced Fisher matrix in Fisher_out. More...
 
real(dl) function, public fisher_manipulation::confidence_coefficient (confidence_level)
 This function computes the coefficient correspondent to a given confidence level. Uses MKL to compute the inverse error function. More...
 
subroutine, public fisher_manipulation::confidence_interval_params (Fisher_in, confidence_level, error_out)
 This function computes the error bounds on the parameters starting from a Fisher matrix. More...
 
subroutine, public fisher_manipulation::marginalise_fisher (Fisher_in, indexes, Fisher_out)
 This function marginalises the Fisher_in Fisher matrix over the parameters in index and returns the marginalized Fisher matrix. The calculation is carried out in the numerically stable way. More...
 
subroutine, public fisher_manipulation::fisher_pca (Fisher_in, eigenvalues, eigenvectors)
 This subroutine performs the principal component analysis on the Fisher matrix Fisher_in returning the ordered eigenvalues and eigenvectors of the matrix. More...
 
subroutine, public fisher_manipulation::fisher_fom (Fisher_in, FOM)
 This subroutine computes the Figure of Merit from the Fisher matrix Fisher_in. More...
 
subroutine, public fisher_manipulation::fisher_protection_unconstrained (Fisher_in)
 This subroutine applies a safeguard against unconstrained parameters. If a parameter is unconstrained the corresponding column and row of the Fisher matrix will be exactly zero. This will make the Fisher matrix not invertible. This subroutine adds a very small quantity to the diagonal element of the unconstrained parameter ensuring that the matrix is invertible and that the unconstrained parameter does not impact the constarints on the others. More...
 
subroutine, public fisher_manipulation::fisher_protection_degenerate (Fisher_in)
 This subroutine applies a safeguard against totally degenerate parameters. If a parameter is totally degenerate with another the Fisher matrix will be not invertible. This subroutine adds a very small quantity on the diagonal of the Fisher matrix ensuring that the resulting matrix will be invertible at a cost of a negligible change in the parameters bounds. More...
 

Detailed Description

This file contains several subroutine and functions that can be used to manipulate and modify a Fisher matrix.

Definition in file 003_Fisher_manipulation.f90.