Xray::BLA::Image

NAME

Xray::BLA::Image - Role for importing signed 32 bit TIFF files

VERSION

See Xray::BLA

METHODS

Read

Read a signed 32 bit image from the Pilatus into a PDL data structure and set the columns and rows attributes of the Xray::BLA object.

my $image = $self->Read($pilatus_image);

A million thanks to Chris Marshall for his help on the problem of reading signed 32 bit tiff files! The old PDL-general archives from before the move to SourceForge doen't seem to be available, Here is my question and Chris' answer from the Wayback Machine: https://web.archive.org/web/20141030084128/http://mailman.jach.hawaii.edu/pipermail/perldl/2014-March/008623.html

fetch_metadata

Fetch metadata about the Piltus image from the tiff headers. Return an anonymous hash containing Model, DateTime, BitsPerSample, width, and height.

my $hash = $self->fetch_metadata($pilatus_image);

AUTHOR

Bruce Ravel (bravel AT bnl DOT gov)

http://github.com/bruceravel/BLA-XANES