PYME.DSView.displayOptions module

class PYME.DSView.displayOptions.DisplayOpts(datasource, xp=0, yp=0, zp=0, aspect=1)

Bases: object

ACTION_POSITION = 0
ACTION_SELECTION = 1
ACTION_SELECT_OBJECT = 2
EndSelection()
GetActiveChans()
GetSliceSelection()
OnChange()
Optimise()
ROT90 = 1
ResetSelection()
SLICE_XY = 0
SLICE_XZ = 1
SLICE_YZ = 2
SetAspect(aspect)
SetCMap(chan, cmap)
SetDataStack(datasource)
SetGain(chan, gain)
SetOffset(chan, offset)
SetOrientation(orientation)
SetScale(scale)
SetSelection(begin, end)
SetSlice(slice)
Show(chan, sh=True)
Synchronise(other)
UPRIGHT = 0
property complexMode
get_hist_data()

Get data to display in an image histogram. Only returns a subset of the data for large images

Returns
property sorted_selection
property thresholds
property tp
property xp
property yp
property zp
class PYME.DSView.displayOptions.MyWeakSet(data=None)

Bases: WeakSet

append(item)
PYME.DSView.displayOptions.fast_grey(data)
PYME.DSView.displayOptions.labeled(data)