-
Notifications
You must be signed in to change notification settings - Fork 1
/
lstrs.pyi
54 lines (41 loc) · 1.23 KB
/
lstrs.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from numpy import ndarray
class EDFFileConfig:
keyword: str
dataset_name: str
def __init__(self, keyword: str, dataset_name: str) -> None: ...
class EDFConfig:
path: str | None
files: list[EDFFileConfig]
def __init__(self, path: str | None) -> None: ...
class LSTData:
name: str
attributes: dict[str, str]
data: ndarray
class ParsingResult:
datasets: list[LSTData]
computed_datasets: list[LSTData]
attributes: dict[str, str]
class Detector:
adc: int
channels: int
file_extension: str | None
def __init__(self, adc: int, channels: int, file_extension: str | None) -> None: ...
class ComputedDetector:
detectors: list[str]
file_extension: str | None
def __init__(self, detectors: list[str], file_extension: str | None) -> None: ...
class Config:
x: int
y: int
detectors: dict[str, Detector]
computed_detectors: dict[str, ComputedDetector]
edf: list[EDFConfig] | None
def __init__(
self,
x: int,
y: int,
detectors: dict[str, Detector],
computed_detectors: dict[str, ComputedDetector],
edf: list[EDFConfig] | None,
) -> None: ...
def parse_lst(filename: str, config: Config) -> ParsingResult: ...