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.6.tar.gz (517.8 kB view details)

Uploaded Source

Built Distribution

agilent_format-0.4.6-py3-none-any.whl (521.8 kB view details)

Uploaded Python 3

File details

Details for the file agilent_format-0.4.6.tar.gz.

File metadata

  • Download URL: agilent_format-0.4.6.tar.gz
  • Upload date:
  • Size: 517.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for agilent_format-0.4.6.tar.gz
Algorithm Hash digest
SHA256 8c0927309d8952d20741bb27adf49fb96007c720cfdca84a35b423d87090c4e4
MD5 24a4f40e183cc07ade046d19fd858a10
BLAKE2b-256 8bb87b63e2f9d0f102276a269a1ba691086453939dea952c11328816a0330cae

See more details on using hashes here.

File details

Details for the file agilent_format-0.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for agilent_format-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 93d04e01d62fcc260f0ed89033fb39ae9a3e4cfaf12d023796d4833d7fed8eb5
MD5 a794f0f79f5d8b0bfb5354b735a92d60
BLAKE2b-256 82dcbe15153146de11c00f2c4eef8574fdbb1773311a215bfc80d8c456df43d0

See more details on using hashes here.

Supported by

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