Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agilent_format-0.4.7.tar.gz (517.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agilent_format-0.4.7-py3-none-any.whl (521.9 kB view details)

Uploaded Python 3

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

Hashes for agilent_format-0.4.7.tar.gz
Algorithm Hash digest
SHA256 938546a57d4be4ab41737ca617bd7d8edb8cb4c38e067aa74a14fd590ac186e9
MD5 8513e0e94d9d70f96e917f7cd1522524
BLAKE2b-256 60be89f82b0acfb5152357a6bae50c05391da825c045040308ac55b34e85c303

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for agilent_format-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c39eff9b39e53eba3a0621cbeb821ae0512acb4ed6a3368e494b3175b41d4689
MD5 ef77f1492bb33590421936b9ab17a672
BLAKE2b-256 059165cb8aa0300731d57f0e8d132f08b553cedd3d5b766be801088ac5e96ed1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page