Binospec
- class mmtwfs.wfs.Binospec(config={}, plot=True)[source]
Bases:
F5Defines configuration and methods specific to the Binospec WFS system. Binospec uses the same aberration table as the F5 system so we inherit from that.
Methods Summary
focal_plane_position(hdr)Transform from the Binospec guider coordinate system to MMTO focal plane coordinates.
get_flipud(mode)Method to determine if the WFS image needs to be flipped up/down
in_wfs_region(xw, yw, x, y)Determine if a position is within the region available to Binospec's WFS
pupil_mask(hdr[, npts])Generate a synthetic pupil mask
ref_pupil_location(mode[, hdr])If a header is passed in, use Jan Kansky's linear relations to get the pupil center on the reference image.
Methods Documentation
- focal_plane_position(hdr)[source]
Transform from the Binospec guider coordinate system to MMTO focal plane coordinates.
- get_flipud(mode)[source]
Method to determine if the WFS image needs to be flipped up/down
During the first binospec commissioning run the images were flipped u/d as they came in. Since then, they are left as-is and get flipped internally based on this flag. The reference file is already flipped.