Struct

NumCosmoGalaxyRedshiftObsData

Description [src]

struct NcGalaxyRedshiftObsData {
  gpointer ldata;
  GDestroyNotify ldata_destroy;
  void (* ldata_read_row) (
    NcGalaxyRedshiftObsData* data,
    NcGalaxyWLObs* obs,
    const guint i
  );;
  void (* ldata_write_row) (
    NcGalaxyRedshiftObsData* data,
    NcGalaxyWLObs* obs,
    const guint i
  );;
  void (* ldata_required_columns) (
    NcGalaxyRedshiftObsData* data,
    GList** columns
  );;
  gatomicrefcount ref_count;
}

Per-galaxy data for the photometric-redshift observable model. Following the NcGalaxyShapePopData idiom, the whole per-galaxy photometric-redshift observation (e.g. the point estimate and its scatter) lives in the opaque ldata owned by the concrete subclass: the observation’s structure is defined by the observable model, so the redshift calculator never accesses it directly.

Structure members
ldata: gpointer

No description available.

ldata_destroy: GDestroyNotify

No description available.

ldata_read_row: void (* ldata_read_row) ( NcGalaxyRedshiftObsData* data, NcGalaxyWLObs* obs, const guint i )

No description available.

ldata_write_row: void (* ldata_write_row) ( NcGalaxyRedshiftObsData* data, NcGalaxyWLObs* obs, const guint i )

No description available.

ldata_required_columns: void (* ldata_required_columns) ( NcGalaxyRedshiftObsData* data, GList** columns )

No description available.

ref_count: gatomicrefcount

No description available.

Constructors

nc_galaxy_redshift_obs_data_new

Creates a new per-galaxy NcGalaxyRedshiftObsData for gsdre.

Instance methods

nc_galaxy_redshift_obs_data_read_row

Reads the photometric-redshift observation of row i.

nc_galaxy_redshift_obs_data_ref

Increases the reference count of data by one.

nc_galaxy_redshift_obs_data_unref

Decreases the reference count of data by one. If it reaches 0, data is freed.

nc_galaxy_redshift_obs_data_write_row

Writes the photometric-redshift observation of row i.