Top | ![]() |
![]() |
![]() |
![]() |
Description
Class used to define a spectroscopic galaxy redshift $P_g(z) = \delta(z - z_\mathrm{spec})$.
Functions
nc_galaxy_redshift_spec_new ()
NcGalaxyRedshiftSpec *
nc_galaxy_redshift_spec_new (void
);
Creates a new empty NcGalaxyRedshiftSpec.
nc_galaxy_redshift_spec_ref ()
NcGalaxyRedshiftSpec *
nc_galaxy_redshift_spec_ref (NcGalaxyRedshiftSpec *gzs
);
Increase the reference of gzs
by one.
nc_galaxy_redshift_spec_free ()
void
nc_galaxy_redshift_spec_free (NcGalaxyRedshiftSpec *gzs
);
Decrease the reference count of gzs
by one.
nc_galaxy_redshift_spec_clear ()
void
nc_galaxy_redshift_spec_clear (NcGalaxyRedshiftSpec **gzs
);
Decrease the reference count of gzs
by one, and sets the pointer *gzs
to
NULL.
nc_galaxy_redshift_spec_set_z ()
void nc_galaxy_redshift_spec_set_z (NcGalaxyRedshiftSpec *gzs
,NcmVector *z_spec
);
Sets the vector of the spectroscopic redshift $\vec{z}_\mathrm{spec}$ = z_spec
.
nc_galaxy_redshift_spec_peek_z ()
NcmVector *
nc_galaxy_redshift_spec_peek_z (NcGalaxyRedshiftSpec *gzs
);
Gets $\vec{z}_\mathrm{spec}$.
Property Details
The “z-spec”
property
“z-spec” NcmVector *
Spectroscopic redshift.
Owner: NcGalaxyRedshiftSpec
Flags: Read / Write