PYME.Analysis.deTile module¶
- PYME.Analysis.deTile.assemble_tiles(ds, xps, yps, mdh, split=True, skipMoveFrames=True, shiftfield=None, mixmatrix=[[1.0, 0.0], [0.0, 1.0]], correlate=False, dark=None, flat=None)¶
Assemble a tiled image from a dataset ds, given the x and y positions of each frame (xps, yps) and the metadata handler mdh.
- PYME.Analysis.deTile.assemble_tiles_xyztc(data, mdh, correlate=False, dark=None, flat=None)¶
Assemble a tiled image from a deterministically tiled data set and the metadata handler mdh.
Assumes tiles are along the time axis.
NOTE: This is the most naive and simple implementation, and will put the entire tiled reconstruction and a similarly sized occupancy matrix into RAM. There is a good chance that it will blow up on large datasets. TODO - create a pyramid instead.
- PYME.Analysis.deTile.calcCorrShift(im1, im2)¶
- PYME.Analysis.deTile.findRectangularROIs(mask)¶
- PYME.Analysis.deTile.genDark(ds, mdh, blur=2)¶
- PYME.Analysis.deTile.guessFlat(ds, mdh, dark)¶