Woofer¶
woofer.py
Routines in support of the ShaneAO woofer DM
-
class
woofer.
woofer
(mode=1, secondary=False)¶ woofer
is the woofer deformable mirror class. This is configured specifically for ShaneAO, where subapertures on the wavefront sensor are aligned to actuators on the DM. See alsotweeter
andwfs
.The purpose of the woofer class is to read in measured influence and previously calculated mode sets for the woofer. It can then be used in conjunction with the tweeter class to calculate Cwt, the woofer to tweeter mode-overlap matrix.
See the article A Norton et al, ‘Performance assessment of competing architectures for real-time woofer-tweeter controllers: Simulation and experimental results’ SPIE PW 2013.pdf
-
ap
= None¶ the aperture as used by the zygo data (a 2d array)
-
bandwidth
= None¶ specified half-power bandwidth of the woofer, in Hertz. Default 250Hz
-
beamSize
= None¶ beamSize is the ShaneAO beam diameter on the woofer, in meters. Default: 13.4mm
-
center
= None¶ aperture center in pixels on original zygo data
-
clearAperture
= None¶ clear aperture diameter of the woofer mirror surface, in meters. Default: 15mm
-
d
= None¶ aperture diameter, in pixels on original zygo data
-
da
= None¶ actuator spacing, in meters. Default: 2.5mm
-
dataDir
= None¶ the file location for zygo data on poke response functions
-
dx
= None¶ the fine grid pixel size, in meters
-
modeSet
= None¶ the set of woofer modes, sampled on the original zygo data grid
-
na
= None¶ the number of actuators. Default: 52
-
name
= None¶ the manufacturer and model number. Default: ‘ALPAO DM-52’
-
rSet
= None¶ the set of actuator response functions, sampled on the original zygo data grid
-
range
= None¶ range of valid command for each actuator, in amperes. Default: [-1,1]
-
responseGain
= None¶ microns/ampere, straight-line fit to measured deflection of single actuator
-
secondary
= None¶ has a secondary obscuration, True or False
-
show
(a)¶ Display actuator values on the geometry of the mirror
-
type
()¶ Returns the type of the object, which is ‘woofer’
-
woof
(act_vec)¶ produce the DM shape that would result from the command set a
acts = 52-element list result is on the original zygo grid
-
zygoIllumDiam
= None¶ the illuminating diameter of the zygo beam on the woofer during data collection, meters. Default: 14.3mm
-