midas-grain-odf
Differentiable per-grain orientation distribution function (ODF) inversion from far-field HEDM data. Closes the gap left open by Nygren et al. 2019 (IOP Conf. Ser. MSE 580 012018) — recovers the intensity-weighted ODF, not just the GOE envelope.
See dev/implementation_plan.md for the design rationale and roadmap.
Status
Alpha. Synthetic plant-and-recover validation only. Real-data path under construction.
Install
cd packages/midas_grain_odf
pip install -e .[dev]
The package depends on the differentiable HEDM forward model in
fwd_sim/hedm_forward.py. That module is loaded by relative import; ensure
MIDAS/fwd_sim is on PYTHONPATH when using the package outside the
MIDAS repo.
Notebooks
Worked-example Jupyter notebooks live in notebooks/. They are not shipped with pip install — get them by cloning the MIDAS repository.
Quickstart (synthetic)
cd packages/midas_grain_odf
python -m pytest tests/test_synth_particle.py -xvs
Public API
from midas_grain_odf import (
ParticleODF, BinghamMixtureODF, VoxelGridODF,
fit_grain_odf,
)
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 midas_grain_odf-0.1.1.tar.gz.
File metadata
- Download URL: midas_grain_odf-0.1.1.tar.gz
- Upload date:
- Size: 70.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b6fd9ddf74586a106802d1d83b959ff20fdce09275d45f579dd3568b673f413
|
|
| MD5 |
15936f0ecf78380075152fada11ef791
|
|
| BLAKE2b-256 |
d829e014f134515a92c9499f52f7c4190d57dc0c3da95e29befac27243a4e439
|
Provenance
The following attestation bundles were made for midas_grain_odf-0.1.1.tar.gz:
Publisher:
python-packages.yml on marinerhemant/MIDAS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
midas_grain_odf-0.1.1.tar.gz -
Subject digest:
7b6fd9ddf74586a106802d1d83b959ff20fdce09275d45f579dd3568b673f413 - Sigstore transparency entry: 2439691571
- Sigstore integration time:
-
Permalink:
marinerhemant/MIDAS@842bff3e138622750270d7c400d8ac3922b9d56f -
Branch / Tag:
refs/tags/midas-grain-odf-v0.1.1 - Owner: https://github.com/marinerhemant
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-packages.yml@842bff3e138622750270d7c400d8ac3922b9d56f -
Trigger Event:
release
-
Statement type:
File details
Details for the file midas_grain_odf-0.1.1-py3-none-any.whl.
File metadata
- Download URL: midas_grain_odf-0.1.1-py3-none-any.whl
- Upload date:
- Size: 56.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
873b9eb419fcc07a3051460594eace0df4df7df2abe2c8028d196488eea363fc
|
|
| MD5 |
040e2ed731e43abf254c25922be78118
|
|
| BLAKE2b-256 |
2eda03c5d4664878d03f4b060a4cfa1b300753a10532bbd1ca5155d1bd5dbcc2
|
Provenance
The following attestation bundles were made for midas_grain_odf-0.1.1-py3-none-any.whl:
Publisher:
python-packages.yml on marinerhemant/MIDAS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
midas_grain_odf-0.1.1-py3-none-any.whl -
Subject digest:
873b9eb419fcc07a3051460594eace0df4df7df2abe2c8028d196488eea363fc - Sigstore transparency entry: 2439691644
- Sigstore integration time:
-
Permalink:
marinerhemant/MIDAS@842bff3e138622750270d7c400d8ac3922b9d56f -
Branch / Tag:
refs/tags/midas-grain-odf-v0.1.1 - Owner: https://github.com/marinerhemant
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-packages.yml@842bff3e138622750270d7c400d8ac3922b9d56f -
Trigger Event:
release
-
Statement type: