Skip to main content

Spectral invariants package

Project description

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

spectralinvariant-0.0.1-py3-none-any.whl (344.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page