Top |
Class used to define a spectroscopic galaxy redshift $P_g(z) = \delta(z - z_\mathrm{spec})$.
NcGalaxyRedshiftSpec *
nc_galaxy_redshift_spec_new (void
);
Creates a new empty NcGalaxyRedshiftSpec.
NcGalaxyRedshiftSpec *
nc_galaxy_redshift_spec_ref (NcGalaxyRedshiftSpec *gzs
);
Increase the reference of gzs
by one.
void
nc_galaxy_redshift_spec_free (NcGalaxyRedshiftSpec *gzs
);
Decrease the reference count of gzs
by one.
void
nc_galaxy_redshift_spec_clear (NcGalaxyRedshiftSpec **gzs
);
Decrease the reference count of gzs
by one, and sets the pointer *gzs
to
NULL.
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
.
NcmVector *
nc_galaxy_redshift_spec_peek_z (NcGalaxyRedshiftSpec *gzs
);
Gets $\vec{z}_\mathrm{spec}$.
“z-spec”
property“z-spec” NcmVector *
Spectroscopic redshift.
Owner: NcGalaxyRedshiftSpec
Flags: Read / Write