F5

class mmtwfs.wfs.F5(config={}, plot=True)[source] [edit on github]

Bases: mmtwfs.wfs.WFS

Defines configuration and methods specific to the F/5 WFS systems

Methods Summary

calculate_recenter(fit_results[, defoc])

Perform zero-coma hexapod tilts to align the pupil center to the center-of-rotation.

focal_plane_position(hdr)

Need to fill this in for the hecto f/5 WFS system.

process_image(fitsfile)

Process the image to make it suitable for accurate wavefront analysis.

ref_pupil_location(mode[, hdr])

For now we set the F/5 wfs center by hand based on engineering data.

reference_aberrations(mode[, hdr])

Create reference ZernikeVector for 'mode'.

Methods Documentation

calculate_recenter(fit_results, defoc=1.0)[source] [edit on github]

Perform zero-coma hexapod tilts to align the pupil center to the center-of-rotation. The location of the CoR is configured to be at self.cor_coords.

focal_plane_position(hdr)[source] [edit on github]

Need to fill this in for the hecto f/5 WFS system. For now will assume it’s always on-axis.

process_image(fitsfile)[source] [edit on github]

Process the image to make it suitable for accurate wavefront analysis. Steps include nuking cosmic rays, subtracting background, handling overscan regions, etc.

ref_pupil_location(mode, hdr=None)[source] [edit on github]

For now we set the F/5 wfs center by hand based on engineering data. Should determine this more carefully.

reference_aberrations(mode, hdr=None)[source] [edit on github]

Create reference ZernikeVector for ‘mode’. Pass ‘hdr’ to self.focal_plane_position() to get position of the WFS when the data was acquired.