pynbody.analysis.hmf.HarmonicStepFilter#

class pynbody.analysis.hmf.HarmonicStepFilter(context)[source]#

Bases: FieldFilter

A step filter in harmonic space

Methods

M_to_R(M)

Return the mass scale (Msol h^-1) for a given length (Mpc h^-1 comoving)

R_to_M(R)

Return the length scale (Mpc h^-1 comoving) for a given spherical mass (Msol h^-1)

Wk(kR)

Return the Fourier-space filter function, as a function of kR where R is the scale of the filter

__init__(context)[source]#
M_to_R(M)#

Return the mass scale (Msol h^-1) for a given length (Mpc h^-1 comoving)

R_to_M(R)#

Return the length scale (Mpc h^-1 comoving) for a given spherical mass (Msol h^-1)

static Wk(kR)[source]#

Return the Fourier-space filter function, as a function of kR where R is the scale of the filter