Skip to content

Commit

Permalink
v1.1.5
Browse files Browse the repository at this point in the history
version 1.1.5
  • Loading branch information
thusser authored Apr 22, 2024
2 parents 1156d71 + f0ceeec commit 408148a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
51 changes: 25 additions & 26 deletions pyobs_flipro/fliprocamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 408148a

Please sign in to comment.