PYME.IO.clusterExport module

Created on Sun May 22 17:13:51 2016

@author: david

PYME.IO.clusterExport.ExportImageToCluster(image, filename, progCallback=None)

Exports the given image to a file on the cluster

Parameters
imagePYME.IO.image.ImageStack object

the source image

filenamestring

the filename on the cluster

class PYME.IO.clusterExport.ImageFrameSource

Bases: object

spoolData(data)

Extract frames from a data source.

Parameters
dataPYME.IO.DataSources.DataSource object

the data source. Needs to implement the getNumSlices() and getSlice() methods.

spoolImageFromFile(filename)

Load an image file and then spool

class PYME.IO.clusterExport.MDSource(mdh)

Bases: object

Spoof a metadata source for the spooler

PYME.IO.clusterExport.suggest_cluster_filename(image)