Skip to main content

LESS

3D Radiative Transfer Model

Version 3.1.1

PyPI version Python License: Academic and Commercial

LESS is a GPU- and CPU-accelerated 3D radiative transfer model for quantitative remote sensing. It combines a Python interface with NVIDIA OptiX, Vulkan Ray Query, and Intel Embree native backends for optical, thermal, solar-induced fluorescence (SIF), vegetation photosynthesis, energy-balance, and LiDAR simulations.

LESS 3.x is a completely new native implementation of the original LESS model. The original LESS 2.x implementation remains available at lessrt.org.

Highlights

  • Remote-sensing-oriented Python API — describe a scene using terrain, objects, optical properties, illumination, sensors, and products.
  • Three native backends — OptiX for NVIDIA GPUs, Vulkan Ray Query for supported GPUs, and Embree for CPU execution for simulation across supported platforms.
  • Persistent scenes — geometry is prepared automatically on the first simulation and reused when only illumination, spectra, or properties change.
  • Mesh and turbid vegetation — simulate explicit geometry, volume canopies, or mixed scenes.
  • Imaging and biophysical products — optical and thermal imagery, BRF, radiation fields, irradiance maps, SIF, photosynthesis, energy balance, and LiDAR.
  • Sensor effects — pushbroom geometry, spectral response, PSF/MTF, detector noise, ADC quantisation, and geolocation.
  • Interactive inspection — use scene.show() to explore scenes and products in a browser-based viewer.

Find your way around the source

What you want to understand Where to start
How a scene is defined Scene API, sensors, surface properties, and media
How BRF is calculated BRF workflow, forward transport, and BRF product
How LiDAR returns become a waveform LiDAR workflow, LiDAR transport, and waveform product
Where a surface interaction is defined Lambertian property and its shared native model

Source architecture describes the ownership of scene preparation, scientific workflows, native programs, and results. Development covers building the three backends and running tests.

Installation

Install the wheel that matches your operating system and Python version. See the installation guide for platform requirements. The Apple Silicon wheel uses Embree on the CPU. GPU backends require compatible drivers.

Backend Typical hardware Recommended memory Suggested use
Embree x86-64 or Apple Silicon CPU System RAM CPU simulation and comparison
Vulkan Ray Query Vulkan 1.2 Ray Query GPU 4 GB+ VRAM Supported non-CUDA GPU workflows
OptiX + CUDA Compatible NVIDIA GPU 8 GB+ VRAM High-throughput Monte Carlo simulation

Check whether a feature can run with a particular backend on the current computer:

import less

less.can_use("optical_imaging", backend="optix")
less.can_use("irradiance_map", backend="embree")

After creating a scene, scene.can_use("feature") performs the same check using that scene's selected backend.

Available in 3.1.1

The following workflows are available with OptiX, Vulkan, and Embree when the selected backend meets its hardware and driver requirements:

Domain Capabilities
Optical Mesh, turbid-vegetation and homogeneous-medium imaging, BRF, radiation fields, and irradiance maps
Atmosphere Shortwave gas absorption, molecular and aerosol scattering, and volumetric clouds
Water Finite water bodies, submerged objects, regular waves, and wind-roughened deep-water surfaces
Spatial properties UV and georeferenced textures for optical, thermal, LiDAR, and physiology
Scene layout Dynamic instances, repetitive scenes, and terrain-following placement
Thermal Thermal imaging and per-primitive temperatures
Scene components Sunlit/shaded leaf and soil classification with per-component area
Vegetation physiology SIF imaging and processes, photosynthesis, and energy balance
LiDAR Point clouds, full waveforms, and turbid-volume returns

The microwave extension provides SAR imaging on platforms that include it. See the SAR tutorial and the 3D atmosphere and cloud tutorial.

Repetitive scenes require flat, statistically homogeneous terrain and cannot be combined with terrain_following=True. Moving a TurbidBoundary instance requires scene.rebuild(); ordinary property and illumination changes do not.

Quick start

import less

# Create a 10 m × 10 m bare-soil scene.
scene = less.Scene()
scene.size = 10.0
scene.terrain = less.Terrain(
    property=less.Lambertian(reflectance=0.3)
)
scene.illumination = less.Illumination(
    source=less.Sun(zenith=30, azimuth=150),
    atmosphere=less.NoAtmosphere(),
)

# Simulate a nadir RGB image.
sensor = less.OpticalImager(
    less.Orthographic(image_size=256),
    bands=[650, 550, 450],
    quality=128,
)
image = scene.simulate(sensor)
image.save("output.png")

