CosmicFish
Reference documentation for version 1.0
Looking into future Cosmology
|
This module contains the interface layer between CosmicFish and CAMB. More...
Functions/Subroutines | |
subroutine, public | num_param_fisher (P, FP, num_param) |
This subroutine returns the number of parameters in the Fisher matrix based on the input parameters. More... | |
subroutine, public | fisher_param_names (P, FP, param_number, param_name, param_name_latex) |
This subroutine returns the name corresponding to a parameter number. More... | |
subroutine, public | camb_params_to_params_array (P, FP, num_param, params_array) |
This subroutine updates the values of the parameters array based on the values of P and FP. More... | |
subroutine, public | params_array_to_camb_param (P, FP, num_param, params_array) |
This subroutine updates the values of the parameters P and FP based on the values contained in the parameter array. More... | |
subroutine, public | save_fisher_to_file (P, FP, fish_dim, fisher_matrix, filename) |
This subroutine saves the Fisher matrix to file taking care of putting into the file all the relevant informations. More... | |
subroutine, public | save_paramnames_to_file (P, FP, fish_dim, filename) |
This subroutine saves a file containing the parameter names for the Fisher matrix run. More... | |
This module contains the interface layer between CosmicFish and CAMB.
subroutine, public cosmicfish_camb_interface::camb_params_to_params_array | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
integer, intent(in) | num_param, | ||
real(dl), dimension(num_param), intent(out) | params_array | ||
) |
This subroutine updates the values of the parameters array based on the values of P and FP.
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[in] | num_param | Input length of the parameter array |
[out] | params_array | Output updated parameter array |
Definition at line 787 of file 006_cosmicfish_camb_interface.f90.
subroutine, public cosmicfish_camb_interface::fisher_param_names | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
integer, intent(in) | param_number, | ||
character(*), intent(out) | param_name, | ||
character(*), intent(out), optional | param_name_latex | ||
) |
This subroutine returns the name corresponding to a parameter number.
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[in] | param_number | Input number of parameter for which the name is wanted |
[out] | param_name | Output name of the parameter |
[out] | param_name_latex | Output name of the parameter in LaTeX format |
Definition at line 267 of file 006_cosmicfish_camb_interface.f90.
subroutine, public cosmicfish_camb_interface::num_param_fisher | ( | type(cambparams), intent(in) | P, |
type(cosmicfish_params), intent(in) | FP, | ||
integer, intent(out) | num_param | ||
) |
This subroutine returns the number of parameters in the Fisher matrix based on the input parameters.
[in] | p | Input CAMBparams |
[in] | fp | Input Cosmicfish params |
[out] | num_param | Output number of parameters |
Definition at line 46 of file 006_cosmicfish_camb_interface.f90.
subroutine, public cosmicfish_camb_interface::params_array_to_camb_param | ( | type(cambparams) | P, |
type(cosmicfish_params) | FP, | ||
integer, intent(in) | num_param, | ||
real(dl), dimension(num_param), intent(in) | params_array | ||
) |
This subroutine updates the values of the parameters P and FP based on the values contained in the parameter array.
p | Output CAMBparams | |
fp | Output Cosmicfish params | |
[in] | num_param | Input length of the parameter array |
[in] | params_array | Input parameter array |
Definition at line 1187 of file 006_cosmicfish_camb_interface.f90.
subroutine, public cosmicfish_camb_interface::save_fisher_to_file | ( | type(cambparams) | P, |
type(cosmicfish_params) | FP, | ||
integer, intent(in) | fish_dim, | ||
real(dl), dimension(fish_dim, fish_dim), intent(in) | fisher_matrix, | ||
character(len=*), intent(in) | filename | ||
) |
This subroutine saves the Fisher matrix to file taking care of putting into the file all the relevant informations.
p | Input CAMBparams | |
fp | Input Cosmicfish params | |
[in] | fish_dim | Dimension of the input Fisher matrix |
[in] | fisher_matrix | Input Fisher matrix |
[in] | filename | Name of the file where the Fisher matrix will be saved |
Definition at line 1609 of file 006_cosmicfish_camb_interface.f90.
subroutine, public cosmicfish_camb_interface::save_paramnames_to_file | ( | type(cambparams) | P, |
type(cosmicfish_params) | FP, | ||
integer, intent(in) | fish_dim, | ||
character(len=*), intent(in) | filename | ||
) |
This subroutine saves a file containing the parameter names for the Fisher matrix run.
p | Input CAMBparams | |
fp | Input Cosmicfish params | |
[in] | fish_dim | Dimension of the parameter space |
[in] | filename | Name of the file where the Fisher matrix paramnames file will be saved |
Definition at line 1656 of file 006_cosmicfish_camb_interface.f90.