Production package for inverse PDE surrogate modeling
Project description
inversepde
A production-ready package for inverse PDE surrogate modeling.
Installation
pip install -e .
Quickstart
import torch
from inversepde import DiffusionFamily, InverseSolver
family = DiffusionFamily()
solver = InverseSolver(family=family)
coords = torch.rand(1, 120, 2)
values = torch.rand(1, 120)
pred = solver.predict(coords, values)
print(pred.shape)
API
PDEFamily: abstract base class for PDE families.DiffusionFamily: diffusion data-generation wrapper.ReactionDiffusionFamily: reaction-diffusion wrapper.InverseSolver: high-level training and inference API.load_pretrainedandlist_available_pretrained: checkpoint helpers.plot_prediction: visualization utility.
Full Documentation
For complete professional documentation with full API usage and end-to-end examples, see DOCUMENTATION.md.
Development
pip install -e .[dev]
pytest -q
Reproducibility
- Python:
3.14.x(validated in this workspace) - Install:
pip install -e .[dev] - Tests:
python -m pytest -q - Lock file:
requirements.lock.txt
Release Checks
ruff check .
mypy inversepde/inversepde
python -m build
python -m twine check dist/*
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
inversepde-0.1.1.tar.gz
(807.5 kB
view details)
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 inversepde-0.1.1.tar.gz.
File metadata
- Download URL: inversepde-0.1.1.tar.gz
- Upload date:
- Size: 807.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fcf83da9d4820f3f4ba7c4816ea2ac7505db64a82b382bf47ace8f5ef149912
|
|
| MD5 |
1415a2573a5dc8a77592311b0adfcddc
|
|
| BLAKE2b-256 |
05b596ac7515ab32d84a7fa50d461d0c6d8bcd98b06eeaf069317f7219c52896
|
File details
Details for the file inversepde-0.1.1-py3-none-any.whl.
File metadata
- Download URL: inversepde-0.1.1-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
622c278bfbf5a872e796b4ee3883d6fedbf7cd45a847f79a63b5c1e13dfe3063
|
|
| MD5 |
140758db5d6ad09abf5e7dee766a12f4
|
|
| BLAKE2b-256 |
c1c176e575cd13f25dbfaed664d5bf18a0e1fc236cdab47c0432f1b0bf3738da
|