mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-13 07:18:14 +01:00
* added patterntools from mythen3tools * refactored do use implementation from slsSupportLib
665 B
665 B
PatternGenerator
Python class to generate patterns for the Chip Test Board.
from slsdet import PatternGenerator
p = PatternGenerator()
p.SB(5)
p.PW()
p.SB(8,9)
p.PW()
p.CB(5)Created a pattern like this:
patword 0x0000 0x0000000000000020
patword 0x0001 0x0000000000000320
patword 0x0002 0x0000000000000300
patioctrl 0x0000000000000000
patlimits 0x0000 0x0002
...PatternGenerator