Skip to main content

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

midas_grain_odf-0.1.1.tar.gz (70.0 kB view details)

Uploaded Source

Built Distribution

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

midas_grain_odf-0.1.1-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

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

Hashes for midas_grain_odf-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7b6fd9ddf74586a106802d1d83b959ff20fdce09275d45f579dd3568b673f413
MD5 15936f0ecf78380075152fada11ef791
BLAKE2b-256 d829e014f134515a92c9499f52f7c4190d57dc0c3da95e29befac27243a4e439

See more details on using hashes here.

Provenance

The following attestation bundles were made for midas_grain_odf-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_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

Hashes for midas_grain_odf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 873b9eb419fcc07a3051460594eace0df4df7df2abe2c8028d196488eea363fc
MD5 040e2ed731e43abf254c25922be78118
BLAKE2b-256 2eda03c5d4664878d03f4b060a4cfa1b300753a10532bbd1ca5155d1bd5dbcc2

See more details on using hashes here.

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

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

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page