Change the illumination and simulate again; the prepared geometry is reused automatically:

scene.illumination = less.Illumination(
    source=less.Sun(zenith=60, azimuth=90),
    atmosphere=less.NoAtmosphere(),
)
image2 = scene.simulate(sensor)

Forest example

import less
import numpy as np

scene = less.Scene()
scene.size = 30.0
scene.terrain = less.Terrain(
    property=less.Lambertian(reflectance=0.12)
)
scene.illumination = less.Illumination(
    source=less.Sun(zenith=35, azimuth=225),
    atmosphere=less.NoAtmosphere(),
)

birch = less.Object("birch", mesh=less.asset_path("FREX.obj"))
birch.set_property(
    "leaves",
    less.Prospect(cab=40, car=8, cw=0.012, cm=0.009, N=1.5),
)
birch.set_property("stem_branch", less.Lambertian(reflectance=0.1))

xy = np.random.default_rng(42).random((50, 2)) * 30
scene.add(birch, positions=np.c_[xy, np.zeros(50)])

image = scene.simulate(less.OpticalImager(
    less.Orthographic(image_size=512),
    bands=[550, 670, 800],
    quality=256,
))
image.save("forest.tif")

GeoTIFF output preserves the physical values of the simulated product.

Examples and viewer

import less

less.examples.list()
less.examples.run("autumn_forest")
less.examples.run("maize_field")

scene.show()

Numerical results

Simulation products use the same physical quantities and units on all three backends. Monte Carlo estimates can differ because their random samples differ. For quantitative work, increase the sampling quality until your scene averages and spatial patterns are stable.

Documentation

Start with the public tutorials:

Building LESS from source, running the test suites, or extending it with new sensors, products or backends is covered in DEVELOPMENT.md. None of it is needed to use the published wheel.

Citation

If you use LESS in your research, please cite:

Qi, J., Xie, D., Yin, T., Yan, G., Gastellu-Etchegorry, J.-P., Li, L., Zhang, W., Mu, X., and Norford, L. K. (2019). LESS: LargE-Scale remote sensing data and image Simulation framework over heterogeneous 3D scenes. Remote Sensing of Environment, 221, 695–706.

License

LESS is free for academic teaching and qualifying non-commercial research. Use is governed by the current LICENSE. Commercial use requires a separate written license.

Commercial use includes company use, commercial consulting or services, commissioned research, commercial synthetic-data generation, and integration into commercial products, platforms, or services. University or non-profit projects performed for a company, or projects that give a company confidential deliverables, preferential access, publication control, or intellectual- property rights, are commercial use. An unrestricted donation or public research grant does not by itself make qualifying academic research commercial; use by a company remains commercial regardless of its funding source.

Third-party components remain subject to their respective license terms. See the LICENSE file for details. Earlier LESS releases remain governed by the license terms that accompanied those releases; those earlier grants are not revoked.

For commercial licensing or clarification, contact the LESS Development Team through the project homepage.

Metadata

Release files for less3d 3.1.1

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

Built distributions (wheels)

Table of built distributions (wheels) for less3d 3.1.1
File Actions
less3d-3.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for less3d-3.1.1-cp313-cp313-win_amd64.whl
less3d-3.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for less3d-3.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
less3d-3.1.1-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details for less3d-3.1.1-cp313-cp313-macosx_15_0_arm64.whl
less3d-3.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for less3d-3.1.1-cp312-cp312-win_amd64.whl
less3d-3.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for less3d-3.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
less3d-3.1.1-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details for less3d-3.1.1-cp312-cp312-macosx_15_0_arm64.whl
less3d-3.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for less3d-3.1.1-cp311-cp311-win_amd64.whl
less3d-3.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for less3d-3.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
less3d-3.1.1-cp311-cp311-macosx_15_0_arm64.whl CPython 3.11 CPython 3.11 macOS 15.0+ ARM64 Details for less3d-3.1.1-cp311-cp311-macosx_15_0_arm64.whl
less3d-3.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for less3d-3.1.1-cp310-cp310-win_amd64.whl
less3d-3.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for less3d-3.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
less3d-3.1.1-cp310-cp310-macosx_15_0_arm64.whl CPython 3.10 CPython 3.10 macOS 15.0+ ARM64 Details for less3d-3.1.1-cp310-cp310-macosx_15_0_arm64.whl

Total release size: 1.4 GB

Release files / less3d-3.1.1-cp313-cp313-win_amd64.whl

