Skip to main content

spectralinvariant

(hyper)spectral data processing with spectral invariants (p-theory)

Installation

I haven't yet made an official pip package of spectralinvariant. But here's how you can install the package on your system locally:

  • Clone this repo to your machine via GitHub Desktop or using git:
$ git clone https://github.com/mottus/spectralinvariant
  • Install the package in your repo directory using pip:
/spectralinvariant$ pip install -e .

The -e flag makes pip install the package locally, i.e., in the src directory, NOT within your Python distribution.

Testing

You can test whether the installation succeeded by running python and importing the prospect_wavelengths() function:

>>> import spectralinvariant.prospect
>>> spectralinvariant.prospect.prospect_wavelengths()

This should yield

array([ 400,  401,  402, ..., 2498, 2499, 2500])

You can also running the GUI_p or hyperspectral_demo.py which are located in the demos folder.

Release files for spectralinvariant 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for spectralinvariant 0.0.1
File Interpreter ABI Platform
spectralinvariant-0.0.1-py3-none-any.whl Python 3 none any Details

Release files / spectralinvariant-0.0.1-py3-none-any.whl

Download URL spectralinvariant-0.0.1-py3-none-any.whl
Size 344.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bc1a367d05ad7661af833cf1062a71984aa3b2b3ef11868e6b8daf0cef40eea
BLAKE2b-256 checksum
How to use checksums
cec8fdc4eed77cd3eed21dab5c5da23ca6093e1c899a1aa8402407a9bb616d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page