CosmicFish
Reference documentation for version 1.0
Looking into future Cosmology
|
This module contains the code that computes the Fisher matrix for Redshift Drift. More...
Functions/Subroutines | |
subroutine, public | rd_theo_calc (P, FP, redrift, err) |
This subroutine returns the theoretical prediction of redshift drift given the input cosmological parameters and the observation interval given in specifications. More... | |
subroutine, public | rd_error_calc (P, FP, RDsigma, err) |
subroutine, public | save_rd_mock_to_file (FP, mock_size, RD_theory, RD_error, filename) |
This subroutine outputs to file a SN covariance. More... | |
subroutine, public | rd_derivativecalc (P, FP, param_num, deltav_derivative, deltav_der_error, deltav_initial, initial_step, num_param, error_code) |
This subroutine computes the derivative of the observed redshift drift signal. The calculation is carried out with a fixed stepsize finite difference formula or by the Richardson’s deferred approach to the limit. More... | |
subroutine, public | fisher_rd (P, FP, num_param, Fisher_Matrix, outroot) |
This subroutine computes the Fisher matrix for redshift drift. More... | |
This module contains the code that computes the Fisher matrix for Redshift Drift.
subroutine, public fisher_calculator_rd::fisher_rd | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
integer, intent(in) | num_param, | ||
real(dl), dimension(num_param,num_param), intent(out) | Fisher_Matrix, | ||
character(len=*), intent(in), optional | outroot | ||
) |
This subroutine computes the Fisher matrix for redshift drift.
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[in] | num_param | Input dimension of the Fisher matrix |
[out] | fisher_matrix | Output Fisher matrix |
[in] | outroot | Optional input: filename that will be used to dump to file optional output if feedback is greater than 1. |
Definition at line 457 of file 011_Fisher_calculator_RD.f90.
subroutine, public fisher_calculator_rd::rd_derivativecalc | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
integer, intent(in) | param_num, | ||
real(dl), dimension(:), intent(out) | deltav_derivative, | ||
real(dl), dimension(:), intent(out) | deltav_der_error, | ||
real(dl), dimension(:), intent(in) | deltav_initial, | ||
real(dl), intent(in) | initial_step, | ||
integer, intent(in) | num_param, | ||
integer, intent(out) | error_code | ||
) |
This subroutine computes the derivative of the observed redshift drift signal. The calculation is carried out with a fixed stepsize finite difference formula or by the Richardson’s deferred approach to the limit.
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[in] | param_num | Input number of the parameter wrt the derivative is computed |
[in] | num_param | Input number of parameters involved in the calculation |
[in] | deltav_initial | deltav computed for h=0 |
[out] | deltav_derivative | Output returns the derivative of the deltav vector |
[out] | deltav_der_error | Output returns the error on the deltav derivative |
[in] | initial_step | Input initial value of h. Does not need to be small for the adaptive algorithm. |
[out] | error_code | Output error code. When run the code will not stop on error but report it 0 = everything was fine computation exited correctly 1 = error on input parameters 2 = error on computation 3 = error on quality of the results |
Definition at line 192 of file 011_Fisher_calculator_RD.f90.
subroutine, public fisher_calculator_rd::rd_error_calc | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
real(dl), dimension(fp%fisher_rd%number_rd_redshifts), intent(out) | RDsigma, | ||
integer, intent(out) | err | ||
) |
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[out] | rdsigma | Output array with the RD errors |
[out] | err | Output error code: 0 = all fine 1 = error in input 2 = error in computation 3 = error in quality 4 = routine specific |
Definition at line 105 of file 011_Fisher_calculator_RD.f90.
subroutine, public fisher_calculator_rd::rd_theo_calc | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
real(dl), dimension(fp%fisher_rd%number_rd_redshifts), intent(out) | redrift, | ||
integer, intent(out) | err | ||
) |
This subroutine returns the theoretical prediction of redshift drift given the input cosmological parameters and the observation interval given in specifications.
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[out] | redrift | Output array with the theoretical RD |
[out] | err | Output error code: 0 = all fine 1 = error in input 2 = error in computation 3 = error in quality 4 = routine specific |
Definition at line 55 of file 011_Fisher_calculator_RD.f90.
subroutine, public fisher_calculator_rd::save_rd_mock_to_file | ( | type(cosmicfish_params), intent(in) | FP, |
integer, intent(in) | mock_size, | ||
real(dl), dimension(mock_size), intent(in) | RD_theory, | ||
real(dl), dimension(mock_size), intent(in) | RD_error, | ||
character(len=*), intent(in) | filename | ||
) |
This subroutine outputs to file a SN covariance.
[in] | fp | Input Cosmicfish params |
[in] | mock_size | number of mock points |
[in] | rd_theory | fiducial cosmology redshift drift |
[in] | rd_error | error on delta v |
[in] | filename | Name of the file where the RD mock will be saved |
Definition at line 164 of file 011_Fisher_calculator_RD.f90.