Public Member Functions | |
def | __init__ (self) |
def | get_state (self) |
def | stop (self) |
def | start (self) |
def | save |
def | savescience (self, n) |
def | savedark (self, n) |
def | wait_save (self) |
def | subdir (self, sd) |
def | imtype (self, it) |
def | reps (self, rp) |
def | exptime (self, et) |
def | get_framerate (self) |
def | get_reps (self) |
def | get_subdir (self) |
def | set_program (self, pixrate, window, gain, etime) |
Public Member Functions inherited from visaofifos.VisAOFifoDev | |
def | setup_fifo_names (self) |
def | open_fifoch (self) |
def | write_fifoch (self, com) |
def | close_fifoch (self) |
def | connect (self) |
def | take_control |
def | giveup_control (self) |
Public Attributes | |
base_name | |
connected | |
control | |
Public Attributes inherited from visaofifos.VisAOFifoDev | |
base_path | |
fifo_out_name | |
fifo_in_name | |
pollobj | |
fifo_out | |
fifo_in | |
connected | |
control | |
Class to control the ccd47.
Definition at line 96 of file visaodevices.py.
def visaodevices.CCD47Ctrl.get_state | ( | self | ) |
Get the current state of the ccd47 controller.
Definition at line 106 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaodevices.CCD47Ctrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
Referenced by visaodevices.CCD47Ctrl.set_program().
def visaodevices.CCD47Ctrl.save | ( | self, | |
n, | |||
im_type = 0 |
|||
) |
Save data. n = -1 save continuously n = 0 stop saving n = >0 save n images
Definition at line 130 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.CCD47Ctrl.base_name, visaodevices.FocusCtrl.control, visaodevices.CCD47Ctrl.control, VisAO::ccd47_status_board.imtype, VisAO::CCD47Ctrl.imtype, visaodevices.CCD47Ctrl.imtype(), and visaofifos.VisAOFifoDev.write_fifoch().
Referenced by visaodevices.CCD47Ctrl.savescience().
def visaodevices.CCD47Ctrl.savescience | ( | self, | |
n | |||
) |
Save science data. n = -1 save continuously n = 0 stop saving n = >0 save n images
Definition at line 150 of file visaodevices.py.
References visaodevices.CCD47Ctrl.save().
def visaodevices.CCD47Ctrl.savedark | ( | self, | |
n | |||
) |
Save data. n = -1 save continuously n = 0 stop saving n = >0 save n images
Definition at line 160 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.CCD47Ctrl.base_name, visaodevices.FocusCtrl.control, visaodevices.CCD47Ctrl.control, VisAO::ccd47_status_board.imtype, VisAO::CCD47Ctrl.imtype, visaodevices.CCD47Ctrl.imtype(), and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.wait_save | ( | self | ) |
Wait for a save sequence to complete.
Definition at line 180 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaodevices.CCD47Ctrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.subdir | ( | self, | |
sd | |||
) |
Change to a new sub-directory for saving.
Definition at line 196 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.CCD47Ctrl.base_name, visaodevices.FocusCtrl.control, visaodevices.CCD47Ctrl.control, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.imtype | ( | self, | |
it | |||
) |
Change image type
Definition at line 208 of file visaodevices.py.
References visaodevices.FocusCtrl.base_name, visaodevices.CCD47Ctrl.base_name, visaodevices.FocusCtrl.control, visaodevices.CCD47Ctrl.control, and visaofifos.VisAOFifoDev.write_fifoch().
Referenced by visaodevices.CCD47Ctrl.save(), and visaodevices.CCD47Ctrl.savedark().
def visaodevices.CCD47Ctrl.reps | ( | self, | |
rp | |||
) |
Set ccd 47 accumulator reps
Definition at line 220 of file visaodevices.py.
References visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.exptime | ( | self, | |
et | |||
) |
Set ccd 47 exposure time
Definition at line 229 of file visaodevices.py.
References visaofifos.VisAOFifoDev.write_fifoch().
Referenced by visaodevices.CCD47Ctrl.set_program().
def visaodevices.CCD47Ctrl.get_framerate | ( | self | ) |
Get current framerate
Definition at line 238 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaodevices.CCD47Ctrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.get_reps | ( | self | ) |
Get current repititions
Definition at line 247 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaodevices.CCD47Ctrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.get_subdir | ( | self | ) |
Get current subdirectory
Definition at line 256 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaodevices.CCD47Ctrl.connected, and visaofifos.VisAOFifoDev.write_fifoch().
def visaodevices.CCD47Ctrl.set_program | ( | self, | |
pixrate, | |||
window, | |||
gain, | |||
etime | |||
) |
Set the CCD47 program. pixrate = integer, the pixel rate. Must be one of 2500, 250, or 80. window = integer, the window size, depending on pixel rate can be 1024, 512, 256, 64,32 gain = string the gain. Choices are 'H', 'MH', 'ML', or 'L' etime = exposure time, in seconds. 0 is the minimum exposure time for the other settings
Definition at line 265 of file visaodevices.py.
References visao.VisAO.connect(), visaofifos.VisAOFifoDev.connect(), visaodevices.FocusCtrl.connected, visaodevices.CCD47Ctrl.connected, visaodevices.CCD47Ctrl.exptime(), ShutterControl.get_state(), visaodevices.CCD47Ctrl.get_state(), and visaofifos.VisAOFifoDev.write_fifoch().