Skip to main content

Python implementation of the SPART optical radiative transfer model.

Project description

SPART-python

Overview

This is a Python port of the Matlab code for the SPART radiative transfer model.

The source code can be found at: https://github.com/wirrell/SPART-python

The original code can be found at: https://github.com/peiqiyang/SPART

The model paper is: The SPART model: A soil-plant-atmosphere radiative transfer model for satellite measurements in the solar spectrum - Yang et al. (2020)

Installation

pip install SPART-python

Requirements

Python 3.4+
NumPy
SciPy
Pandas

Quickstart Example

   import SPART
   leafbio = SPART.LeafBiology(40, 10, 0.02, 0.01, 0, 10, 1.5)
   soilpar = SPART.SoilParameters(0.5, 0, 100, 15)
   canopy = SPART.CanopyStructure(3, -0.35, -0.15, 0.05)
   angles = SPART.Angles(40, 0, 0)
   atm = SPART.AtmosphericProperties(0.3246, 0.3480, 1.4116, 1013.25)
   spart = SPART.SPART(soilpar, leafbio, canopy, atm, angles, 'TerraAqua-MODIS',
                 100)
   results = spart.run()  # Pandas DataFrame containing R_TOC, R_TOA, L_TOA

Documentation

Full documentation can be found at https://spart-python.readthedocs.io/

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

SPART-python-1.0.5.tar.gz (389.1 kB view details)

Uploaded Source

Built Distribution

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

SPART_python-1.0.5-py3-none-any.whl (407.0 kB view details)

Uploaded Python 3

File details

Details for the file SPART-python-1.0.5.tar.gz.

File metadata

  • Download URL: SPART-python-1.0.5.tar.gz
  • Upload date:
  • Size: 389.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for SPART-python-1.0.5.tar.gz
Algorithm Hash digest
SHA256 bfe2b8f3db7e22af524b48888f948ce86b53828c13262d4b7827f6b9916eecd1
MD5 59e86c9519d684fa05420cd4bf20d198
BLAKE2b-256 c969adb2c52d7c349013f0ea2b85d91b926e3d82f6ee09d959576cecdfe8817a

See more details on using hashes here.

File details

Details for the file SPART_python-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: SPART_python-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 407.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3

File hashes

Hashes for SPART_python-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d5fb4c39b1a906b5e4b1082e4a89aa0bfa2d5dcf7a1fe4dbe7bc3c3475cd81b0
MD5 b523ee9d4f30283226807488d8131b11
BLAKE2b-256 9712294817cec9de750629ffb1ec9adf5467e5bd9ed6010bd8e86fb4d81ff886

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