Skip to main content

Imaging Spectrometer Optimal FITting

Project description

ISOFIT — Imaging Spectrometer Optimal FITting

Documentation PyPI version conda-forge License Python versions Downloads DOI

ISOFIT is a Python toolkit for retrieving surface reflectance, atmospheric state, and instrument calibration from imaging spectrometer radiance data. It is built around the optimal estimation framework and is designed for flexibility — users can combine different radiative transfer models, surface priors, and uncertainty models to suit their sensors and science questions. The effort began with a straightforward optimal estimation implementation, and has grown considerably - see the bibilography for the latest science.

ISOFIT is on version PyPI version. Major revisions are not backwards compatible with one another due to updates to the configuration files. See Release History for older versions.

ISOFIT combines surface models, atmospheric radiative transfer, and instrument characteristics into a forward model. This forward model is then solved by inverting relative to a measurement, via optimization or MCMC, to generate the Maximum a Posterior estimate of the joint surface and atmospheric state vector.

+-------------------------------------------------------------------------+
|                                 isofit                                  |
|                                                                         |
|  +--------+      +---------------+      +----------------------------+  |
|  |        |      |               |      |          forward           |  |
|  |   io   | ===> |   inversion   | <=== |                            |  |
|  |        |      |               |      | +----------+  +----------+ |  |
|  +--------+      +---------------+      | |atmosphere|  | surface  | |  |
|                          |              | +----------+  +----------+ |  |
|                          |              |                            |  |
|                          |              |       +------------+       |  |
|                          |              |       | instrument |       |  |
|                          |              |       +------------+       |  |
|                          |              +----------------------------+  |
|                          |                                              |
+--------------------------|----------------------------------------------+
                           |
                           | produces
                           v
   +-------------------------------------------------------------+
   |    Joint Surface, Instrument, & Atmospheric State Vector    |
   +-------------------------------------------------------------+

Contents


Components

Capability Details
Radiative transfer MODTRAN, 6S, LibRadTran, sRTMnet neural-network emulator
Surface models Multicomponent Gaussian, Glint, LUT, Emissive (thermal)
Instrument models SNR, parametric noise, nonlinear response, and more

Installation

Conda (recommended)

mamba create -n isofit_env -c conda-forge isofit
mamba activate isofit_env

Full Installation Instructions

For all options including developer installs, see the Installation guide.


Quick Start

1. Download supporting data and build examples

isofit download all
isofit build

This fetches the sRTMnet emulator, 6S, surface libraries, and pre-configured example datasets into ~/.isofit/. For users that want a smaller or mosre custom download, see Additional Data for customization.

2. Run an example to test

cd $(isofit path examples)/image_cube/small
bash default.sh

3. Start using!

Leverage the command line interface to build surface models, run isofit on scenes, or perform a wavelength calibration.

To get going, you'll need a radiance image, a location file (with lat, lon, and elevation), and an observation file with sensor and solar geometry. To get running, ISOFIT ships with both examples (all command line scripts) and tutorials (jupyter notebooks that annotate calls in python and the command line):

Tutorials

Tutorial Description
apply_oe Full walkthrough of inputs and outputs of apply_oe
single pixel inversion Learn how to use isofit modules in your own code by building and executing individual modules on a single pixel

Examples

Example Description
image_cube/small Fast analytical retrieval — good first run
20151026_SantaMonica AVIRIS-NG scene with 6S radiative transfer
20171108_Pasadena Urban hyperspectral scene
20190806_ThermalIR Thermal infrared joint VSWIR+TIR retrieval
20231110_Prism_Multisurface Multi-component surface model
NEON National Ecological Observatory Network data
SeaBASS_prism_001 Coastal / water target single-pixel case

Full instructions for running examples.


Atmospheric Radiative Transfer Models

ISOFIT supports several atmospheric RTM backends. The recommended starting point for new users is sRTMnet, a neural-network emulator that requires no licensed software:

  • sRTMnet quickstart — automatic install via isofit download
  • MODTRAN quickstart — requires a MODTRAN 6 licence
  • 6S — Second Simulation of a Satellite Signal in the Solar Spectrum vector code. Automatic download and build with isofit download.
  • libRadtran — library for radiative transfer. Automatic download and build with isofit download.
  • Bring Your Own — isofit can run with any LUT that complies with the luts/reader.py standards. Adding a new radiative transfer model is also straightforward by extending the base BaseAtmosphere class.

Contributing

Contributions are welcome — bug reports, tests, documentation, and new features.
Please read the Contributing guide before opening a pull request.

Active development happens on the dev branch.
Issues and feature requests are tracked in the issue tracker.


Citation

If you use ISOFIT in your work, please cite the relevant papers listed in the Bibliography.
Package citation information is in the CITATION.cff file.


License

Apache License v2 — see LICENSE.

Images in this repository are licensed under CC0.

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

isofit-4.0.0a0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isofit-4.0.0a0-py3-none-any.whl (341.4 kB view details)

Uploaded Python 3

File details

Details for the file isofit-4.0.0a0.tar.gz.

File metadata

  • Download URL: isofit-4.0.0a0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for isofit-4.0.0a0.tar.gz
Algorithm Hash digest
SHA256 04c83941f643ebc94439c90d24d00c78befc70297da9611afddbb83477642bc3
MD5 4cd9acb8b62aac2d2a7e12ec04af4ab6
BLAKE2b-256 af9289b8eff657b602b77a0907e2499383de668fe37e2b8238285cef0a89a718

See more details on using hashes here.

File details

Details for the file isofit-4.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: isofit-4.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 341.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for isofit-4.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfeeeeb28a729e82b7c7c27c911f04862a9c0d13983a07d8dec2dd9485d94dc8
MD5 33a6440bd94b3e8c40f856a2f801eafd
BLAKE2b-256 703993b19f9480910152504da9800989b8f377e65628b03c3e83486c8d425bab

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