Skip to main content

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

  1. 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.

  2. 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
  3. Assemble the block-structured Hessian at MAP and return calibration-aware per-grain covariance via Schur-complement marginalization — no full-matrix inverse needed.

  4. 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 model
  • midas-uq — single-grain holdout / jackknife / Laplace UQ
  • midas-joint-ff-calibrate — multi-grain + multi-detector joint refinement
  • midas-calibrate-v2 — instrument calibration
  • midas-stress — single-crystal elastic inversion

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

midas_propagate-0.1.1.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

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

midas_propagate-0.1.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

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

Hashes for midas_propagate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 77f77c5235966609cba2474560f14d8c8b90083c8a18bced571bf81d97cb929d
MD5 0054d22cf109f54ff9acba60893231d4
BLAKE2b-256 c7f5799b2754b5d704d8a57cf2f84ece68c60368ac33f89096b69e08047b354d

See more details on using hashes here.

Provenance

The following attestation bundles were made for midas_propagate-0.1.1.tar.gz:

Publisher: python-packages.yml on marinerhemant/MIDAS

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

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

Hashes for midas_propagate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f2c5923fd76977f28ef245d9dc1168036f620e45b31957dfb0b799af80d7e0f
MD5 03942cd6046c5edc3552900bbe576b0b
BLAKE2b-256 203501be93a4b2fc38c46827cc214009037843f473ddd4de70dd6c2d37e2797a

See more details on using hashes here.

Provenance

The following attestation bundles were made for midas_propagate-0.1.1-py3-none-any.whl:

Publisher: python-packages.yml on marinerhemant/MIDAS

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