hexrd.imageseries.process module

Class for processing individual frames

class hexrd.imageseries.process.ProcessedImageSeries(imser, oplist, **kwargs)[source]

Bases: ImageSeries

imsageseries based on existing one with image processing options

Parameters

imser: ImageSeries

an existing imageseries

oplist: list

list of processing operations; each option is a (key, data) pair, with key specifying the operation to perform using specified data

frame_list: list of ints or None, default = None

specify subset of frames by list; if None, then all frames are used

ADD = 'add'
DARK = 'dark'
FLIP = 'flip'
GAUSS_LAPLACE = 'gauss_laplace'
RECT = 'rectangle'
addop(key, func)[source]

Add operation to processing options

key - string to use to specify this op func - function to call for this op: f(data)

property dtype
property metadata
property oplist

list of operations to apply

property shape