|
def | __init__ (self, config=None, prefix=None, slopeBufferSize=None, distSize=None, numberOfDistBlocks=None, framerate=None, ovs=None, noinit=None) |
|
def | connect (self, prefix) |
|
def | prepare (self, config) |
|
def | loadPixelFlat (self) |
|
def | loadMask (self) |
|
def | setBuffer (self, buf) |
|
def | stopSending (self) |
|
def | startSending (self) |
|
def | startDisturbance (self) |
|
def | setMask (self, mask) |
|
def | getSlopeLut (self) |
|
def | getSlopeMask (self) |
|
def | runDisturbance (self) |
|
def | flushData (self) |
|
def | closeLoop (self) |
|
def | openLoop (self) |
|
def | __init__ (self, config=None, prefix=None, slopeBufferSize=None, distSize=None, numberOfDistBlocks=None, framerate=None, ovs=None, noinit=None) |
|
def | connect (self, prefix) |
|
def | prepare (self, config) |
|
def | loadPixelFlat (self) |
|
def | loadMask (self) |
|
def | setBuffer (self, buf) |
|
def | stopSending (self) |
|
def | startSending (self) |
|
def | startDisturbance (self) |
|
def | setMask (self, mask) |
|
def | getSlopeLut (self) |
|
def | getSlopeMask (self) |
|
def | runDisturbance (self) |
|
def | flushData (self) |
|
def | closeLoop (self) |
|
def | openLoop (self) |
|
◆ __init__() [1/2]
def laospy.bcu.BcuCtrl.__init__ |
( |
|
self, |
|
|
|
config = None , |
|
|
|
prefix = None , |
|
|
|
slopeBufferSize = None , |
|
|
|
distSize = None , |
|
|
|
numberOfDistBlocks = None , |
|
|
|
framerate = None , |
|
|
|
ovs = None , |
|
|
|
noinit = None |
|
) |
| |
Initializes BcuCtrl will needed data
Parameters
----------
config : NiceProperty.Joint
Root configuration including config file parameter
prefix : string
Config prefix of Bcu service
bufferSize : int
Size of the AdSec slope buffer
distSize : int
Size of the disturbance file
framerate : int
CCD50 framerate
ovs : int
Oversampling of the switch bcu. When no slopes are send the slope buffer is filled with the last slope by that frequency.
It is used to flush the slope buffer by unique values
◆ __init__() [2/2]
def laospy.bcu.BcuCtrl.__init__ |
( |
|
self, |
|
|
|
config = None , |
|
|
|
prefix = None , |
|
|
|
slopeBufferSize = None , |
|
|
|
distSize = None , |
|
|
|
numberOfDistBlocks = None , |
|
|
|
framerate = None , |
|
|
|
ovs = None , |
|
|
|
noinit = None |
|
) |
| |
Initializes BcuCtrl will needed data
Parameters
----------
config : NiceProperty.Joint
Root configuration including config file parameter
prefix : string
Config prefix of Bcu service
bufferSize : int
Size of the AdSec slope buffer
distSize : int
Size of the disturbance file
framerate : int
CCD50 framerate
ovs : int
Oversampling of the switch bcu. When no slopes are send the slope buffer is filled with the last slope by that frequency.
It is used to flush the slope buffer by unique values
◆ closeLoop() [1/2]
def laospy.bcu.BcuCtrl.closeLoop |
( |
|
self | ) |
|
◆ closeLoop() [2/2]
def laospy.bcu.BcuCtrl.closeLoop |
( |
|
self | ) |
|
◆ connect() [1/2]
def laospy.bcu.BcuCtrl.connect |
( |
|
self, |
|
|
|
prefix |
|
) |
| |
Create connection to services of the Bcu server
Parameters
----------
prefix : string
Config prefix of Bcu service
◆ connect() [2/2]
def laospy.bcu.BcuCtrl.connect |
( |
|
self, |
|
|
|
prefix |
|
) |
| |
Create connection to services of the Bcu server
Parameters
----------
prefix : string
Config prefix of Bcu service
◆ flushData() [1/2]
def laospy.bcu.BcuCtrl.flushData |
( |
|
self | ) |
|
Run the slope Bcu for a certain time to clear the AdSec slope buffer
◆ flushData() [2/2]
def laospy.bcu.BcuCtrl.flushData |
( |
|
self | ) |
|
Run the slope Bcu for a certain time to clear the AdSec slope buffer
◆ getSlopeLut() [1/2]
def laospy.bcu.BcuCtrl.getSlopeLut |
( |
|
self | ) |
|
Returns the slope lut to reorder the output slopes to a human readable format
Returns
-------
out : ndarray
The array has the size of all subapertures of the pupil. It matches line->address
◆ getSlopeLut() [2/2]
def laospy.bcu.BcuCtrl.getSlopeLut |
( |
|
self | ) |
|
Returns the slope lut to reorder the output slopes to a human readable format
Returns
-------
out : ndarray
The array has the size of all subapertures of the pupil. It matches line->address
◆ getSlopeMask() [1/2]
def laospy.bcu.BcuCtrl.getSlopeMask |
( |
|
self | ) |
|
Returns the slope mask for displaying slopes in a grafical way
Returns
-------
A NxN ndarray of 0s and 1s. 1 is maskes out.
◆ getSlopeMask() [2/2]
def laospy.bcu.BcuCtrl.getSlopeMask |
( |
|
self | ) |
|
Returns the slope mask for displaying slopes in a grafical way
Returns
-------
A NxN ndarray of 0s and 1s. 1 is maskes out.
◆ loadMask() [1/2]
def laospy.bcu.BcuCtrl.loadMask |
( |
|
self | ) |
|
◆ loadMask() [2/2]
def laospy.bcu.BcuCtrl.loadMask |
( |
|
self | ) |
|
◆ loadPixelFlat() [1/2]
def laospy.bcu.BcuCtrl.loadPixelFlat |
( |
|
self | ) |
|
◆ loadPixelFlat() [2/2]
def laospy.bcu.BcuCtrl.loadPixelFlat |
( |
|
self | ) |
|
◆ openLoop() [1/2]
def laospy.bcu.BcuCtrl.openLoop |
( |
|
self | ) |
|
◆ openLoop() [2/2]
def laospy.bcu.BcuCtrl.openLoop |
( |
|
self | ) |
|
◆ prepare() [1/2]
def laospy.bcu.BcuCtrl.prepare |
( |
|
self, |
|
|
|
config |
|
) |
| |
Setup the Bcu for calibration
Parameters
----------
config : NiceProperty.Joint
Service root node
◆ prepare() [2/2]
def laospy.bcu.BcuCtrl.prepare |
( |
|
self, |
|
|
|
config |
|
) |
| |
Setup the Bcu for calibration
Parameters
----------
config : NiceProperty.Joint
Service root node
◆ runDisturbance() [1/2]
def laospy.bcu.BcuCtrl.runDisturbance |
( |
|
self | ) |
|
Send slopes from the slope Bcu over the fast link while enabled the disturbance flag.
◆ runDisturbance() [2/2]
def laospy.bcu.BcuCtrl.runDisturbance |
( |
|
self | ) |
|
Send slopes from the slope Bcu over the fast link while enabled the disturbance flag.
◆ setBuffer() [1/2]
def laospy.bcu.BcuCtrl.setBuffer |
( |
|
self, |
|
|
|
buf |
|
) |
| |
◆ setBuffer() [2/2]
def laospy.bcu.BcuCtrl.setBuffer |
( |
|
self, |
|
|
|
buf |
|
) |
| |
◆ setMask() [1/2]
def laospy.bcu.BcuCtrl.setMask |
( |
|
self, |
|
|
|
mask |
|
) |
| |
Setup the pupil and appropiate luts on the Bcu
Parameters
----------
size : float
Size of the pupil
pos : NiceProperty.SeqPoint
The 4 pupil positions in pixel
◆ setMask() [2/2]
def laospy.bcu.BcuCtrl.setMask |
( |
|
self, |
|
|
|
mask |
|
) |
| |
Setup the pupil and appropiate luts on the Bcu
Parameters
----------
size : float
Size of the pupil
pos : NiceProperty.SeqPoint
The 4 pupil positions in pixel
◆ startDisturbance() [1/2]
def laospy.bcu.BcuCtrl.startDisturbance |
( |
|
self | ) |
|
Enable fastlink and disturbance
Parameters
----------
◆ startDisturbance() [2/2]
def laospy.bcu.BcuCtrl.startDisturbance |
( |
|
self | ) |
|
Enable fastlink and disturbance
Parameters
----------
◆ startSending() [1/2]
def laospy.bcu.BcuCtrl.startSending |
( |
|
self | ) |
|
Enable data over the fastlink
Parameters
----------
◆ startSending() [2/2]
def laospy.bcu.BcuCtrl.startSending |
( |
|
self | ) |
|
Enable data over the fastlink
Parameters
----------
◆ stopSending() [1/2]
def laospy.bcu.BcuCtrl.stopSending |
( |
|
self | ) |
|
Disable all data over the fastlink
Parameters
----------
◆ stopSending() [2/2]
def laospy.bcu.BcuCtrl.stopSending |
( |
|
self | ) |
|
Disable all data over the fastlink
Parameters
----------
◆ bcuIf
◆ config
laospy.bcu.BcuCtrl.config |
◆ disturbanceDuration
laospy.bcu.BcuCtrl.disturbanceDuration |
◆ disturbanceSize
laospy.bcu.BcuCtrl.disturbanceSize |
◆ loop
◆ pusher
laospy.bcu.BcuCtrl.pusher |
◆ slopeBufferDuration
laospy.bcu.BcuCtrl.slopeBufferDuration |
◆ slopeBufferSize
laospy.bcu.BcuCtrl.slopeBufferSize |
The documentation for this class was generated from the following file:
- /home/nirva/insroot/lib/python/site-packages/laospy/bcu.py