Class

NumCosmoGalaxyShapePopBeta

Description [src]

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

Beta intrinsic ellipticity distribution (BetaGlobal).

The squared intrinsic ellipticity modulus $x = |\chi_I|^2$ follows a Beta distribution $x \sim \mathrm{Beta}(\alpha,\beta)$ with $\alpha = \mu\nu$ and $\beta = (1-\mu)\nu$, where $\mu$ controls the typical ellipticity and $\nu$ the concentration: $$P(x) = \frac{x^{\alpha-1}(1-x)^{\beta-1}}{B(\alpha,\beta)}, \qquad x\in[0,1].$$ eval_p_rho2() overrides the generic default with the equivalent rational form in $\rho^2$, $x=\rho^2/(1+\rho^2)$: $$P(x(\rho^2)) = \frac{\rho^{2(\alpha-1)}}{B(\alpha,\beta)\,(1+\rho^2)^{\alpha+\beta-2}},$$ avoiding forming $1-x$ by subtraction.

Constructors

nc_galaxy_shape_pop_beta_new

Creates a new NcGalaxyShapePopBeta.

Functions

nc_galaxy_shape_pop_beta_clear

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

Instance methods

nc_galaxy_shape_pop_beta_free

Decreases the reference count of gspb by one.

nc_galaxy_shape_pop_beta_ref

Increases the reference count of gspb by one.

Methods inherited from NcGalaxyShapePop (10)
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 normalized density $P(x)$ of the squared intrinsic ellipticity modulus, reading the resolved parameters from data (no live parameter access).

nc_galaxy_shape_pop_eval_p_rho2

Evaluates the same density as nc_galaxy_shape_pop_eval_p(), but parameterized directly by $\rho^2$ instead of $x$. The default implementation just substitutes $x=\rho^2/(1+\rho^2)$ into eval_p(); a subclass overrides it only when its density has a genuinely more direct or better-conditioned form in $\rho^2$ (see NcGalaxyShapePopBeta, whose density is a rational power of $\rho^2$ with no need to ever form $1-x$ by subtraction). Intended for calculators that already work in $(u,v)$ via a disc-compactifying substitution (e.g. NcGalaxyShapeFactorQuad), where $\rho^2$ is the natural coordinate.

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_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_x

Gets the mode of $x=|\chi_I|^2$ for this galaxy’s resolved population density, i.e. where $P(x)$ peaks. This is a per-data capability (data->ldata_get_mode_x), 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() / nc_galaxy_shape_pop_eval_p_rho2() read.

nc_galaxy_shape_pop_ref

Increases the reference count of gsp by one.

Methods inherited from NcmModel (89)

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.GalaxyShapePopBeta:mu

The mean $\mu = \langle x \rangle$ of the Beta distribution of $x = |\chi_I|^2$.

NumCosmo.GalaxyShapePopBeta:mu-fit
No description available.

NumCosmo.GalaxyShapePopBeta:nu

The concentration $\nu = \alpha + \beta$ of the Beta distribution.

NumCosmo.GalaxyShapePopBeta:nu-fit
No description available.

Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
No description available.
NumCosmoMath.Model:name
No description available.
NumCosmoMath.Model:nick
No description available.
NumCosmoMath.Model:params-types
No description available.
NumCosmoMath.Model:reparam
No description available.
NumCosmoMath.Model:scalar-params-len
No description available.
NumCosmoMath.Model:sparam-array
No description available.
NumCosmoMath.Model:submodel-array
No description available.
NumCosmoMath.Model:vector-params-len
No description available.

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 NumCosmoGalaxyShapePopBetaClass {
  NcGalaxyShapePopClass parent_class;
  
}

No description available.

Class members
parent_class: NcGalaxyShapePopClass

No description available.