yt.geometry.particle_smooth module

Particle smoothing in cells

class yt.geometry.particle_smooth.IDWInterpolationSmooth

Bases: ParticleSmoothOperation

finalize()
initialize()
nvals
p2
process_grid(gobj, positions, fields=None)
process_octree(mesh_octree, mdom_ind, positions, oct_positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), index_fields=None, particle_octree=None, pdom_ind=None, geometry='cartesian')
process_particles(particle_octree, pdom_ind, positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), geometry='cartesian')
vals
class yt.geometry.particle_smooth.NearestNeighborSmooth

Bases: ParticleSmoothOperation

finalize()
initialize()
nvals
process_grid(gobj, positions, fields=None)
process_octree(mesh_octree, mdom_ind, positions, oct_positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), index_fields=None, particle_octree=None, pdom_ind=None, geometry='cartesian')
process_particles(particle_octree, pdom_ind, positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), geometry='cartesian')
vals
class yt.geometry.particle_smooth.NthNeighborDistanceSmooth

Bases: ParticleSmoothOperation

finalize()
initialize()
nvals
process_grid(gobj, positions, fields=None)
process_octree(mesh_octree, mdom_ind, positions, oct_positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), index_fields=None, particle_octree=None, pdom_ind=None, geometry='cartesian')
process_particles(particle_octree, pdom_ind, positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), geometry='cartesian')
class yt.geometry.particle_smooth.ParticleSmoothOperation

Bases: object

finalize(*args)
initialize(*args)
nvals
process_grid(gobj, positions, fields=None)
process_octree(mesh_octree, mdom_ind, positions, oct_positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), index_fields=None, particle_octree=None, pdom_ind=None, geometry='cartesian')
process_particles(particle_octree, pdom_ind, positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), geometry='cartesian')
class yt.geometry.particle_smooth.SmoothedDensityEstimate

Bases: ParticleSmoothOperation

finalize()
initialize()
nvals
process_grid(gobj, positions, fields=None)
process_octree(mesh_octree, mdom_ind, positions, oct_positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), index_fields=None, particle_octree=None, pdom_ind=None, geometry='cartesian')
process_particles(particle_octree, pdom_ind, positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), geometry='cartesian')
class yt.geometry.particle_smooth.VolumeWeightedSmooth

Bases: ParticleSmoothOperation

finalize()
initialize()
nvals
process_grid(gobj, positions, fields=None)
process_octree(mesh_octree, mdom_ind, positions, oct_positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), index_fields=None, particle_octree=None, pdom_ind=None, geometry='cartesian')
process_particles(particle_octree, pdom_ind, positions, fields=None, domain_id=-1, domain_offset=0, periodicity=(True, True, True), geometry='cartesian')
vals
yt.geometry.particle_smooth.density_smooth

alias of SmoothedDensityEstimate

yt.geometry.particle_smooth.idw_smooth

alias of IDWInterpolationSmooth

yt.geometry.particle_smooth.nearest_smooth

alias of NearestNeighborSmooth

yt.geometry.particle_smooth.nth_neighbor_smooth

alias of NthNeighborDistanceSmooth

yt.geometry.particle_smooth.volume_weighted_smooth

alias of VolumeWeightedSmooth