Crate n5

Source
Expand description

Interfaces for the N5 “Not HDF5” n-dimensional tensor file system storage format created by the Saalfeld lab at Janelia Research Campus.

Re-exports§

pub extern crate smallvec;
pub use data_type::*;

Modules§

compression
Compression for block voxel data.
data_type
filesystem
A filesystem-backed N5 container.
ndarray
prelude
N5 prelude.

Macros§

data_type_match
Match a DataType-valued expression, and in each arm repeat the provided code block with the token RsType replaced with the primitive type appropriate for that arm.
data_type_rstype_replace
Replace all RsType tokens with the provide type.

Structs§

BlockHeader
Unencoded, non-payload header of a data block.
DataBlockMetadata
Container metadata about a data block.
DatasetAttributes
Attributes of a tensor dataset.
DefaultBlock
SliceDataBlock
A generic data block container wrapping any type that can be taken as a slice ref.
Version
Represents a version number conforming to the semantic versioning scheme.

Constants§

VERSION
Version of the Java N5 spec supported by this library.
VERSION_ATTRIBUTE_KEY
Key name for the version attribute in the container root.

Traits§

DataBlock
Common interface for data blocks of element (rust) type T.
DefaultBlockHeaderReader
DefaultBlockReader
Reads blocks from rust readers.
DefaultBlockWriter
Writes blocks to rust writers.
N5Lister
Non-mutating operations on N5 containers that support group discoverability.
N5Reader
Non-mutating operations on N5 containers.
N5Writer
Mutating operations on N5 containers.
ReadableDataBlock
Traits for data blocks that can read in data.
ReinitDataBlock
Traits for data blocks that can be reused as a different blocks after construction.
WriteableDataBlock
Traits for data blocks that can write out data.

Functions§

is_version_compatible
Determines whether a version of an N5 implementation is capable of accessing a version of an N5 container (other).

Type Aliases§

BlockCoord
CoordVec
GridCoord
VecDataBlock
A linear vector storing a data block. All read data blocks are returned as this type.