Skip to main content

A frugal python package with some hyperspectral data goodies.

Project description

This is a frugal python package with some hyperspectral data goodies. The whole source, including tests, can be found [on github](https://github.com/irap-omp/hyperspectral).

How to install

The setup script is build atop distutils, so you can read the [official documentation](https://docs.python.org/2/install/index.html#the-new-standard-distutils) for installation instructions.

To summarize, you can install via pip or via the setup script : ` pip install hyperspectral ` or ` python setup.py install `

How to publish

Copy .pypirc to ~/.pypirc. Fill out the password field. (ask me !)

` python setup.py sdist && twine upload dist/* `

Dependencies

If you run setup.py, you’ll need [distutils](https://docs.python.org/2/install/index.html) too.

Testing Dependencies

You don’t need those unless you’re running the test suite.

Hyperspectral Cube

A wrapper for 3D data with two spatial dimensions and one spectral dimension. It extends astropy.nddata.NDData and makes a heavy usage of astropy.units. It main purpose is to sanitize and uniformize hyperspectral cubes from FITS files that were made by careless astronomers, with header cards (FITS metadata) ranging from exotic to blatantly illegal.

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

hyperspectral-0.1.2.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file hyperspectral-0.1.2.tar.gz.

File metadata

  • Download URL: hyperspectral-0.1.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hyperspectral-0.1.2.tar.gz
Algorithm Hash digest
SHA256 61815d3b2067bd51c04522d25d2a2d30f0e7bb162c02081178294293673e69be
MD5 996d96dceccdb12b4b6f8b657d5ed766
BLAKE2b-256 9a6c3de14e85e6dcefb6fee0b1e158a79fa56335f3b4b900b46a5f96fa8b5785

See more details on using hashes here.

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