API
 
Loading...
Searching...
No Matches
adcCtrl.adcCtrl Class Reference
Inheritance diagram for adcCtrl.adcCtrl:
Inheritance graph
Collaboration diagram for adcCtrl.adcCtrl:
Collaboration graph

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
 

Detailed Description

Definition at line 225 of file adcCtrl.py.

Member Function Documentation

◆ add_command()

adcCtrl.adcCtrl.add_command (   self,
  d1,
  d2 
)

Definition at line 545 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.loop().

◆ handle_ctrl_mtx()

adcCtrl.adcCtrl.handle_ctrl_mtx (   self,
  existing_property,
  new_message 
)

Definition at line 503 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_gain()

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().

◆ handle_knife_edge()

adcCtrl.adcCtrl.handle_knife_edge (   self,
  existing_property,
  new_message 
)

Definition at line 429 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_knife_edge_findzero()

adcCtrl.adcCtrl.handle_knife_edge_findzero (   self,
  existing_property,
  new_message 
)

Definition at line 441 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_labmode()

adcCtrl.adcCtrl.handle_labmode (   self,
  existing_property,
  new_message 
)

Definition at line 417 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_n_avg()

adcCtrl.adcCtrl.handle_n_avg (   self,
  existing_property,
  new_message 
)

◆ handle_no_measurements()

adcCtrl.adcCtrl.handle_no_measurements (   self,
  existing_property,
  new_message 
)

Definition at line 479 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_offset()

adcCtrl.adcCtrl.handle_offset (   self,
  existing_property,
  new_message 
)

Definition at line 494 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_reset()

adcCtrl.adcCtrl.handle_reset (   self,
  existing_property,
  new_message 
)

Definition at line 461 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.setup().

◆ handle_state()

adcCtrl.adcCtrl.handle_state (   self,
  existing_property,
  new_message 
)

◆ loop()

adcCtrl.adcCtrl.loop (   self)

Definition at line 565 of file adcCtrl.py.

◆ send_command()

adcCtrl.adcCtrl.send_command (   self)

◆ set_command()

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().

◆ setup()

adcCtrl.adcCtrl.setup (   self)

Definition at line 228 of file adcCtrl.py.

◆ transition_to_idle()

adcCtrl.adcCtrl.transition_to_idle (   self)

◆ update_wavelength()

adcCtrl.adcCtrl.update_wavelength (   self)

Definition at line 516 of file adcCtrl.py.

Member Data Documentation

◆ _center_wavelength

adcCtrl.adcCtrl._center_wavelength
protected

Definition at line 363 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.update_wavelength().

◆ _command

adcCtrl.adcCtrl._command
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().

◆ _control_mtx

adcCtrl.adcCtrl._control_mtx
protected

Definition at line 346 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.handle_ctrl_mtx(), and adcCtrl.adcCtrl.loop().

◆ _extent

adcCtrl.adcCtrl._extent
protected

Definition at line 347 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.loop(), and adcCtrl.adcCtrl.update_wavelength().

◆ _gain

adcCtrl.adcCtrl._gain
protected

◆ _knife_edge

adcCtrl.adcCtrl._knife_edge
protected

Definition at line 353 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.handle_knife_edge(), and adcCtrl.adcCtrl.loop().

◆ _knife_edge_zero1

adcCtrl.adcCtrl._knife_edge_zero1
protected

Definition at line 354 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.handle_knife_edge_findzero(), and adcCtrl.adcCtrl.loop().

◆ _knife_edge_zero2

adcCtrl.adcCtrl._knife_edge_zero2
protected

Definition at line 355 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.handle_knife_edge_findzero(), and adcCtrl.adcCtrl.loop().

◆ _lab

adcCtrl.adcCtrl._lab
protected

◆ _mask_diam

adcCtrl.adcCtrl._mask_diam
protected

Definition at line 351 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.loop().

◆ _n_avg

◆ _no_measurements

adcCtrl.adcCtrl._no_measurements
protected

Definition at line 356 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.handle_no_measurements(), and adcCtrl.adcCtrl.loop().

◆ _offset

adcCtrl.adcCtrl._offset
protected

Definition at line 350 of file adcCtrl.py.

Referenced by adcCtrl.adcCtrl.handle_offset(), and adcCtrl.adcCtrl.send_command().

◆ _state

◆ ADC

◆ camera

◆ config

◆ delta_1

adcCtrl.adcCtrl.delta_1

◆ delta_2

adcCtrl.adcCtrl.delta_2

The documentation for this class was generated from the following file: