yt.frontends.sph.io module

Generic file-handing functions for SPH data

class yt.frontends.sph.io.IOHandlerSPH(ds)[source]

Bases: BaseParticleIOHandler

IOHandler implementation specifically for SPH data

This exists to handle particles with smoothing lengths, which require us to read in smoothing lengths along with the the particle coordinates to determine particle extents.

At present this is non-functional.

io_iter(chunks, fields: list[tuple[str, str]])
peek(grid, field)
preload(chunk, fields: list[tuple[str, str]], max_size)
push(grid, field, data)