Download URL less3d-3.1.1-cp313-cp313-win_amd64.whl
Size 148.5 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
1448768cf00c9933cf8e6276f720b8b76b39c93073a269064220050f462faa05
BLAKE2b-256 checksum
How to use checksums
b615fd6a5718a26d591414afc24e81903dfca0373e2611aaf98ca575fe2eafa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL less3d-3.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 178.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e9dbc5f27f35fb73ffd92414343a1e2252f7fae75f801e590e3659c4d13daeca
BLAKE2b-256 checksum
How to use checksums
c3455299ec3dbf901ccbc1b1d10080da122a889142f7c2e94ffccc3e49b619bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp313-cp313-macosx_15_0_arm64.whl

Download URL less3d-3.1.1-cp313-cp313-macosx_15_0_arm64.whl
Size 31.0 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
89de4a487964dbef15c6fd02d24c867f62e2f4857e7e5fa9f661fdcab4f22da3
BLAKE2b-256 checksum
How to use checksums
77f3eec49519a458a905df90f95713ac49a1424b415ff1bfaee8edfa518dd6b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp312-cp312-win_amd64.whl

Download URL less3d-3.1.1-cp312-cp312-win_amd64.whl
Size 148.5 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
77840266ecff95b108ed3bce04d4372381c56a0c60e94568dec83174e0906f37
BLAKE2b-256 checksum
How to use checksums
576b1b479f14db4999b6fea2b5c3a281251bf0901df2cf34d75b3981e11a68b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL less3d-3.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 178.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6af18eccd3c99078cd638c0d0e5795b58016257e040f05802e335db61d218f31
BLAKE2b-256 checksum
How to use checksums
c0de51bed2d90ef58d9cf66e74e5bbe1b94a66bad580b5431a8d7102d69b88a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp312-cp312-macosx_15_0_arm64.whl

Download URL less3d-3.1.1-cp312-cp312-macosx_15_0_arm64.whl
Size 31.0 MB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
6ed0d6cd3cad97e09b1a7c0d7c527371e81b2d197d10106ad4cef9b7d6fe072c
BLAKE2b-256 checksum
How to use checksums
0c2c392280fb28f9c2581f950d59db42feef3614bff0d511128cdeb675328032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp311-cp311-win_amd64.whl

Download URL less3d-3.1.1-cp311-cp311-win_amd64.whl
Size 148.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7eacb6b7d8900f6d1a37e0b06d4244cfbf89c99a2f6d4bb876c1c8dc77dcdc19
BLAKE2b-256 checksum
How to use checksums
10f8f734072080826fd84822bc2a6849286c32b5ef9e8265aece805a080ee502
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL less3d-3.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 178.4 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d82602920f53a5d2db4eaf212b376b6a8406a5191371aacb4895ad5eab165ae8
BLAKE2b-256 checksum
How to use checksums
6735dd7f1c6e095f64580bd4ff2462be7c948d88b0b1a59519b5f6b80c1cac7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp311-cp311-macosx_15_0_arm64.whl

Download URL less3d-3.1.1-cp311-cp311-macosx_15_0_arm64.whl
Size 31.0 MB
Tags CPython 3.11 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
8b6c270ef4006baac3d0f6f144abd2702f73c7d91ec5c547ece3bdb1b4a1a494
BLAKE2b-256 checksum
How to use checksums
10a68eecbed60214def09b4cb35d22a5eda9d6ff6d4a8a3a3afb0592fd1eeeb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp310-cp310-win_amd64.whl

Download URL less3d-3.1.1-cp310-cp310-win_amd64.whl
Size 148.5 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
dc538342ff7d990f3276604cec3fd820fc4f017dd7d158f707ca5d78e594cbf2
BLAKE2b-256 checksum
How to use checksums
30a84f680df70fb572d26932603cd7391ca46fdae2c0671e87cf091c8433b5c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL less3d-3.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 178.4 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2668d38aa7cf16141885e69eab8e3c2f95d981eecda96e23f79f4323662476e8
BLAKE2b-256 checksum
How to use checksums
9dd96059648bec2cad327e9e34ce48f093de190ba6b462faa127234be14b5773
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / less3d-3.1.1-cp310-cp310-macosx_15_0_arm64.whl

Download URL less3d-3.1.1-cp310-cp310-macosx_15_0_arm64.whl
Size 31.0 MB
Tags CPython 3.10 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
89c59ce140580902688efb495ccebc5c6af2b0108d73919251aa6f870f536d43
BLAKE2b-256 checksum
How to use checksums
55c6ba3155c501239c49db8cc650483f3c8d668aeabbd45ee75df56cfbc3e3cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for less3d 3.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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