mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
11 lines
167 B
Python
11 lines
167 B
Python
from slsdet import Detector, currentSrcParameters
|
|
|
|
s = currentSrcParameters()
|
|
s.enable_ = 1
|
|
s.fix_= 1
|
|
s.normal_ = 1
|
|
s.select_ = 10
|
|
|
|
|
|
d = Detector()
|
|
d.currentsource = s |