Skip to content

yt-project/yt_experiments

Repository files navigation

yt_experiments

The yt_experiments package is a home for rapid prototyping of ideas that don't quite fit into the existing yt-Project ecosystem or would benefit from some community testing before being merged to yt.

Current experimental features:

OctTree conversion tools

OctTree, imported with

from yt_experiments.octree.converter import OctTree

can be used to create an Octree of cells then convert it into a format yt can ingest.

Tiled Arbitrary Grids and Image Pyramids

The YTTiledArbitraryGrid, YTArbitraryGridOctPyramid and YTArbitraryGridPyramid data objects allow creation of larger-than-memory fixed resolution arrays for fields from yt datasets by tiling together YTArbitraryGrid objects.

Import with

from yt_experiments.tiled_grid import (
    YTArbitraryGridOctPyramid,
    YTArbitraryGridPyramid,
    YTTiledArbitraryGrid,
)

and see the example notebook here for usage demonstrating how to convert yt field data to on-disk zarr arrays, including generation of a zarr image pyramid.

Contributing

Contributions are welcome and generally follow the same principles as main yt, including the Community Code of Conduct.

We'll try to review contributions quickly and cut new releases as new features are merged to make them accesible to the community as soon as possible.

Not sure your idea fits here or in one of the other yt Project packages? Reach out on slack (instructions for joining are here) or open an issue.

About

A repository containing some experimental packages and enhancements

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •