pyobs-flipro

This is a pyobs (documentation) module for FLI PRO cameras.

Example configuration

This is an example configuration:

class: pyobs_flipro.FliProCamera

# filename pattern
filenames: /cache/pyobs-{DAY-OBS|date:}-{FRAMENUM|string:04d}-{IMAGETYP|type}00.fits

# cooling
setpoint: -20.0

# location
timezone: utc
location:
  longitude: 9.944333
  latitude: 51.560583
  elevation: 201.

# communication
comm:
  jid: test@example.com
  password: ***

# virtual file system
vfs:
  class: pyobs.vfs.VirtualFileSystem
  roots:
    cache:
      class: pyobs.vfs.HttpFile
      upload: http://localhost:37075/

Available classes

There is one single class for FLI PRO cameras.

FliProCamera

class FliProCamera(setpoint: float, **kwargs: Any)

Bases: BaseCamera, ICamera, IAbortable, IWindow, IBinning, ICooling, ITemperatures

A pyobs module for FLIPRO cameras.

Initializes a new FliProCamera.

Parameters:

setpoint – Cooling temperature setpoint.

async close() None[source]

Close the module.

async open() None[source]

Open module.

async set_binning(x: int, y: int, **kwargs: Any) None[source]

Set the camera binning.

Parameters:
  • x – X binning.

  • y – Y binning.

async set_cooling(enabled: bool, setpoint: float | None, **kwargs: Any) None[source]

Enables/disables cooling and sets setpoint.

Parameters:
  • enabled – Enable or disable cooling.

  • setpoint – Setpoint in celsius for the cooling.

async set_window(left: int, top: int, width: int, height: int, **kwargs: Any) None[source]

Set the camera window.

Parameters:
  • left – X offset of window.

  • top – Y offset of window.

  • width – Width of window.

  • height – Height of window.