NcGalaxyRedshiftSpec

NcGalaxyRedshiftSpec — Class describing spectroscopic galaxy redshifts.

Functions

Properties

NcmVector * z-spec Read / Write

Object Hierarchy

    GObject
    ╰── NcGalaxyRedshift
        ╰── NcGalaxyRedshiftSpec

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.

Returns

The newly created NcGalaxyRedshiftSpec.

[transfer full]


nc_galaxy_redshift_spec_ref ()

NcGalaxyRedshiftSpec *
nc_galaxy_redshift_spec_ref (NcGalaxyRedshiftSpec *gzs);

Increase the reference of gzs by one.

Parameters

Returns

gzs .

[transfer full]


nc_galaxy_redshift_spec_free ()

void
nc_galaxy_redshift_spec_free (NcGalaxyRedshiftSpec *gzs);

Decrease the reference count of gzs by one.

Parameters


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.

Parameters


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 .

Parameters

gzs

a NcGalaxyRedshiftSpec

 

z_spec

a NcmVector

 

nc_galaxy_redshift_spec_peek_z ()

NcmVector *
nc_galaxy_redshift_spec_peek_z (NcGalaxyRedshiftSpec *gzs);

Gets $\vec{z}_\mathrm{spec}$.

Parameters

Returns

$z_\mathrm{spec}$.

[transfer none]

Property Details

The “z-spec” property

  “z-spec”                   NcmVector *

Spectroscopic redshift.

Owner: NcGalaxyRedshiftSpec

Flags: Read / Write