Class
NumCosmoXcorKernelAnalyticTophatSmooth
Description [src]
final class NumCosmo.XcorKernelAnalyticTophatSmooth : NumCosmo.XcorKernelRadial
{
/* No available fields */
}
Top-hat convolved with a Gaussian: what a real tomographic bin looks like.
\begin{equation} W(\chi) = \frac{1}{N}\left[ \mathrm{erf}\left(\frac{\chi_\mathrm{u} - \chi}{\sqrt{2}\sigma}\right) - \mathrm{erf}\left(\frac{\chi_\mathrm{l} - \chi}{\sqrt{2}\sigma}\right) \right] , \end{equation}
the exact convolution of the indicator of $[\chi_\mathrm{l}, \chi_\mathrm{u}]$ with a Gaussian of width $\sigma$, truncated at $n\sigma$ beyond each edge and renormalized there in closed form.
This sits between NcXcorKernelAnalyticTophat and NcXcorKernelAnalyticGauss
and matches a photo-z bin more closely than either: bin edges are sharp in
true redshift but the photo-z scatter smooths them, so the window is flat in
the middle with rounded shoulders rather than either a hard step or a single
bump. $\sigma \to 0$ recovers the top-hat and
$\chi_\mathrm{u} \to \chi_\mathrm{l}$ the Gaussian, so it interpolates the two
stress cases the other shapes probe separately.
See NcXcorKernelRadial for the unit and normalization conventions.
Constructors
nc_xcor_kernel_analytic_tophat_smooth_new_full
Creates a new NcXcorKernelAnalyticTophatSmooth carrying sbi, as
nc_xcor_kernel_analytic_tophat_smooth_new() does not. A NcXcorKernel only
accepts the non-Limber modes of nc_xcor_kernel_set_l_limber() once it holds
an integrator, so this is the constructor to use for them.
Instance methods
Methods inherited from NcXcorKernelRadial (9)
nc_xcor_kernel_radial_eval_W
Evaluates the whole radial window, the sum of its components, normalized to unit integral over its support and zero outside it.
nc_xcor_kernel_radial_eval_W_comp
Evaluates component comp of the radial window at chi, zero outside the
interval that nc_xcor_kernel_radial_get_comp_support() reports for it. The
components sum to a window of unit integral.
nc_xcor_kernel_radial_eval_kernel_factor
Evaluates a multiplicative factor of $(\chi, k)$ applied to component comp
on top of $W(\chi)\sqrt{P(k,0)}$. It must not depend on $\ell$: one closure
serves a whole block of multipoles, so anything $\ell$-dependent belongs in
nc_xcor_kernel_radial_eval_prefactor() instead.
nc_xcor_kernel_radial_eval_prefactor
Evaluates a multiplicative factor that depends only on $\ell$, applied to
component comp. Shear contributes $\sqrt{(\ell+2)(\ell+1)\ell(\ell-1)}$ here.
nc_xcor_kernel_radial_get_comp_bessel_deriv
Gets the derivative order of the spherical Bessel weight of component comp:
0 for $j_\ell$, 2 for the $j_\ell”$ of a redshift-space distortion term.
It is set on the NcXcorKernelComponent at construction.
nc_xcor_kernel_radial_get_comp_support
Gets the interval outside which component comp vanishes. It is exactly the
interval that component is integrated over, so the boundary is exact by
construction rather than something the quadrature has to locate.
nc_xcor_kernel_radial_get_n_comps
Gets the number of components the window is split into: its maximal intervals of support. Each is integrated separately over exactly its own interval, so that a boundary is never interior to an integration domain.
nc_xcor_kernel_radial_get_support
Gets the hull of the components’ intervals, outside which the whole window vanishes. Components may be disjoint, so the hull can contain gaps where the window is zero; it is what fixes the kernel’s redshift range, not what anything is integrated over.
nc_xcor_kernel_radial_peek_kdep
Gets the scale-dependent factor the kernel carries, if any.
Methods inherited from NcXcorKernel (42)
Please see NcXcorKernel for a full list of methods.
Properties
NumCosmo.XcorKernelAnalyticTophatSmooth:chi-lower
Lower edge $\chi_\mathrm{l}$ of the bin before smoothing, in Mpc.
NumCosmo.XcorKernelAnalyticTophatSmooth:chi-sigma
Width $\sigma$ of the smoothing, in Mpc: the photo-z scatter that rounds the bin edges.
NumCosmo.XcorKernelAnalyticTophatSmooth:chi-upper
Upper edge $\chi_\mathrm{u}$ of the bin before smoothing, in Mpc.
NumCosmo.XcorKernelAnalyticTophatSmooth:n-sigma
How far beyond each edge the window is kept, in units of $\sigma$. Part of
the definition, as in NcXcorKernelAnalyticGauss.
Properties inherited from NcXcorKernelRadial (2)
NumCosmo.XcorKernelRadial:bessel-deriv
Derivative order of the spherical Bessel weight every component of this kernel carries: 0 for $j_\ell$, 1 for $j_\ell’$, 2 for the $j_\ell”$ of a redshift-space distortion term. The derivative is with respect to the argument $x = k\chi$.
NumCosmo.XcorKernelRadial:scale-dependence
Optional NcXcorKernelRadialKDep multiplying the radial integrand, or
NULL for none. Any shape may carry any scale dependence, so the two are
varied independently rather than baked into separate kernel classes.
Properties inherited from NcXcorKernel (14)
NumCosmo.XcorKernel:adaptive-boundary-tries
NumCosmo.XcorKernel:adaptive-epsilon
Convergence threshold for the adaptive $k$-range determination: sampling stops
extending outwards once $\Vert W\Vert$ falls below this fraction of its running
maximum, for NcXcorKernel:adaptive-boundary-tries consecutive steps.
NumCosmo.XcorKernel:dist
NumCosmo.XcorKernel:expansion-factor
NumCosmo.XcorKernel:integrator
NumCosmo.XcorKernel:l-limber
NumCosmo.XcorKernel:lmax
NumCosmo.XcorKernel:max-border-expansions
NumCosmo.XcorKernel:max-iter
NumCosmo.XcorKernel:panel-order-cap
Highest Chebyshev order tried on one panel before it is bisected, as $N = 2^\mathrm{cap} + 1$ coefficients.
NumCosmo.XcorKernel:peak-epsilon
Peak-relative floor of the adaptive refinement of the $W_i(k)$ closure. An
interval is accepted once its estimated interpolation error falls below
peak-epsilon $\times \max\vert F\vert$, the maximum taken over the smallest
of the block’s peaks so that a sub-dominant multipole is not held to a
tolerance relative to its neighbours.
NumCosmo.XcorKernel:powspec
NumCosmo.XcorKernel:reltol
Relative tolerance for the adaptive refinement of the $W_i(k)$ spline.
NumCosmo.XcorKernel:track-fit-residual
Whether the closure records the residual its fit achieved on each interval
it is a single polynomial on — a knot interval of a spline closure, a
panel of a Chebyshev one. That record is what nc_xcor_compute_full() turns
into an error estimate. On by default: without it the estimate has only
NcXcorKernel:reltol and NcXcorKernel:peak-epsilon to work from — the
tolerances the fit was asked for, which it beats by 12 to 3100 times
depending on the kernel, so the resulting bound tracks the pair’s
cancellation rather than its accuracy.
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.