Skip to main content

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 minutes
  • wavelengths: 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:

  • intensities
  • time_slices
  • wavelengths

Project layout

  • src/agilent_decode/: installable package source
  • demo/demo.py: command-line demo script
  • data/: sample assets

Metadata

Release files for agilent-decode 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agilent-decode 0.1.0
File Size Uploaded Provenance Actions
agilent_decode-0.1.0.tar.gz 2.5 kB Without provenance Details for agilent_decode-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agilent-decode 0.1.0
File Interpreter ABI Platform Actions
agilent_decode-0.1.0-py3-none-any.whl Python 3 none any Details for agilent_decode-0.1.0-py3-none-any.whl

Total release size: 5.3 kB

Release files / agilent_decode-0.1.0.tar.gz

Download URL agilent_decode-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2dcca60d59655c106823b77b4c0ad590bfe2ef0bf6296d05e0c79d1363999d19
BLAKE2b-256 checksum
How to use checksums
ebb103c7993c7a72d4df6db601ac2c8651ceb4ed0fd902ff92e2961c8506c9fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / agilent_decode-0.1.0-py3-none-any.whl

Download URL agilent_decode-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28ce213c9a54e3e1f2ed1e95cc05f924d616cd82898a823baef6d2b04d46b1b7
BLAKE2b-256 checksum
How to use checksums
4e27fa7586cc9e97eb70842c601d0d3e492b1b5c2d745062c0125fea060aff13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for agilent-decode 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page