Class

NumCosmoGalaxyShapePopGauss

Description [src]

final class NumCosmo.GalaxyShapePopGauss : NumCosmo.GalaxyShapePop
{
  /* No available fields */
}

Truncated-Gaussian intrinsic ellipticity distribution.

The intrinsic ellipticity follows an isotropic Gaussian of width $\sigma$ truncated to the unit disk: the 2D area density is $P_\mathrm{2D}(\chi_I) \propto \exp(-r^2/2\sigma^2)$, $r=|\chi_I|$. The public r-marginal contract (see NcGalaxyShapePop‘s own docs) is $P_\mathrm{pop}(r) = 2\pi r\,P_\mathrm{2D}(r) \propto r\exp(-r^2/2\sigma^2)$ on $[0,1)$ — multiplying the natural area-density form by $r$, always safe (never a pole), unlike populations whose natural form is the r-marginal itself (see NcGalaxyShapePopBeta).

Constructors

nc_galaxy_shape_pop_gauss_new

Creates a new NcGalaxyShapePopGauss.

Functions

nc_galaxy_shape_pop_gauss_clear

Decreases the reference count of gspg by one, and sets the pointer gspg to NULL.

Instance methods

nc_galaxy_shape_pop_gauss_free

Decreases the reference count of gspg by one.

nc_galaxy_shape_pop_gauss_ref

Increases the reference count of gspg by one.

Methods inherited from NcGalaxyShapePop (11)
nc_galaxy_shape_pop_e_rms

Computes the per-component intrinsic RMS ellipticity $e_\mathrm{rms} = \sqrt{\langle |\chi_I|^2 \rangle / 2}$ implied by data.

nc_galaxy_shape_pop_eval_p

Evaluates the population’s own natural r-marginal density $P_\mathrm{pop}(r)$, normalized so $\int_0^1 P_\mathrm{pop}(r)\,\mathrm{d}r=1$, reading the resolved parameters from data (no live parameter access). This is NOT a 2D area density — a consumer needing the density with respect to $\mathrm{d}^2\chi_I$ computes $P_\mathrm{pop}(r)/(2\pi r)$ itself (see the class docs for why that division, not this vfunc, is where any $r=0$ divergence for a population like NcGalaxyShapePopBeta with $\alpha<2$ actually lives).

nc_galaxy_shape_pop_eval_p_array

Batched form of nc_galaxy_shape_pop_eval_p(): evaluates the population density at every element of r in one call.

nc_galaxy_shape_pop_eval_p_rho2_g_series

Taylor-in-$g$ analog of nc_galaxy_shape_pop_eval_p(): composes this population’s own fully normalized density with the (already computed, population-independent) shear-map series $x(g)$, order by order in $g$. There is no generic default — every subclass used with NcGalaxyShapeFactorSeriesLensed must provide its own implementation; the base class errors clearly otherwise.

nc_galaxy_shape_pop_exponent_at_origin

Determines how the population density behaves at the origin.

nc_galaxy_shape_pop_free

Decreases the reference count of gsp by one.

nc_galaxy_shape_pop_gen

Samples an intrinsic ellipticity $\chi_I = e_1 + i e_2$ from data.

nc_galaxy_shape_pop_get_mode_r

Gets the mode of $r=|\chi_I|$ for this galaxy’s resolved population density, i.e. where $P_\mathrm{pop}(r)$ peaks. This is a per-data capability (data->ldata_get_mode_r), not a virtual method, mirroring nc_galaxy_shape_pop_get_sigma(); unlike that capability, 0 is always a meaningful default (the model is assumed radially symmetric about $\chi_I=0$ unless it says otherwise), so this never errors.

nc_galaxy_shape_pop_get_sigma

Gets the (untruncated) Gaussian width sigma resolved for this galaxy, for models that parameterize their density this way (the Gauss family, Global or per-galaxy). This is a per-data capability (data->ldata_get_sigma), not a virtual method: any concrete model sharing the same internal representation can populate it, regardless of its position in the class hierarchy.

nc_galaxy_shape_pop_prepare

Resolves the model parameters (and the per-galaxy data->e_rms, for per-galaxy models) into data: the subclass-specific parameters stored in data->ldata that nc_galaxy_shape_pop_eval_p() reads.

nc_galaxy_shape_pop_ref

Increases the reference count of gsp by one.

Methods inherited from NcmModel (91)

Please see NcmModel for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.GalaxyShapePopGauss:sigma

The width $\sigma$ of the truncated Gaussian intrinsic ellipticity.

NumCosmo.GalaxyShapePopGauss:sigma-fit
No description available.

Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation

The implementation flags of the model class, see ncm_model_check_impl_flag().

NumCosmoMath.Model:name

The name of the model class.

NumCosmoMath.Model:nick

The nickname of the model class.

NumCosmoMath.Model:params-types

The NcmParamType of each parameter.

NumCosmoMath.Model:reparam

The reparametrization, see ncm_model_set_reparam().

NumCosmoMath.Model:scalar-params-len

The number of scalar parameters.

NumCosmoMath.Model:sparam-array

The parameter descriptions that differ from the class ones, NcmSParam keyed by parameter index. Each one is placed by its parameter name: a description of a parameter declared with ncm_model_class_add_removed_param() is skipped, and one of any other unknown parameter aborts.

NumCosmoMath.Model:submodel-array

The submodels, attached at construction.

NumCosmoMath.Model:vector-params-len

The number of vector parameters (not their lengths).

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoGalaxyShapePopGaussClass {
  NcGalaxyShapePopClass parent_class;
  
}

No description available.

Class members
parent_class: NcGalaxyShapePopClass

No description available.