API
 
Loading...
Searching...
No Matches
visxCtrl.xapp.VisX Class Reference
Inheritance diagram for visxCtrl.xapp.VisX:
Inheritance graph
Collaboration diagram for visxCtrl.xapp.VisX:
Collaboration graph

Public Member Functions

 cooling_on_target (self)
 
 emit_telem_stdcam (self)
 
 handle_exptime (self, existing_property, new_message)
 
 handle_gain (self, existing_property, new_message)
 
 handle_expose (self, existing_property, new_message)
 
 handle_temp_ccd (self, existing_property, new_message)
 
 subscribe_to_other_devices (self)
 
 setup (self)
 
 update_from_camera (self)
 
 refresh_properties (self)
 
 maintain_temperature_control (self)
 
 begin_exposure (self)
 
 finalize_exposure (self, actual_exptime_sec=None)
 
 cancel_exposure (self)
 
 loop (self)
 

Public Attributes

 exposure_time_sec
 
 cooling_on_target
 
 camera_gain
 
 should_begin_exposure
 
 should_cancel
 
 temp_target_deg_c
 
 sdk
 
 camera
 
 data_directory
 
 temp_current_deg_c
 
 currently_exposing
 
 exposure_start_ts
 
 exposure_start_telem
 
 last_image_filename
 

Static Public Attributes

VisXConfig config
 
str data_directory = "/opt/MagAOX/rawimages/camvisx"
 
float exposure_start_ts = 0
 
bool should_cancel = False
 
bool currently_exposing = False
 
bool should_begin_exposure = False
 
Optional last_image_filename = None
 
ISIO shmim .Image
 
np frame .ndarray
 
Optional exposure_start_telem = None
 
Optional sdk = None
 
Optional camera = None
 
Optional exposure_time_sec = None
 
Optional camera_gain = None
 
Optional temp_target_deg_c = None
 
Optional temp_current_deg_c = None
 

Protected Member Functions

 _init_camera (self)
 
 _init_properties (self)
 
 _gather_metadata (self)
 

Detailed Description

Definition at line 47 of file xapp.py.

Member Function Documentation

◆ _gather_metadata()

visxCtrl.xapp.VisX._gather_metadata (   self)
protected

Definition at line 306 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.finalize_exposure().

◆ _init_camera()

visxCtrl.xapp.VisX._init_camera (   self)
protected

Definition at line 152 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ _init_properties()

visxCtrl.xapp.VisX._init_properties (   self)
protected

Definition at line 165 of file xapp.py.

◆ begin_exposure()

visxCtrl.xapp.VisX.begin_exposure (   self)

Definition at line 327 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ cancel_exposure()

visxCtrl.xapp.VisX.cancel_exposure (   self)

Definition at line 370 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ cooling_on_target()

visxCtrl.xapp.VisX.cooling_on_target (   self)

Definition at line 68 of file xapp.py.

◆ emit_telem_stdcam()

visxCtrl.xapp.VisX.emit_telem_stdcam (   self)

Definition at line 72 of file xapp.py.

◆ finalize_exposure()

visxCtrl.xapp.VisX.finalize_exposure (   self,
  actual_exptime_sec = None 
)

Definition at line 335 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.cancel_exposure(), and visxCtrl.xapp.VisX.loop().

◆ handle_expose()

visxCtrl.xapp.VisX.handle_expose (   self,
  existing_property,
  new_message 
)

Definition at line 130 of file xapp.py.

Referenced by visxCtrl.xapp.VisX._init_properties().

◆ handle_exptime()

visxCtrl.xapp.VisX.handle_exptime (   self,
  existing_property,
  new_message 
)

Definition at line 100 of file xapp.py.

Referenced by visxCtrl.xapp.VisX._init_properties().

◆ handle_gain()

visxCtrl.xapp.VisX.handle_gain (   self,
  existing_property,
  new_message 
)

Definition at line 115 of file xapp.py.

Referenced by visxCtrl.xapp.VisX._init_properties().

◆ handle_temp_ccd()

visxCtrl.xapp.VisX.handle_temp_ccd (   self,
  existing_property,
  new_message 
)

Definition at line 141 of file xapp.py.

Referenced by visxCtrl.xapp.VisX._init_properties().

