mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 06:47:14 +02:00
pattern stuff
This commit is contained in:
9
python/sls_detector/lookup.py
Normal file
9
python/sls_detector/lookup.py
Normal file
@ -0,0 +1,9 @@
|
||||
from .detector import Detector
|
||||
|
||||
def view(name):
|
||||
names = find(name)
|
||||
for n in names:
|
||||
print(n)
|
||||
|
||||
def find(name):
|
||||
return [n for n in dir(Detector) if name in n]
|
Reference in New Issue
Block a user