yt.extensions.coordinate_transforms.spherical_regrid

yt.extensions.coordinate_transforms.spherical_regrid(pf, nr, ntheta, nphi, rmax, fields, center=None, smoothed=True)

This function takes a parameter file (pf) along with the nr, ntheta and nphi points to generate out to rmax, and it grids fields onto those points and returns a dict. center if supplied will be the center, otherwise the most dense point will be chosen. smoothed governs whether regular covering grids or smoothed covering grids will be used.

Previous topic

yt.extensions.coordinate_transforms.arbitrary_regrid

Next topic

yt.extensions.disk_analysis.StackedDiskImage

This Page