◆ loop()

visxCtrl.xapp.VisX.loop (   self)

Definition at line 378 of file xapp.py.

◆ maintain_temperature_control()

visxCtrl.xapp.VisX.maintain_temperature_control (   self)
User code must close the loop on temperature control

Definition at line 300 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ refresh_properties()

visxCtrl.xapp.VisX.refresh_properties (   self)

Definition at line 267 of file xapp.py.

Referenced by dbIngest.dbIngest.loop(), and visxCtrl.xapp.VisX.loop().

◆ setup()

visxCtrl.xapp.VisX.setup (   self)

Definition at line 243 of file xapp.py.

◆ subscribe_to_other_devices()

visxCtrl.xapp.VisX.subscribe_to_other_devices (   self)

Definition at line 230 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ update_from_camera()

visxCtrl.xapp.VisX.update_from_camera (   self)

Definition at line 258 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.refresh_properties().

Member Data Documentation

◆ camera [1/2]

◆ camera [2/2]

◆ camera_gain [1/2]

Optional visxCtrl.xapp.VisX.camera_gain = None
static

◆ camera_gain [2/2]

visxCtrl.xapp.VisX.camera_gain

◆ config

◆ cooling_on_target

visxCtrl.xapp.VisX.cooling_on_target

Definition at line 91 of file xapp.py.

◆ currently_exposing [1/2]

◆ currently_exposing [2/2]

◆ data_directory [1/2]

str visxCtrl.xapp.VisX.data_directory = "/opt/MagAOX/rawimages/camvisx"
static

Definition at line 50 of file xapp.py.

◆ data_directory [2/2]

visxCtrl.xapp.VisX.data_directory

Definition at line 244 of file xapp.py.

◆ exposure_start_telem [1/2]

Optional visxCtrl.xapp.VisX.exposure_start_telem = None
static

Definition at line 58 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.finalize_exposure().

◆ exposure_start_telem [2/2]

visxCtrl.xapp.VisX.exposure_start_telem

Definition at line 331 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.finalize_exposure().

◆ exposure_start_ts [1/2]

float visxCtrl.xapp.VisX.exposure_start_ts = 0
static

◆ exposure_start_ts [2/2]

◆ exposure_time_sec [1/2]

Optional visxCtrl.xapp.VisX.exposure_time_sec = None
static

◆ exposure_time_sec [2/2]

◆ frame

np visxCtrl.xapp.VisX.frame .ndarray
static

Definition at line 57 of file xapp.py.

◆ last_image_filename [1/2]

Optional visxCtrl.xapp.VisX.last_image_filename = None
static

Definition at line 55 of file xapp.py.

◆ last_image_filename [2/2]

visxCtrl.xapp.VisX.last_image_filename

Definition at line 361 of file xapp.py.

◆ sdk [1/2]

◆ sdk [2/2]

◆ shmim

ISIO visxCtrl.xapp.VisX.shmim .Image
static

Definition at line 56 of file xapp.py.

◆ should_begin_exposure [1/2]

bool visxCtrl.xapp.VisX.should_begin_exposure = False
static

Definition at line 54 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ should_begin_exposure [2/2]

visxCtrl.xapp.VisX.should_begin_exposure

Definition at line 135 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.loop().

◆ should_cancel [1/2]

bool visxCtrl.xapp.VisX.should_cancel = False
static

Definition at line 52 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.cancel_exposure(), and visxCtrl.xapp.VisX.loop().

◆ should_cancel [2/2]

visxCtrl.xapp.VisX.should_cancel

Definition at line 138 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.cancel_exposure(), and visxCtrl.xapp.VisX.loop().

◆ temp_current_deg_c [1/2]

Optional visxCtrl.xapp.VisX.temp_current_deg_c = None
static

Definition at line 65 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.refresh_properties().

◆ temp_current_deg_c [2/2]

visxCtrl.xapp.VisX.temp_current_deg_c

Definition at line 262 of file xapp.py.

Referenced by visxCtrl.xapp.VisX.refresh_properties().

◆ temp_target_deg_c [1/2]

Optional visxCtrl.xapp.VisX.temp_target_deg_c = None
static

◆ temp_target_deg_c [2/2]


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