mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-14 08:41:17 +01:00
added currentsource example for python
This commit is contained in:
10
python/examples/use_currentsource.py
Normal file
10
python/examples/use_currentsource.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from slsdet import Detector, currentSrcParameters
|
||||
|
||||
s = currentSrcParameters()
|
||||
s.enable_ = 1
|
||||
s.fix_= 1
|
||||
s.select_ = 10
|
||||
|
||||
|
||||
d = Detector()
|
||||
d.currentsource = s
|
||||
Reference in New Issue
Block a user