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.2.tar.gz (70.2 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.2-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file midas_grain_odf-0.1.2.tar.gz.

File metadata

  • Download URL: midas_grain_odf-0.1.2.tar.gz
  • Upload date:
  • Size: 70.2 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.2.tar.gz
Algorithm Hash digest
SHA256 3f3043e940765b1ad884c53cf65a23b05c75ed5e15ab775775d6952f460bdca4
MD5 050244cfe0d1d67e5845067b9d72d619
BLAKE2b-256 ca94192d48c8cef2b3f8e82403aac10ae67325325aca66589e594b9a550b50b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for midas_grain_odf-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: midas_grain_odf-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 56.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 48eb7aa64cd054665ca0ac8a4dd52ea26b14fa0059bf5f794d625c2907f3afdd
MD5 a2b206392412f8a1a8ee43983383a91f
BLAKE2b-256 507a996d8f8e93ad85db8577f9305628b6c0a87ae75596dccf7b4e19cba28688

See more details on using hashes here.

Provenance

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

This release

0.1.2 This release

2 files

0.1.1

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