@@ -84,35 +84,34 @@ async def close(self) -> None:
8484
8585 def _log_device_info (self ):
8686 log .info ("Device info:" )
87- log .info (f" Friendly Name: { self ._device .friendly_name } " )
88- log .info (f" Serial No: { self ._device .serial_number } " )
89- log .info (f" Device Path: { self ._device .device_path } " )
90- log .info (f" Conn Type: { self ._device .conn_type } " )
91- log .info (f" Vendor ID: { self ._device .vendor_id } " )
92- log .info (f" Prod ID: { self ._device .prod_id } " )
93- log .info (f" USB Speed: { self ._device .usb_speed } " )
87+ log .info (f" - Friendly Name: { self ._device .friendly_name } " )
88+ log .info (f" - Serial No: { self ._device .serial_number } " )
89+ log .info (f" - Device Path: { self ._device .device_path } " )
90+ log .info (f" - Conn Type: { self ._device .conn_type } " )
91+ log .info (f" - Vendor ID: { self ._device .vendor_id } " )
92+ log .info (f" - Prod ID: { self ._device .prod_id } " )
93+ log .info (f" - USB Speed: { self ._device .usb_speed } " )
9494
9595 def _log_capabilities (self ):
9696 log .info ("Capabilities:" )
97- log .info (f" Version: { self ._caps .uiCapVersion } " )
98- log .info (f" Device Type: { self ._caps .uiDeviceType } " )
99- log .info (f" Max Pixel Image Width: { self ._caps .uiMaxPixelImageWidth } " )
100- log .info (f" Max Pixel Image Height: { self ._caps .uiMaxPixelImageHeight } " )
101- log .info (f" Available Pixel Depths: { self ._caps .uiAvailablePixelDepths } " )
102- log .info (f" Binning Table Size: { self ._caps .uiBinningsTableSize } " )
103- log .info (f" Black Level Max: { self ._caps .uiBlackLevelMax } " )
104- log .info (f" Black Sun Max: { self ._caps .uiBlackSunMax } " )
105- log .info (f" Low Gain: { self ._caps .uiLowGain } " )
106- log .info (f" High Gain: { self ._caps .uiHighGain } " )
107- # log.info(f"{self._caps.uiReserved}")
108- log .info (f" Row Scan Time: { self ._caps .uiRowScanTime } " )
109- log .info (f" Dummy Pixel Num: { self ._caps .uiDummyPixelNum } " )
110- log .info (f" Horizontal Scan Invertable: { self ._caps .bHorizontalScanInvertable } " )
111- log .info (f" Vertical Scan Invertable: { self ._caps .bVerticalScanInvertable } " )
112- log .info (f" NV Storage Available: { self ._caps .uiNVStorageAvailable } " )
113- log .info (f" Pre Frame Reference Rows: { self ._caps .uiPreFrameReferenceRows } " )
114- log .info (f" Post Frame Reference Rows: { self ._caps .uiPostFrameReferenceRows } " )
115- log .info (f" Meta Data Size: { self ._caps .uiMetaDataSize } " )
97+ log .info (f" - Version: { self ._caps .uiCapVersion } " )
98+ log .info (f" - Device Type: { self ._caps .uiDeviceType } " )
99+ log .info (f" - Max Pixel Image Width: { self ._caps .uiMaxPixelImageWidth } " )
100+ log .info (f" - Max Pixel Image Height: { self ._caps .uiMaxPixelImageHeight } " )
101+ log .info (f" - Available Pixel Depths: { self ._caps .uiAvailablePixelDepths } " )
102+ log .info (f" - Binning Table Size: { self ._caps .uiBinningsTableSize } " )
103+ log .info (f" - Black Level Max: { self ._caps .uiBlackLevelMax } " )
104+ log .info (f" - Black Sun Max: { self ._caps .uiBlackSunMax } " )
105+ log .info (f" - Low Gain: { self ._caps .uiLowGain } " )
106+ log .info (f" - High Gain: { self ._caps .uiHighGain } " )
107+ log .info (f" - Row Scan Time: { self ._caps .uiRowScanTime } " )
108+ log .info (f" - Dummy Pixel Num: { self ._caps .uiDummyPixelNum } " )
109+ log .info (f" - Horizontal Scan Invertable: { self ._caps .bHorizontalScanInvertable } " )
110+ log .info (f" - Vertical Scan Invertable: { self ._caps .bVerticalScanInvertable } " )
111+ log .info (f" - NV Storage Available: { self ._caps .uiNVStorageAvailable } " )
112+ log .info (f" - Pre Frame Reference Rows: { self ._caps .uiPreFrameReferenceRows } " )
113+ log .info (f" - Post Frame Reference Rows: { self ._caps .uiPostFrameReferenceRows } " )
114+ log .info (f" - Meta Data Size: { self ._caps .uiMetaDataSize } " )
116115
117116 async def _expose (self , exposure_time : float , open_shutter : bool , abort_event : asyncio .Event ) -> Image :
118117 """Actually do the exposure, should be implemented by derived classes.
0 commit comments