File tree Expand file tree Collapse file tree
native_fisher_py/python/native_fisher_py Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Subproject commit 6ce58b68187a4b2862da8a6f20be0a64b08ed048
Original file line number Diff line number Diff line change @@ -240,10 +240,10 @@ class MassAnalyzer:
240240 Sector = 6
241241
242242class TraceType :
243+ MassRange = 0
243244 TIC = 1
244- MassRange = 2
245- BasePeak = 3
246- # ... for parity, we only need TIC and MassRange for now
245+ BasePeak = 2
246+ # ... for parity
247247
248248if not _IS_SPHINX :
249249 from . import native_fisher_py_backend
Original file line number Diff line number Diff line change @@ -11,3 +11,15 @@ class TrayShape:
1111 Unknown = 0
1212 Rectangular = 1
1313 Circular = 2
14+
15+ class ToleranceUnits :
16+ mmu = 1
17+ ppm = 2
18+
19+ class SampleType :
20+ Unknown = 0
21+ Sample = 1
22+ Blank = 2
23+ Standard = 3
24+ QC = 4
25+ Unassigned = 5
Original file line number Diff line number Diff line change 11from ... import TraceType
22
33class GenericDataTypes :
4- pass
4+ NULL = 0
5+ CHAR = 1
6+ TRUEFALSE = 2
7+ YESNO = 3
8+ ONOFF = 4
9+ UCHAR = 5
10+ SHORT = 6
11+ USHORT = 7
12+ LONG = 8
13+ ULONG = 9
14+ FLOAT = 10
15+ DOUBLE = 11
16+ CHAR_STRING = 12
17+ WCHAR_STRING = 13
18+
19+ class Range :
20+ def __init__ (self , low = 0.0 , high = 0.0 ):
21+ self .low = low
22+ self .high = high
523
624class ChromatogramTraceSettings :
7- def __init__ (self , trace_type = 1 ):
8- self .trace_type = trace_type
25+ def __init__ (self , trace_type = TraceType .TIC ):
26+ self .trace = trace_type
27+ self .filter = ""
28+ self .mass_ranges = []
929
1030class ChromatogramSignal :
1131 pass
@@ -16,14 +36,10 @@ class SpectrumPacketType:
1636class Scan :
1737 pass
1838
19- class Range :
20- def __init__ (self , low = 0.0 , high = 0.0 ):
21- self .low = low
22- self .high = high
23-
2439class SampleType :
2540 Unknown = 0
2641 Sample = 1
2742 Blank = 2
2843 Standard = 3
29- # ...
44+ QC = 4
45+ Unassigned = 5
Original file line number Diff line number Diff line change 1+ class EstimatorResults :
2+ pass
3+
4+ class PrecisionEstimate :
5+ def __init__ (self , raw_file = None , scan_number = 0 ):
6+ self .raw_file = raw_file
7+ self .scan_number = scan_number
8+
9+ def get_ion_time (self ):
10+ return 0.0
11+
12+ def get_mass_precision_estimate (self , mass ):
13+ return 0.0
14+
15+ def dispose (self ):
16+ pass
You can’t perform that action at this time.
0 commit comments