End-to-end uncertainty propagation and joint re-refinement for HEDM (calibration -> indexing -> per-grain refinement -> stress)
Project description
midas-propagate
Calibration-aware uncertainty propagation and joint re-refinement for end-to-end HEDM grain analysis.
Status: scaffold. See dev/paper/SKETCH.md
for the paper roadmap. No working code yet.
Notebooks
Worked-example Jupyter notebooks live in notebooks/. They are not shipped with pip install — get them by cloning the MIDAS repository.
What this package will do
-
Compose the existing differentiable losses across the four pipeline stages — calibration (
midas-calibrate-v2), indexing (midas-index), per-grain refinement (midas-fit-grain), and elastic inversion (midas-stress) — into a single joint NLL. -
Compute a joint MAP estimate over any subset of:
- detector calibration (Lsd, tilts, beam center, distortion)
- per-grain orientation, lattice strain, position
- global nuisance parameters (wavelength, beam profile)
- optionally per-grain elastic stress
-
Assemble the block-structured Hessian at MAP and return calibration-aware per-grain covariance via Schur-complement marginalization — no full-matrix inverse needed.
-
Propagate per-grain covariance through the elastic inversion to per-grain stress error bars via the delta method.
Why
Production HEDM tools (HEXRD, MIDAS, ImageD11, FABLE) report per-grain σ at the converged grain state with detector calibration held fixed. Downstream Bayesian crystal-plasticity work (Greeley 2026, Iyer 2025) explicitly assumes an HEDM σ no current tool can derive. This package closes that loop.
Companion packages
midas-diffract— differentiable HEDM forward modelmidas-uq— single-grain holdout / jackknife / Laplace UQmidas-joint-ff-calibrate— multi-grain + multi-detector joint refinementmidas-calibrate-v2— instrument calibrationmidas-stress— single-crystal elastic inversion
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 midas_propagate-0.1.1.tar.gz.
File metadata
- Download URL: midas_propagate-0.1.1.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77f77c5235966609cba2474560f14d8c8b90083c8a18bced571bf81d97cb929d
|
|
| MD5 |
0054d22cf109f54ff9acba60893231d4
|
|
| BLAKE2b-256 |
c7f5799b2754b5d704d8a57cf2f84ece68c60368ac33f89096b69e08047b354d
|
Provenance
The following attestation bundles were made for midas_propagate-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_propagate-0.1.1.tar.gz -
Subject digest:
77f77c5235966609cba2474560f14d8c8b90083c8a18bced571bf81d97cb929d - Sigstore transparency entry: 1633393342
- Sigstore integration time:
-
Permalink:
marinerhemant/MIDAS@418760af95f246f2f000b178a48333490ba9b952 -
Branch / Tag:
refs/tags/midas-propagate-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@418760af95f246f2f000b178a48333490ba9b952 -
Trigger Event:
release
-
Statement type:
File details
Details for the file midas_propagate-0.1.1-py3-none-any.whl.
File metadata
- Download URL: midas_propagate-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f2c5923fd76977f28ef245d9dc1168036f620e45b31957dfb0b799af80d7e0f
|
|
| MD5 |
03942cd6046c5edc3552900bbe576b0b
|
|
| BLAKE2b-256 |
203501be93a4b2fc38c46827cc214009037843f473ddd4de70dd6c2d37e2797a
|
Provenance
The following attestation bundles were made for midas_propagate-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_propagate-0.1.1-py3-none-any.whl -
Subject digest:
8f2c5923fd76977f28ef245d9dc1168036f620e45b31957dfb0b799af80d7e0f - Sigstore transparency entry: 1633393350
- Sigstore integration time:
-
Permalink:
marinerhemant/MIDAS@418760af95f246f2f000b178a48333490ba9b952 -
Branch / Tag:
refs/tags/midas-propagate-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@418760af95f246f2f000b178a48333490ba9b952 -
Trigger Event:
release
-
Statement type: