cbf-0.1.0.0: Bindings to read Crystallographic Binary Files (mostly from detectors)
Safe HaskellNone
LanguageHaskell2010

Data.CBF

Description

Look at readCBF as a starting point.

Synopsis

Documentation

data CBFImage Source #

Decoded CBF image data, with contents

Constructors

CBFImage 

Fields

readCBF :: FilePath -> IO (Either Text CBFImage) Source #

Read a CBF file, without decoding its contents (see decodePixels for that)

decodePixels :: CBFImage -> Either String [Int64] Source #

Decode the actual pixel values inside the CBF file, possibly decompressing it.