ARTIORootMeshSubset.
smooth
(positions, fields=None, index_fields=None, method=None, create_octree=False, nneighbors=64)¶Operate on the mesh, in a particle-against-mesh fashion, with non-local input.
This uses the octree indexing system to call a “smoothing” operation (defined in yt/geometry/particle_smooth.pyx) that can take input from several (non-local) particles and construct some value on the mesh. The canonical example is to conduct a smoothing kernel operation on the mesh.
Parameters: | positions : array_like (Nx3)
fields : list of arrays
index_fields : list of arrays
method : string
create_octree : bool
nneighbors : int, default 64
|
---|---|
Returns: | List of fortran-ordered, mesh-like arrays. : |