python-agilent-file-formats
Python library for reading FT-IR imaging datasets created by Resolutions Pro on Agilent Cary instruments with FPA area detectors.
Port of https://bitbucket.org/AlexHenderson/agilent-file-formats/ to Python
Developed for use in the orange-spectroscopy add-in, which is part of the Quasar data analysis program.
Installation
The package can be installed from PyPI as:
pip install agilent-format
Usage
There are four primary classes for loading data, depending on the type:
| Class | Data Type | Extension |
|---|---|---|
agilentImage |
Single-tile FPA image | .dat |
agilentMosaic |
Mosaic FPA image | .dmt |
agilentImageIFG |
Single-tile interferograms | .seq |
agilentMosaicIFG |
Mosaic interferograms | .dmt |
To use, load the corresponding data loader class with the appropriate filename:
from agilent_format import agilentImage
ai = agilentImage("agilent_format/datasets/4_noimage_agg256.dat")
ai.data # 3-dimensional numpy array (height x width x wavenumbers)
ai.wavenumbers # list of wavenumbers in order of .data array
# Pixel size can be calculated by:
px_size = ai.info['FPA Pixel Size'] * ai.info['PixelAggregationSize']
Metadata
Release files for agilent-format 0.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agilent_format-0.4.7.tar.gz | 517.9 kB | With provenance | Details for agilent_format-0.4.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agilent_format-0.4.7-py3-none-any.whl | Python 3 | none | any | Details for agilent_format-0.4.7-py3-none-any.whl |
Total release size: 1.0 MB
Release files / agilent_format-0.4.7.tar.gz
| Download URL | agilent_format-0.4.7.tar.gz |
|---|---|
| Size | 517.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
938546a57d4be4ab41737ca617bd7d8edb8cb4c38e067aa74a14fd590ac186e9
|
|
BLAKE2b-256 checksum How to use checksums |
60be89f82b0acfb5152357a6bae50c05391da825c045040308ac55b34e85c303
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logRelease files / agilent_format-0.4.7-py3-none-any.whl
| Download URL | agilent_format-0.4.7-py3-none-any.whl |
|---|---|
| Size | 521.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c39eff9b39e53eba3a0621cbeb821ae0512acb4ed6a3368e494b3175b41d4689
|
|
BLAKE2b-256 checksum How to use checksums |
059165cb8aa0300731d57f0e8d132f08b553cedd3d5b766be801088ac5e96ed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logSecurity for agilent-format 0.4.7
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agilent_format-0.4.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logA 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.