Public Member Functions | |
setup (self) | |
handle_state (self, existing_property, new_message) | |
handle_labmode (self, existing_property, new_message) | |
handle_knife_edge (self, existing_property, new_message) | |
handle_knife_edge_findzero (self, existing_property, new_message) | |
handle_reset (self, existing_property, new_message) | |
handle_n_avg (self, existing_property, new_message) | |
handle_no_measurements (self, existing_property, new_message) | |
handle_gain (self, existing_property, new_message) | |
handle_offset (self, existing_property, new_message) | |
handle_ctrl_mtx (self, existing_property, new_message) | |
update_wavelength (self) | |
transition_to_idle (self) | |
set_command (self, d1, d2) | |
add_command (self, d1, d2) | |
send_command (self) | |
loop (self) | |
Public Attributes | |
camera | |
delta_1 | |
delta_2 | |
ADC | |
Static Public Attributes | |
AdcCtrlConfig | config |
Protected Attributes | |
_state | |
_n_avg | |
_gain | |
_command | |
deleting the send command part so you can use it without interfering with anyone else's stuff if np.abs(self._command) < 5: #setting a threshold so the prisms don't do anything crazy self.add_command(self._command,0) self.send_command() self.log.debug(f'ADC command sent: {self._command}') else: self.log.info(f'ADC command {self._command} exceeds acceptable threshold and was not sent') | |
_control_mtx | |
_extent | |
_offset | |
_mask_diam | |
_lab | |
_knife_edge | |
_knife_edge_zero1 | |
_knife_edge_zero2 | |
_no_measurements | |
_center_wavelength | |
Definition at line 225 of file adcCtrl.py.
adcCtrl.adcCtrl.add_command | ( | self, | |
d1, | |||
d2 | |||
) |
Definition at line 545 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.loop().
adcCtrl.adcCtrl.handle_ctrl_mtx | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 503 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_gain | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 486 of file adcCtrl.py.
Referenced by visxCtrl.xapp.VisX._init_properties(), and adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_knife_edge | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 429 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_knife_edge_findzero | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 441 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_labmode | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 417 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_n_avg | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 471 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup(), camtipSR.core.camtipSR.setup(), and corAlign.corAlign.setup().
adcCtrl.adcCtrl.handle_no_measurements | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 479 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_offset | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 494 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_reset | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 461 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup().
adcCtrl.adcCtrl.handle_state | ( | self, | |
existing_property, | |||
new_message | |||
) |
Definition at line 380 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.setup(), camtipSR.core.camtipSR.setup(), and corAlign.corAlign.setup().
adcCtrl.adcCtrl.loop | ( | self | ) |
Definition at line 565 of file adcCtrl.py.
adcCtrl.adcCtrl.send_command | ( | self | ) |
Definition at line 549 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_offset(), adcCtrl.adcCtrl.handle_reset(), and adcCtrl.adcCtrl.loop().
adcCtrl.adcCtrl.set_command | ( | self, | |
d1, | |||
d2 | |||
) |
Definition at line 541 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_reset(), and adcCtrl.adcCtrl.loop().
adcCtrl.adcCtrl.setup | ( | self | ) |
Definition at line 228 of file adcCtrl.py.
adcCtrl.adcCtrl.transition_to_idle | ( | self | ) |
Definition at line 532 of file adcCtrl.py.
Referenced by camtipSR.core.camtipSR.grab_img(), camtipSR.core.camtipSR.grab_stack(), adcCtrl.adcCtrl.loop(), camtipSR.core.camtipSR.loop(), and corAlign.corAlign.loop().
adcCtrl.adcCtrl.update_wavelength | ( | self | ) |
Definition at line 516 of file adcCtrl.py.
|
protected |
Definition at line 363 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.update_wavelength().
|
protected |
deleting the send command part so you can use it without interfering with anyone else's stuff if np.abs(self._command) < 5: #setting a threshold so the prisms don't do anything crazy
self.add_command(self._command,0) self.send_command() self.log.debug(f'ADC command sent: {self._command}') else: self.log.info(f'ADC command {self._command} exceeds acceptable threshold and was not sent')
Definition at line 345 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_reset(), adcCtrl.adcCtrl.loop(), and camtipSR.core.camtipSR.transition_to_idle().
|
protected |
Definition at line 346 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_ctrl_mtx(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 347 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.loop(), and adcCtrl.adcCtrl.update_wavelength().
|
protected |
Definition at line 344 of file adcCtrl.py.
Referenced by visxCtrl.qhyccd.QHYCCDCamera.gain(), adcCtrl.adcCtrl.handle_gain(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 353 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_knife_edge(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 354 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_knife_edge_findzero(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 355 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_knife_edge_findzero(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 352 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_knife_edge_findzero(), adcCtrl.adcCtrl.handle_labmode(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 351 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 343 of file adcCtrl.py.
Referenced by camtipSR.core.camtipSR.fit_SR_EE(), camtipSR.core.camtipSR.fit_SR_gauss(), adcCtrl.adcCtrl.handle_knife_edge_findzero(), adcCtrl.adcCtrl.handle_n_avg(), camtipSR.core.camtipSR.handle_n_avg(), corAlign.corAlign.handle_n_avg(), adcCtrl.adcCtrl.loop(), and corAlign.corAlign.loop().
|
protected |
Definition at line 356 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_no_measurements(), and adcCtrl.adcCtrl.loop().
|
protected |
Definition at line 350 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_offset(), and adcCtrl.adcCtrl.send_command().
|
protected |
Definition at line 340 of file adcCtrl.py.
Referenced by corAlign.corAlign.handle_closed_loop(), adcCtrl.adcCtrl.handle_state(), camtipSR.core.camtipSR.handle_state(), corAlign.corAlign.handle_state(), adcCtrl.adcCtrl.loop(), camtipSR.core.camtipSR.loop(), corAlign.corAlign.loop(), adcCtrl.adcCtrl.transition_to_idle(), camtipSR.core.camtipSR.transition_to_idle(), and corAlign.corAlign.transition_to_idle().
adcCtrl.adcCtrl.ADC |
Definition at line 372 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.handle_knife_edge_findzero(), adcCtrl.adcCtrl.loop(), and adcCtrl.adcCtrl.update_wavelength().
adcCtrl.adcCtrl.camera |
Definition at line 333 of file adcCtrl.py.
Referenced by visxCtrl.xapp.VisX._gather_metadata(), visxCtrl.xapp.VisX.cooling_on_target(), visxCtrl.xapp.VisX.finalize_exposure(), camtipSR.core.camtipSR.grab_img(), camtipSR.core.camtipSR.grab_stack(), visxCtrl.xapp.VisX.handle_exptime(), adcCtrl.adcCtrl.handle_knife_edge_findzero(), adcCtrl.adcCtrl.loop(), corAlign.corAlign.loop(), visxCtrl.xapp.VisX.maintain_temperature_control(), and visxCtrl.xapp.VisX.update_from_camera().
|
static |
Definition at line 226 of file adcCtrl.py.
Referenced by visxCtrl.xapp.VisX.cooling_on_target(), dbIngest.dbIngest.launch_followers(), dbIngest.dbIngest.rescan_files(), adcCtrl.adcCtrl.setup(), corAlign.corAlign.setup(), and efcControl.efcControl.setup().
adcCtrl.adcCtrl.delta_1 |
Definition at line 348 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.add_command(), adcCtrl.adcCtrl.send_command(), and adcCtrl.adcCtrl.set_command().
adcCtrl.adcCtrl.delta_2 |
Definition at line 349 of file adcCtrl.py.
Referenced by adcCtrl.adcCtrl.add_command(), adcCtrl.adcCtrl.send_command(), and adcCtrl.adcCtrl.set_command().