Expand description
Owned region blocks and bounded access to an immutable Dataset.
use nmr::data::Region;
use nmr::resource::MemoryLimits;
let input = nmr::read("data/experiment")?;
let region = Region::new([0], [128])?;
let estimate = input.region_resources(®ion)?;
let block = input.read_region(®ion, MemoryLimits::new())?;
drop(input);
assert_eq!(block.region(), ®ion);Re-exports§
pub use crate::raw::Region;
Structs§
- Data
Block - An independent owned copy of one logical region, retaining every component. A block is not a new processing origin and carries no invented history.
Enums§
- Access
Error - A failure to validate or copy a dataset region.