create_nz_boundaries module
Create a tomographic n(z) based on measurement parameters supplied by ‘set_variables_3x2pt_measurement.ini’. First, an array of redshift boundary values for each bin is created and saved to disk, then the n(z) is measured using these boundaries from the simulated catalogues.
- pcl_measurement.create_nz_boundaries.create_zbin_boundaries(config_dict)
Create a table of the redshift boundaries used for binning the galaxies in the simulated catalogues for the 3x2pt analysis, which is then saved to disk.
Parameters
- config_dict(dict)
Dictionary of pipeline and redshift distribution parameters used to generate the bin boundaries and overall n(z)
Returns
Array of the redshift bin boundaries evaluated for the given number of bins + binning configuration.
- pcl_measurement.create_nz_boundaries.main()
Generate the n(z) measured from the simulated catalogues. First set up the config dictionary, then create the bin boundaries array for the chosen tomogaphy, then save n(z) to disk and plot.
- pcl_measurement.create_nz_boundaries.nz_fromsim_config(pipeline_variables_path)
Set up a config dictionary to generate an n(z) distribution as measured from the simulations
Parameters
- pipeline_variables_path(str)
Path to location of pipeline variables file (‘set_variables_3x2pt_measurement.ini’)
Returns
Dictionary of n(z) parameters