mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
11 lines
331 B
Python
11 lines
331 B
Python
# SPDX-License-Identifier: LGPL-3.0-or-other
|
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
from .detector import Detector
|
|
|
|
def view(name, det = Detector):
|
|
names = find(name, det)
|
|
for n in names:
|
|
print(n)
|
|
|
|
def find(name, det = Detector):
|
|
return [n for n in dir(det) if name.lower() in n.lower()] |