File reader for Agilent Resolutions Pro FT-IR images
Project description
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']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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_format-0.4.7.tar.gz.
File metadata
- Download URL: agilent_format-0.4.7.tar.gz
- Upload date:
- Size: 517.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
938546a57d4be4ab41737ca617bd7d8edb8cb4c38e067aa74a14fd590ac186e9
|
|
| MD5 |
8513e0e94d9d70f96e917f7cd1522524
|
|
| BLAKE2b-256 |
60be89f82b0acfb5152357a6bae50c05391da825c045040308ac55b34e85c303
|
Provenance
The following attestation bundles were made for agilent_format-0.4.7.tar.gz:
Publisher:
release.yml on stuart-cls/python-agilent-file-formats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agilent_format-0.4.7.tar.gz -
Subject digest:
938546a57d4be4ab41737ca617bd7d8edb8cb4c38e067aa74a14fd590ac186e9 - Sigstore transparency entry: 805341511
- Sigstore integration time:
-
Permalink:
stuart-cls/python-agilent-file-formats@c34c0d8d713d4497c20707778539fe96b1392e97 -
Branch / Tag:
refs/tags/0.4.7 - Owner: https://github.com/stuart-cls
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c34c0d8d713d4497c20707778539fe96b1392e97 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agilent_format-0.4.7-py3-none-any.whl.
File metadata
- Download URL: agilent_format-0.4.7-py3-none-any.whl
- Upload date:
- Size: 521.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c39eff9b39e53eba3a0621cbeb821ae0512acb4ed6a3368e494b3175b41d4689
|
|
| MD5 |
ef77f1492bb33590421936b9ab17a672
|
|
| BLAKE2b-256 |
059165cb8aa0300731d57f0e8d132f08b553cedd3d5b766be801088ac5e96ed1
|
Provenance
The following attestation bundles were made for agilent_format-0.4.7-py3-none-any.whl:
Publisher:
release.yml on stuart-cls/python-agilent-file-formats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agilent_format-0.4.7-py3-none-any.whl -
Subject digest:
c39eff9b39e53eba3a0621cbeb821ae0512acb4ed6a3368e494b3175b41d4689 - Sigstore transparency entry: 805341518
- Sigstore integration time:
-
Permalink:
stuart-cls/python-agilent-file-formats@c34c0d8d713d4497c20707778539fe96b1392e97 -
Branch / Tag:
refs/tags/0.4.7 - Owner: https://github.com/stuart-cls
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c34c0d8d713d4497c20707778539fe96b1392e97 -
Trigger Event:
release
-
Statement type: