Top | ![]() |
![]() |
![]() |
![]() |
NcGalaxyRedshiftGaussNcGalaxyRedshiftGauss — Class describing Gaussian photometric galaxy redshifts. |
Functions
Functions
nc_galaxy_redshift_gauss_new ()
NcGalaxyRedshiftGauss *
nc_galaxy_redshift_gauss_new (void
);
Creates a new NcGalaxyRedshiftGauss.
nc_galaxy_redshift_gauss_ref ()
NcGalaxyRedshiftGauss *
nc_galaxy_redshift_gauss_ref (NcGalaxyRedshiftGauss *gzg
);
Increase the reference of gzg
by one.
nc_galaxy_redshift_gauss_free ()
void
nc_galaxy_redshift_gauss_free (NcGalaxyRedshiftGauss *gzg
);
Decrease the reference count of gzg
by one.
nc_galaxy_redshift_gauss_clear ()
void
nc_galaxy_redshift_gauss_clear (NcGalaxyRedshiftGauss **gzg
);
Decrease the reference count of gzg
by one, and sets the pointer *gzg
to
NULL.
nc_galaxy_redshift_gauss_set_obs ()
void nc_galaxy_redshift_gauss_set_obs (NcGalaxyRedshiftGauss *gzg
,NcmMatrix *obs
);
Sets the observables of the redshift distribution through
the matrix obs
. obs
should contain two columns where the
first contain the mean redshift $\bar{z}$ and the second
the standard deviation $\sigma_z$.
nc_galaxy_redshift_gauss_peek_obs ()
NcmMatrix *
nc_galaxy_redshift_gauss_peek_obs (NcGalaxyRedshiftGauss *gzg
);
Gets observations matrix.
Property Details
The “obs”
property
“obs” NcmMatrix *
Redshift observables.
Owner: NcGalaxyRedshiftGauss
Flags: Read / Write