Qudi
Public Member Functions | Public Attributes | List of all members
magnet_gui.CrossLine Class Reference

Construct one line for the Crosshair in the plot. More...

Inheritance diagram for magnet_gui.CrossLine:
Inheritance graph
[legend]
Collaboration diagram for magnet_gui.CrossLine:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, args)
 
def adjust (self, extroi)
 Run this function to adjust the position of the Crosshair-Line. More...
 

Public Attributes

 angle
 

Detailed Description

Construct one line for the Crosshair in the plot.

Parameters
floatpos: optional parameter to set the position
floatangle: optional parameter to set the angle of the line
dictpen: Configure the pen.

For additional options consider the documentation of pyqtgraph.InfiniteLine

Member Function Documentation

◆ adjust()

def magnet_gui.CrossLine.adjust (   self,
  extroi 
)

Run this function to adjust the position of the Crosshair-Line.

Parameters
objectextroi: external roi object from pyqtgraph

The documentation for this class was generated from the following file: