pynbody.plot.util.inv_fourier

Contents

pynbody.plot.util.inv_fourier#

pynbody.plot.util.inv_fourier(p, nmin=1000, mmin=1, mmax=7, nphi=100)[source]#

Invert a profile with fourier coefficients to yield an overdensity map.

Inputs:

p : a Profile() object

Optional Keywords:

nmin (1000) : minimum number of particles required per bin

mmin (1) : lowest multiplicity Fourier component

mmax (7) : highest multiplicity Fourier component

nphi (100) : number of azimuthal bins to use for the map