Module cryiorust::eiger[][src]

Expand description

Dectris Eiger frame reader.

It supports only HDF5 with bitshuffle plugin filter.

Example usage:

use cryiorust::eiger::Eiger;
use cryiorust::frame::Frame;
use std::path::Path;

fn test_eiger<P: AsRef<Path>>(path: P) {
    let testfile = path;
    let mut frame = Eiger::read_file(testfile).unwrap();
    assert_eq!(frame.sum(), 41808654083., "frame sum != 41808654083");
    frame.next_frame().unwrap();
    assert_eq!(frame.sum(), 41808571170., "frame sum != 41808571170");
}

Structs

Main exported struct.