imfun.ui

class imfun.ui.CircleROI(obj, parent)

Draggable Circle ROI

get_zview(normp=False)

return z-series (for timelapse — timeseries) from roi

Parameters:
  • if normp is False, returns raw timeseries v
  • if normp is a function f, returns f(v)
  • if normp is a number N, returns \Delta v/v_0, where v_0 is calculated over N first points
  • else, returns \Delta v/\bar v
move(p)

Move the ROI when the mouse is pressed over it

class imfun.ui.DraggableObj(obj, parent)

Basic class for objects that can be dragged on the screen

connect()

connect all the needed events

class imfun.ui.VesselContours(data, title='')

UI for finding vessel contours in cross-lines

imfun.ui.translate(p1, p2)

returns translation vector used to ||-translate line segment p1,p2 in an orthogonal direction