Bidirectional Reflectance Distribution Function (BRDF) modeling tools
Project description
pydirectional
BRDF (Bidirectional Reflectance Distribution Function) modeling tools.
pydirectional provides forward models, fitting routines, and utilities for
working with BRDF measurements and standard semi-empirical models (RTLS, RPV,
Hapke, and others).
Warning: This software is in beta. Results should be used with caution. Please share any feedback via the issue tracker.
Usage
Virtual environment
It is always recommended to use a virtual environment for each Python project. Use your preferred environment manager, or create one with:
python -m venv venv
Activate it on Windows with venv\Scripts\activate, or on macOS/Linux with
source venv/bin/activate.
Installation
Install the package and its core dependencies:
pip install -e .
Optional extras are available depending on your use case:
pip install -e ".[dev]" # Development tools (ruff, mypy, pytest, …)
pip install -e ".[docs]" # Documentation build (sphinx, …)
Development
Install the pre-commit hooks after cloning:
pre-commit install
When you commit, ruff will lint and format your code. If it makes
corrections the commit will be aborted so you can review the changes — just
commit again once you are happy.
Run the test suite with:
pytest
Compatibility
pydirectional requires Python 3.11 or later and is tested on Python 3.11,
3.12, and 3.13.
Licence
pydirectional is released under the GNU Lesser General Public License v3
(LGPLv3). See the LICENSE file for the full licence text.
Authors
pydirectional is developed and maintained by the
MetEOR Toolkit Team.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydirectional-0.1.4.tar.gz.
File metadata
- Download URL: pydirectional-0.1.4.tar.gz
- Upload date:
- Size: 13.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7db5ac4312c5daa671219917cbb268b9d33fc8657651e00b24566b02ba518456
|
|
| MD5 |
7a9336382c6b200f56add99992575bd1
|
|
| BLAKE2b-256 |
7d1ec957adf318ccca56a7d04ed2ea0f5cf0c7b9b7ce8129099cab45b15fd13d
|
Provenance
The following attestation bundles were made for pydirectional-0.1.4.tar.gz:
Publisher:
publish.yml on meteor-toolkit/pydirectional
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydirectional-0.1.4.tar.gz -
Subject digest:
7db5ac4312c5daa671219917cbb268b9d33fc8657651e00b24566b02ba518456 - Sigstore transparency entry: 1568437027
- Sigstore integration time:
-
Permalink:
meteor-toolkit/pydirectional@fafd82b9c1d6379ddec02d511550644dfcd1a7ca -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/meteor-toolkit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fafd82b9c1d6379ddec02d511550644dfcd1a7ca -
Trigger Event:
push
-
Statement type:
File details
Details for the file pydirectional-0.1.4-py3-none-any.whl.
File metadata
- Download URL: pydirectional-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb0442b71889cff5d8f504e6ef0438bbaa9346abde374744ed4fff807977c19c
|
|
| MD5 |
fd564072405eb077effe24a877e72859
|
|
| BLAKE2b-256 |
0b3e2ac5800d4cc2acbcbd41b14868ebf98d39b08a5c8d1b7f601d5e282fb94b
|
Provenance
The following attestation bundles were made for pydirectional-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on meteor-toolkit/pydirectional
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydirectional-0.1.4-py3-none-any.whl -
Subject digest:
bb0442b71889cff5d8f504e6ef0438bbaa9346abde374744ed4fff807977c19c - Sigstore transparency entry: 1568437064
- Sigstore integration time:
-
Permalink:
meteor-toolkit/pydirectional@fafd82b9c1d6379ddec02d511550644dfcd1a7ca -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/meteor-toolkit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fafd82b9c1d6379ddec02d511550644dfcd1a7ca -
Trigger Event:
push
-
Statement type: