diff --git a/pyobs_flipro/fliprocamera.py b/pyobs_flipro/fliprocamera.py index bd9f33f..8d76a9c 100644 --- a/pyobs_flipro/fliprocamera.py +++ b/pyobs_flipro/fliprocamera.py @@ -84,35 +84,34 @@ async def close(self) -> None: def _log_device_info(self): log.info("Device info:") - log.info(f" Friendly Name: {self._device.friendly_name}") - log.info(f" Serial No: {self._device.serial_number}") - log.info(f" Device Path: {self._device.device_path}") - log.info(f" Conn Type: {self._device.conn_type}") - log.info(f" Vendor ID: {self._device.vendor_id}") - log.info(f" Prod ID: {self._device.prod_id}") - log.info(f" USB Speed: {self._device.usb_speed}") + log.info(f" - Friendly Name: {self._device.friendly_name}") + log.info(f" - Serial No: {self._device.serial_number}") + log.info(f" - Device Path: {self._device.device_path}") + log.info(f" - Conn Type: {self._device.conn_type}") + log.info(f" - Vendor ID: {self._device.vendor_id}") + log.info(f" - Prod ID: {self._device.prod_id}") + log.info(f" - USB Speed: {self._device.usb_speed}") def _log_capabilities(self): log.info("Capabilities:") - log.info(f" Version: {self._caps.uiCapVersion}") - log.info(f" Device Type: {self._caps.uiDeviceType}") - log.info(f" Max Pixel Image Width: {self._caps.uiMaxPixelImageWidth}") - log.info(f" Max Pixel Image Height: {self._caps.uiMaxPixelImageHeight}") - log.info(f" Available Pixel Depths: {self._caps.uiAvailablePixelDepths}") - log.info(f" Binning Table Size: {self._caps.uiBinningsTableSize}") - log.info(f" Black Level Max: {self._caps.uiBlackLevelMax}") - log.info(f" Black Sun Max: {self._caps.uiBlackSunMax}") - log.info(f" Low Gain: {self._caps.uiLowGain}") - log.info(f" High Gain: {self._caps.uiHighGain}") - # log.info(f"{self._caps.uiReserved}") - log.info(f" Row Scan Time: {self._caps.uiRowScanTime}") - log.info(f" Dummy Pixel Num: {self._caps.uiDummyPixelNum}") - log.info(f" Horizontal Scan Invertable: {self._caps.bHorizontalScanInvertable}") - log.info(f" Vertical Scan Invertable: {self._caps.bVerticalScanInvertable}") - log.info(f" NV Storage Available: {self._caps.uiNVStorageAvailable}") - log.info(f" Pre Frame Reference Rows: {self._caps.uiPreFrameReferenceRows}") - log.info(f" Post Frame Reference Rows: {self._caps.uiPostFrameReferenceRows}") - log.info(f" Meta Data Size: {self._caps.uiMetaDataSize}") + log.info(f" - Version: {self._caps.uiCapVersion}") + log.info(f" - Device Type: {self._caps.uiDeviceType}") + log.info(f" - Max Pixel Image Width: {self._caps.uiMaxPixelImageWidth}") + log.info(f" - Max Pixel Image Height: {self._caps.uiMaxPixelImageHeight}") + log.info(f" - Available Pixel Depths: {self._caps.uiAvailablePixelDepths}") + log.info(f" - Binning Table Size: {self._caps.uiBinningsTableSize}") + log.info(f" - Black Level Max: {self._caps.uiBlackLevelMax}") + log.info(f" - Black Sun Max: {self._caps.uiBlackSunMax}") + log.info(f" - Low Gain: {self._caps.uiLowGain}") + log.info(f" - High Gain: {self._caps.uiHighGain}") + log.info(f" - Row Scan Time: {self._caps.uiRowScanTime}") + log.info(f" - Dummy Pixel Num: {self._caps.uiDummyPixelNum}") + log.info(f" - Horizontal Scan Invertable: {self._caps.bHorizontalScanInvertable}") + log.info(f" - Vertical Scan Invertable: {self._caps.bVerticalScanInvertable}") + log.info(f" - NV Storage Available: {self._caps.uiNVStorageAvailable}") + log.info(f" - Pre Frame Reference Rows: {self._caps.uiPreFrameReferenceRows}") + log.info(f" - Post Frame Reference Rows: {self._caps.uiPostFrameReferenceRows}") + log.info(f" - Meta Data Size: {self._caps.uiMetaDataSize}") async def _expose(self, exposure_time: float, open_shutter: bool, abort_event: asyncio.Event) -> Image: """Actually do the exposure, should be implemented by derived classes. diff --git a/pyproject.toml b/pyproject.toml index f5c7566..4c51ca9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyobs-flipro" -version = "1.1.4" +version = "1.1.5" description = "pyobs module for FLIPRO cameras" authors = ["Tim-Oliver Husser "] license = "MIT"