TwiceAsNice
2019-02-18
|
Public Member Functions | |
def | __init__ (self, metapupil) |
def | update (self) |
def | continuous_update (self, ccd, nframes=1, boxSize=20, medianSubtract=True, gauss=False) |
def | show_centers (self, display=True) |
def | show_zernike_coefficients (self, display=True) |
def | show_mask (self, display=True) |
def | __init__ (self, metapupil) |
def | update (self) |
def | continuous_update (self, ccd, nframes=1, boxSize=20, medianSubtract=True, gauss=False) |
def | show_centers (self, display=True) |
def | show_zernike_coefficients (self, display=True) |
def | show_mask (self, display=True) |
Public Attributes | |
metapupil | |
quadImg | |
crossHairs | |
fig | |
grid | |
coordAnnotation | |
meanCoordAnnotation | |
pyramidAngleAnnotation | |
zernikeAnnotation | |
Displays metapupil image and statistics
def laospy.metapupil_I9.MetaPupilDisplay.__init__ | ( | self, | |
metapupil | |||
) |
Creates a new metapupil display Parameters ---------- metapupil : MetaPupil object
def laospy.metapupil_I9.MetaPupilDisplay.__init__ | ( | self, | |
metapupil | |||
) |
Creates a new metapupil display Parameters ---------- metapupil : MetaPupil object
def laospy.metapupil_I9.MetaPupilDisplay.continuous_update | ( | self, | |
ccd, | |||
nframes = 1 , |
|||
boxSize = 20 , |
|||
medianSubtract = True , |
|||
gauss = False |
|||
) |
Continuously updates the metapuil display. The live view is stopped with ctrl-c Parameters ---------- ccd : LittleJoeCamera object used to retrieve the images nFrames : integer number of frames over which the returned image is averaged boxSize : positive integer the size of the box to compute the centroid. default value is 40 medianSubtract : bool to subtract the median from the image or each quadrant gauss : bool if given will find the gaussian fit of the image passed and return the center coordinates
def laospy.metapupil_I9.MetaPupilDisplay.continuous_update | ( | self, | |
ccd, | |||
nframes = 1 , |
|||
boxSize = 20 , |
|||
medianSubtract = True , |
|||
gauss = False |
|||
) |
Continuously updates the metapuil display. The live view is stopped with ctrl-c Parameters ---------- ccd : LittleJoeCamera object used to retrieve the images nFrames : integer number of frames over which the returned image is averaged boxSize : positive integer the size of the box to compute the centroid. default value is 40 medianSubtract : bool to subtract the median from the image or each quadrant gauss : bool if given will find the gaussian fit of the image passed and return the center coordinates
def laospy.metapupil_I9.MetaPupilDisplay.show_centers | ( | self, | |
display = True |
|||
) |
Display the center coordinates of the brightness distribution in each quadrant Parameters ---------- display : Boolean True if the center coordinates should be visible, false otherwise
def laospy.metapupil_I9.MetaPupilDisplay.show_centers | ( | self, | |
display = True |
|||
) |
Display the center coordinates of the brightness distribution in each quadrant Parameters ---------- display : Boolean True if the center coordinates should be visible, false otherwise
def laospy.metapupil_I9.MetaPupilDisplay.show_mask | ( | self, | |
display = True |
|||
) |
Displays the metapupil mask Parameters ---------- display : Boolean True if the metapupil mask should be visible, false otherwise
def laospy.metapupil_I9.MetaPupilDisplay.show_mask | ( | self, | |
display = True |
|||
) |
Displays the metapupil mask Parameters ---------- display : Boolean True if the metapupil mask should be visible, false otherwise
def laospy.metapupil_I9.MetaPupilDisplay.show_zernike_coefficients | ( | self, | |
display = True |
|||
) |
Displays the Zernike coefficients or the tip tilt, if no metapupil mask is defined. Parameters ---------- display : Boolean True if the tip-tilt should be visible, false otherwise
def laospy.metapupil_I9.MetaPupilDisplay.show_zernike_coefficients | ( | self, | |
display = True |
|||
) |
Displays the Zernike coefficients or the tip tilt, if no metapupil mask is defined. Parameters ---------- display : Boolean True if the tip-tilt should be visible, false otherwise
def laospy.metapupil_I9.MetaPupilDisplay.update | ( | self | ) |
def laospy.metapupil_I9.MetaPupilDisplay.update | ( | self | ) |
laospy.metapupil_I9.MetaPupilDisplay.coordAnnotation |
laospy.metapupil_I9.MetaPupilDisplay.crossHairs |
laospy.metapupil_I9.MetaPupilDisplay.fig |
laospy.metapupil_I9.MetaPupilDisplay.grid |
laospy.metapupil_I9.MetaPupilDisplay.meanCoordAnnotation |
laospy.metapupil_I9.MetaPupilDisplay.metapupil |
laospy.metapupil_I9.MetaPupilDisplay.pyramidAngleAnnotation |
laospy.metapupil_I9.MetaPupilDisplay.quadImg |
laospy.metapupil_I9.MetaPupilDisplay.zernikeAnnotation |