mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00

* initital implementation * datetime replaces with sls::Duration in Python C bindings * using custom type caster * fix for conversion to seconds * added set_count in python * common header for pybind11 includes authored-by: Erik Frojdh <erik.frojdh@psi.ch>
28 lines
828 B
Python
Executable File
28 lines
828 B
Python
Executable File
# SPDX-License-Identifier: LGPL-3.0-or-other
|
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
# from .detector import Detector, DetectorError, free_shared_memory
|
|
from .eiger import Eiger
|
|
from .ctb import Ctb
|
|
from .dacs import DetectorDacs, Dac
|
|
from .detector import Detector
|
|
from .jungfrau import Jungfrau
|
|
from .mythen3 import Mythen3
|
|
from .gotthard2 import Gotthard2
|
|
from .gotthard import Gotthard
|
|
from .moench import Moench
|
|
from .pattern import Pattern, patternParameters
|
|
|
|
|
|
import _slsdet
|
|
xy = _slsdet.xy
|
|
defs = _slsdet.slsDetectorDefs
|
|
|
|
#Make enums and #defines available at top level
|
|
from .enums import *
|
|
from .defines import *
|
|
|
|
IpAddr = _slsdet.IpAddr
|
|
MacAddr = _slsdet.MacAddr
|
|
scanParameters = _slsdet.scanParameters
|
|
currentSrcParameters = _slsdet.currentSrcParameters
|
|
DurationWrapper = _slsdet.DurationWrapper |