sequency-instruments 0.1.1__cp314-cp314-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sequency_instruments/__init__.py +5 -0
- sequency_instruments/__init__.pyi +108 -0
- sequency_instruments/py.typed +0 -0
- sequency_instruments/sequency_instruments.cp314-win_amd64.pyd +0 -0
- sequency_instruments-0.1.1.dist-info/METADATA +20 -0
- sequency_instruments-0.1.1.dist-info/RECORD +9 -0
- sequency_instruments-0.1.1.dist-info/WHEEL +4 -0
- sequency_instruments-0.1.1.dist-info/sboms/sequency-instruments-py.cyclonedx.json +1286 -0
- sequency_instruments.pyi +108 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
from collections.abc import Sequence
|
|
2
|
+
|
|
3
|
+
class GradientStep:
|
|
4
|
+
time_min: float
|
|
5
|
+
b_pct: float
|
|
6
|
+
c_pct: float
|
|
7
|
+
d_pct: float
|
|
8
|
+
def a_pct(self) -> float: ...
|
|
9
|
+
|
|
10
|
+
class InstrumentMethod:
|
|
11
|
+
name: str | None
|
|
12
|
+
column: str | None
|
|
13
|
+
solvents: list[str]
|
|
14
|
+
gradient: list[GradientStep]
|
|
15
|
+
flow_rate_ml_min: float | None
|
|
16
|
+
column_temp_c: float | None
|
|
17
|
+
injection_volume_ul: float | None
|
|
18
|
+
wavelength_nm: float | None
|
|
19
|
+
nucleus: str | None
|
|
20
|
+
frequency_mhz: float | None
|
|
21
|
+
pulse_program: str | None
|
|
22
|
+
scans: int | None
|
|
23
|
+
relaxation_delay_s: float | None
|
|
24
|
+
|
|
25
|
+
class Peak:
|
|
26
|
+
rt_min: float | None
|
|
27
|
+
area: float | None
|
|
28
|
+
area_pct: float | None
|
|
29
|
+
height: float | None
|
|
30
|
+
compound: str | None
|
|
31
|
+
|
|
32
|
+
class Trace:
|
|
33
|
+
label: str
|
|
34
|
+
x_unit: str
|
|
35
|
+
y_unit: str
|
|
36
|
+
points: list[tuple[float, float]]
|
|
37
|
+
def downsample_lttb(self, threshold: int) -> Trace: ...
|
|
38
|
+
def downsample_minmax(self, bins: int) -> Trace: ...
|
|
39
|
+
|
|
40
|
+
class InstrumentReading:
|
|
41
|
+
technique: str
|
|
42
|
+
vendor_format: str
|
|
43
|
+
acquired_at: str | None
|
|
44
|
+
sample_name: str | None
|
|
45
|
+
instrument: str | None
|
|
46
|
+
method: InstrumentMethod
|
|
47
|
+
peaks: list[Peak]
|
|
48
|
+
traces: list[Trace]
|
|
49
|
+
def main_peak(self) -> Peak | None: ...
|
|
50
|
+
|
|
51
|
+
class OleStream:
|
|
52
|
+
name: str
|
|
53
|
+
data: bytes
|
|
54
|
+
extents: list[tuple[int, int]]
|
|
55
|
+
|
|
56
|
+
class OleLayout:
|
|
57
|
+
streams: list[OleStream]
|
|
58
|
+
unallocated: list[tuple[int, int]]
|
|
59
|
+
|
|
60
|
+
class AcqusParams:
|
|
61
|
+
acquired_at: str | None
|
|
62
|
+
nucleus: str
|
|
63
|
+
pulse_program: str
|
|
64
|
+
instrument: str
|
|
65
|
+
solvent: str
|
|
66
|
+
scans: int
|
|
67
|
+
relaxation_delay_s: float
|
|
68
|
+
data_path: str | None
|
|
69
|
+
|
|
70
|
+
class OpenLabInjection:
|
|
71
|
+
id: str | None
|
|
72
|
+
data_file: str
|
|
73
|
+
sample_name: str
|
|
74
|
+
sample_type: str
|
|
75
|
+
vial: str
|
|
76
|
+
instrument: str | None
|
|
77
|
+
acquired_utc: str | None
|
|
78
|
+
method: str
|
|
79
|
+
processing_method: str | None
|
|
80
|
+
status: str | None
|
|
81
|
+
result_file: str | None
|
|
82
|
+
|
|
83
|
+
class AcamlResultSet:
|
|
84
|
+
injections: list[OpenLabInjection]
|
|
85
|
+
logins: list[str]
|
|
86
|
+
|
|
87
|
+
def detect(data: bytes, filename: str | None = None) -> str: ...
|
|
88
|
+
def read(data: bytes, filename: str | None = None) -> InstrumentReading: ...
|
|
89
|
+
def read_files(files: Sequence[tuple[str, bytes]]) -> InstrumentReading: ...
|
|
90
|
+
def ole_layout(data: bytes) -> OleLayout: ...
|
|
91
|
+
def ole_place(extents: Sequence[tuple[int, int]], start: int, end: int) -> list[tuple[int, int]]: ...
|
|
92
|
+
def shimadzu_read(data: bytes) -> InstrumentReading: ...
|
|
93
|
+
def shimadzu_read_lcm(data: bytes) -> InstrumentReading: ...
|
|
94
|
+
def shimadzu_properties(stream: bytes) -> dict[str, str]: ...
|
|
95
|
+
def shimadzu_filetime(low: str | None = None, high: str | None = None) -> str | None: ...
|
|
96
|
+
def shimadzu_peak_table(stream: bytes) -> list[Peak]: ...
|
|
97
|
+
def shimadzu_deltas(sub_block: bytes) -> list[int]: ...
|
|
98
|
+
def shimadzu_trace(stream: bytes) -> tuple[list[float], list[int]]: ...
|
|
99
|
+
def shimadzu_chromatograms(data: bytes) -> list[Trace]: ...
|
|
100
|
+
def bruker_parse_acqus(text: str) -> AcqusParams: ...
|
|
101
|
+
def bruker_read_acqus(data: bytes) -> InstrumentReading: ...
|
|
102
|
+
def bruker_read_pdata(procs: bytes, data_1r: bytes, acqus: bytes | None = None) -> InstrumentReading: ...
|
|
103
|
+
def bruker_read_dir(exp_dir: str) -> InstrumentReading: ...
|
|
104
|
+
def openlab_parse_acaml(acaml: bytes) -> AcamlResultSet: ...
|
|
105
|
+
def openlab_read_acaml(acaml: bytes) -> InstrumentReading: ...
|
|
106
|
+
def openlab_read_dx(dx: bytes) -> InstrumentReading: ...
|
|
107
|
+
def openlab_read_rx(rx: bytes) -> InstrumentReading: ...
|
|
108
|
+
def openlab_parse_rx_peaks(rx: bytes) -> list[Peak]: ...
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sequency-instruments
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Intended Audience :: Science/Research
|
|
6
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
7
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Rust
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering :: Chemistry
|
|
15
|
+
Summary: Pure-Rust binary instrument file readers for analytical chemistry formats (Shimadzu .lcd, Bruker TopSpin NMR, Agilent OpenLab CDS).
|
|
16
|
+
Keywords: chemistry,chromatography,nmr,hplc,spectroscopy
|
|
17
|
+
License-Expression: MIT OR Apache-2.0
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Project-URL: Homepage, https://github.com/SequencyLabs/instrument-readers
|
|
20
|
+
Project-URL: Repository, https://github.com/SequencyLabs/instrument-readers
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
sequency_instruments/__init__.py,sha256=JjIsnaPyRXlqqGep7fssOpaiLGWlmGmWmFLBQiQA9O0,163
|
|
2
|
+
sequency_instruments/__init__.pyi,sha256=nCdtyQfbeBvo4esy9N_hWjyKgSoLCrT9KLn42qcneBE,3488
|
|
3
|
+
sequency_instruments/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
sequency_instruments/sequency_instruments.cp314-win_amd64.pyd,sha256=idwUi9JettooInFFIIY35gqONut_y0oRNCnQkfuDOIQ,980480
|
|
5
|
+
sequency_instruments-0.1.1.dist-info/METADATA,sha256=ODaC-enmOGVDt1kZHQzCIpaTUeHaLuOA4IkFdSmevXA,1031
|
|
6
|
+
sequency_instruments-0.1.1.dist-info/WHEEL,sha256=2SQE26MZ0gN7tulTDy_UPt0zttHAbMDGpyWkbkdvGTM,97
|
|
7
|
+
sequency_instruments-0.1.1.dist-info/sboms/sequency-instruments-py.cyclonedx.json,sha256=J2gYlK3qm8uYbvGAe7Z5fWbKudVFeWSAYqwEzvZK2JM,40210
|
|
8
|
+
sequency_instruments.pyi,sha256=nCdtyQfbeBvo4esy9N_hWjyKgSoLCrT9KLn42qcneBE,3488
|
|
9
|
+
sequency_instruments-0.1.1.dist-info/RECORD,,
|