agilent-decode
Python package for extracting Agilent CDS DAD data from .dx archives.
Installation
From repository root:
pip install .
For editable install during development:
pip install -e .
Package usage
from pathlib import Path
from agilent_decode import CDSExtractor
reader = CDSExtractor()
intensities, time_slices, wavelengths = reader.extract_dad(Path("sample_data.dx"))
intensities: 2D numpy array shaped(n_scans, n_wavelengths)time_slices: 1D numpy array of scan times in minuteswavelengths: 1D numpy array of wavelengths in nm
Demo script
demo/demo.py reproduces the old if __name__ == "__main__" workflow but writes decoded data to .npz instead of printing values.
Run:
python demo/demo.py sample_data.dx -o decoded_output.npz
Saved fields in the .npz:
intensitiestime_sliceswavelengths
Project layout
src/agilent_decode/: installable package sourcedemo/demo.py: command-line demo scriptdata/: sample assets
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agilent_decode-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agilent_decode-0.1.0.tar.gz.
File metadata
- Download URL: agilent_decode-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dcca60d59655c106823b77b4c0ad590bfe2ef0bf6296d05e0c79d1363999d19
|
|
| MD5 |
66566daf48b5a1d77096551b1413196f
|
|
| BLAKE2b-256 |
ebb103c7993c7a72d4df6db601ac2c8651ceb4ed0fd902ff92e2961c8506c9fd
|
File details
Details for the file agilent_decode-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agilent_decode-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28ce213c9a54e3e1f2ed1e95cc05f924d616cd82898a823baef6d2b04d46b1b7
|
|
| MD5 |
5b525235a51146239c74b2fb33b36c58
|
|
| BLAKE2b-256 |
4e27fa7586cc9e97eb70842c601d0d3e492b1b5c2d745062c0125fea060aff13
|