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)#