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
[astropy](http://www.astropy.org)
[numpy](http://www.numpy.org)
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.
[unittest](https://docs.python.org/2/library/unittest.html)
[ddt](https://github.com/txels/ddt)
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
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
File details
Details for the file hyperspectral-0.1.8.tar.gz
.
File metadata
- Download URL: hyperspectral-0.1.8.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b94c0fb39a2ecbeaaf125989f3863e48c650f79e5f0940afe2ecd092179564 |
|
MD5 | 099bd2b281fd23acd3d8421673fe3856 |
|
BLAKE2b-256 | 0843582e86777c04c1a3ef249cc10fcf05e58801dc7e011323383a76f5e9e92b |