Struct

NumCosmoGalaxyShapePopData

Description [src]

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

Per-galaxy data for the intrinsic ellipticity distribution. Mirrors the NcGalaxyShapeFactorData / NcGalaxyPositionFactorData idiom: typed public fields plus an opaque ldata holding the subclass-specific, varying/updatable resolved parameters (filled by nc_galaxy_shape_pop_prepare()). The model is the factory (nc_galaxy_shape_pop_data_new()).

Structure members
e_rms: gdouble

Per-galaxy intrinsic shape scatter input (used by per-galaxy models; ignored by global models).

ldata: gpointer

No description available.

ldata_destroy: GDestroyNotify

No description available.

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

No description available.

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

No description available.

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

No description available.

ldata_get_sigma: gdouble (* ldata_get_sigma) ( NcGalaxyShapePopData* data )

No description available.

ldata_get_mode_x: gdouble (* ldata_get_mode_x) ( NcGalaxyShapePopData* data )

No description available.

ref_count: gatomicrefcount

No description available.

Constructors

nc_galaxy_shape_pop_data_new

Creates a new per-galaxy NcGalaxyShapePopData for gsp.

Instance methods

nc_galaxy_shape_pop_data_read_row

Reads the intrinsic-distribution inputs of row i.

nc_galaxy_shape_pop_data_ref

Increases the reference count of data by one.

nc_galaxy_shape_pop_data_required_columns
No description available.

nc_galaxy_shape_pop_data_unref

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

nc_galaxy_shape_pop_data_write_row

Writes the intrinsic-distribution inputs of row i.