Skip to main content

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


Download files

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

Source Distribution

pydirectional-0.1.3.tar.gz (13.5 MB view details)

Uploaded Source

Built Distribution

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

pydirectional-0.1.3-py3-none-any.whl (13.4 MB view details)

Uploaded Python 3

File details

Details for the file pydirectional-0.1.3.tar.gz.

File metadata

  • Download URL: pydirectional-0.1.3.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

Hashes for pydirectional-0.1.3.tar.gz
Algorithm Hash digest
SHA256 46074c42364cbab28fa47ad0a8f4199ade1a541fd672095acb088ccf6cf6e45a
MD5 39d8ad08565bac3698d8e4dffc7c3967
BLAKE2b-256 18a991a782bee2064c084a13a01df18ebb00f4008e3c2e2079998e4477f142b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydirectional-0.1.3.tar.gz:

Publisher: publish.yml on meteor-toolkit/pydirectional

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydirectional-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pydirectional-0.1.3-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

Hashes for pydirectional-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd4e0320ed0e7e65891d2dcbbafbecc4948dda70acd1e26de61b619b17e09508
MD5 075eaa9a711a3706a7985ba043c2a1df
BLAKE2b-256 30d9134b2daed5d613bd629cb5739f4999203884c2cc76f1e73d581df405e447

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydirectional-0.1.3-py3-none-any.whl:

Publisher: publish.yml on meteor-toolkit/pydirectional

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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