ytree.frontends.consistent_trees_hdf5.io.ConsistentTreesHDF5RootFieldIO
- class ytree.frontends.consistent_trees_hdf5.io.ConsistentTreesHDF5RootFieldIO(arbor, default_dtype=<class 'numpy.float64'>)[source]
Read in fields for first node in all trees/forest.
This function is optimized for the struct of arrays layout. It will work for array of structs layout, but field access will be 1 to 2 orders of magnitude slower.
- __init__(arbor, default_dtype=<class 'numpy.float64'>)
Methods
__init__(arbor[, default_dtype])get_fields(data_object[, fields])Load field data for a data object into storage structures.