sfof
Public Member Functions | Public Attributes | Private Attributes | List of all members
Zbin Class Reference

Class for storing redshift bin properties. More...

#include <zbin_class.hpp>

Public Member Functions

 Zbin (int num_val, double z_val, double z_bin_size)
 Initialise Zbin instance. More...
 
void assign_dist (double, double, double, double)
 This method calculates the angular diameter distance of a Zbin instance for a given cosmology. More...
 
void assign_rfriend (double)
 This method scales transverse lining parameter value to the redshift of the Zbin instance. More...
 
void assign_fixed_rfriend (double)
 This method sets a fixed transverse lining parameter value for the Zbin instance. More...
 

Public Attributes

int num
 Number associated to Zbin instance. More...
 
int count
 Number of Galaxy instances corresponding to Zbin instance. More...
 
double z
 Redshift of Zbin instance. More...
 
double dz
 Redshift bin size of Zbin instance. More...
 
double da
 Angular diameter distance of Zbin instance. More...
 
double dvdz
 Differential comoving volume of Zbin instance. More...
 
double dndz
 Surface number density of Zbin instance. More...
 
double dndv
 Volume number density of Zbin instance. More...
 
double link_r
 Corrected transverse linking parameter value of Zbin instance. More...
 
double rfriend
 Transverse linking radius of Zbin instance. More...
 

Private Attributes

Cosmo cosmo
 Include Cosmo class. More...
 

Detailed Description

Class for storing redshift bin properties.

This class calculates and stores Zbin properties.

Constructor & Destructor Documentation

◆ Zbin()

Zbin::Zbin ( int  num_val,
double  z_val,
double  z_bin_size 
)

Initialise Zbin instance.

Parameters
[in]num_valInteger value.
[in]z_valRedshift.
[in]z_bin_sizeRedshift bin size.

< Initialise Zbin instance.

Member Function Documentation

◆ assign_dist()

void Zbin::assign_dist ( double  c,
double  H0,
double  Omega_M,
double  Omega_L 
)

This method calculates the angular diameter distance of a Zbin instance for a given cosmology.

Parameters
[in]cSpeed of light [km/s].
[in]H0Hubble parameter [km/s/Mpc].
[in]Omega_MMatter density.
[in]Omega_LDark energy density.

◆ assign_fixed_rfriend()

void Zbin::assign_fixed_rfriend ( double  link_r_val)

This method sets a fixed transverse lining parameter value for the Zbin instance.

Parameters
[in]link_r_valTransverse linking parameter value.

◆ assign_rfriend()

void Zbin::assign_rfriend ( double  r_ref)

This method scales transverse lining parameter value to the redshift of the Zbin instance.

Parameters
[in]r_refReference transverse linking parameter value.

Member Data Documentation

◆ cosmo

Cosmo Zbin::cosmo
private

Include Cosmo class.

◆ count

int Zbin::count

Number of Galaxy instances corresponding to Zbin instance.

◆ da

double Zbin::da

Angular diameter distance of Zbin instance.

◆ dndv

double Zbin::dndv

Volume number density of Zbin instance.

◆ dndz

double Zbin::dndz

Surface number density of Zbin instance.

◆ dvdz

double Zbin::dvdz

Differential comoving volume of Zbin instance.

◆ dz

double Zbin::dz

Redshift bin size of Zbin instance.

◆ link_r

double Zbin::link_r

Corrected transverse linking parameter value of Zbin instance.

◆ num

int Zbin::num

Number associated to Zbin instance.

◆ rfriend

double Zbin::rfriend

Transverse linking radius of Zbin instance.

◆ z

double Zbin::z

Redshift of Zbin instance.


The documentation for this class was generated from the following files: