pynbody.analysis.hmf.FieldFilter#

class pynbody.analysis.hmf.FieldFilter[source]#

Bases: object

Represents a filter acting on a field

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__(*args, **kwargs)#
M_to_R(M)[source]#

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

R_to_M(R)[source]#

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