Skip to content

Release v0.2.0#3

Merged
mbuze merged 2 commits into
mainfrom
release-v0.2.0
Jun 14, 2026
Merged

Release v0.2.0#3
mbuze merged 2 commits into
mainfrom
release-v0.2.0

Conversation

@mbuze

@mbuze mbuze commented Apr 9, 2026

Copy link
Copy Markdown
Owner

What's new in v0.2.0

Arbitrary domain support

  • mask_pixels(mask) for masking pixels outside a scan boundary
  • set_pixels(Y, PS) for arbitrary pixel clouds (non-rectangular domains)
  • PS-weighted centroids in Lloyd's algorithm (bug fix for non-uniform pixel sizes)
  • plot_apd extended with mode='voronoi', alpha, ps_scale, marker_scale

EBSD interoperability

  • ANG file export from fitted diagrams
  • HDF5/OINA import
  • MTEXEngine class for MATLAB/MTEX integration (PyAPD/mtex_interface.py)

Polynomial minimisation diagrams

  • PMD paper companion notebooks (notebooks/paper_examples/pmd_paper/)

Tutorials

  • arbitrary_domains.ipynb — non-rectangular domains, masked pixels, point clouds
  • ebsd_interoperability.ipynb — ANG export, HDF5 import, MTEX workflow

Infrastructure

  • Full test suite (tests/) with CI (ruff + pytest on ubuntu-latest)
  • pyproject.toml (ruff config), requirements.txt, .pre-commit-config.yaml
  • Removed deprecated EBSD example notebooks and associated PDFs

Exclusions (dev-only, not on public repo)

  • CLAUDE.md (internal dev guide)
  • notebooks/tutorials/revamp_tests.ipynb (dev stress-test)
  • notebooks/tutorials/holes.png, point_cloud.png (accidental artifacts)

🤖 Generated with Claude Code

@mbuze

mbuze commented Apr 28, 2026

Copy link
Copy Markdown
Owner Author

A token comment to see if this trigger Github to restart showing this PR on the page of all open PRs...

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mbuze mbuze merged commit 9a48340 into main Jun 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant