project_1d
Predict 1pt observable functions to the final n(z) convolved form
File |
structure/projection_1d/project_1d.py |
Attribution |
CosmoSIS Team |
URL |
This module combines tomographic / stellar mass bins of the individually calculated observables It produces the theoretical prediction for the observable for the full survey. The number of bins and the mass range can be different to what is calculated in the hod_interface.py module.
Assumptions
SDDD
Setup Parameters
Name |
Type |
Default |
Description |
|---|---|---|---|
input_section_name |
str |
stellar_mass_function |
Input section name to get the observable values from (this is and optional output of the hod section) |
output_section_name |
str |
smf |
Output section name to save the observable values to |
observable_type |
str |
mass |
Type of observable (either mass or luminosity). |
correct_cosmo |
bool |
False |
To correct for fixed imput cosmology at which observable function was estiamted |
sample |
str |
(optional) if nzs are given, look for the redshift distribution of the observables in this section. |
|
zmin |
real |
minimum redshift value{s} for the observable in each bin. Used for cosmology correction. |
|
zmax |
real |
maximum redshift value{s} for the observable in each bin. Used for cosmology correction. |
|
cosmo_kwargs |
str |
{‘H0’:70.0, ‘Om0’:0.3, ‘Ode0’:0.7} |
A string of a dictionary of input cosmology values |
astropy_cosmology_class |
str |
LambdaCDM |
A astropy cosmology class which was used to calculate input cosmology at |
Input values
Section |
Name |
Type |
Default |
Description |
|---|---|---|---|---|
input_section_name |
obs_val_{i} |
real 1D |
The value of the observable for bin {i}. This is taken from the HOD-pbservable output section. i is an integer. |
|
obs_func_{i} |
real 1D (no redshift rependence) or 2D if z_bin_{i} exists |
The value of the observable function for bin {i}. This is taken from the HOD-pbservable output section. i is an integer. |
||
z_bin_{i} |
real 1D |
redshift distribution of the galaxies in the observable-redshift bin {i}. This will be read if it exists. If the median redshift is used to get the observable function then it is not used. If it exists then the observable function is defined as the weighted average of the observable function over redshift int dz n(z) x (observable function). |
||
sample |
z |
real 1D |
Redshift values in the input sample corresponding to the galaxies in the observable-redshift bins. This should be read using a read_nz module. |
|
bin_{i} |
real 1D |
Redshift distribution of the galaxies in the observable-redshift bins. The number of bins should be This should be read using a read_nz module. |
Output values
Section |
Name |
Type |
Description |
|---|---|---|---|
output_section_name |
bin_{i} |
real 1D |
The value of observable function, for the observable-redshift bin {i} |
obs_{i} |
real 1D |
The value of observable, for the observable-redshift bin {i}, either mass or luminosity |
|
nbin |
int |
Number of observable-redshift bins, it is 1 if suffixes is not given |
|
sample |
str |
The sample name for the redshift distribution of the observables, this is only saved if suffixes are given. |