Binospec¶
- class mmtwfs.wfs.Binospec(config={}, plot=True)[source] [edit on github]¶
Bases:
mmtwfs.wfs.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] [edit on github]¶
Transform from the Binospec guider coordinate system to MMTO focal plane coordinates.
- get_flipud(mode)[source] [edit on github]¶
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.
- in_wfs_region(xw, yw, x, y)[source] [edit on github]¶
Determine if a position is within the region available to Binospec’s WFS
- pupil_mask(hdr, npts=14)[source] [edit on github]¶
Generate a synthetic pupil mask
- ref_pupil_location(mode, hdr=None)[source] [edit on github]¶
If a header is passed in, use Jan Kansky’s linear relations to get the pupil center on the reference image. Otherwise, use the default method.