orix icon indicating copy to clipboard operation
orix copied to clipboard

Add CTF file reader and interactive crystal map plot example

Open IMBalENce opened this issue 1 year ago • 15 comments

Description of the change

Following up #412, added a file reader for Oxford AZtec HKL .ctf file. Added an example jupyter notebook for interactive plotting - clicking on an IPF map to retrieve phase name and Euler angles.

Progress of the PR

Minimal example of the bug fix or new feature

>>> from orix import io
>>> xmap = io.load("data.ctf") 
>>> xmap
Phase     Orientations         Name  Space group  Point group  Proper point group     Color
   -1      8358 (2.5%)  not_indexed         None         None                None         w
    1   322978 (97.5%)     Iron fcc        Fm-3m         m-3m                 432  tab:blue
Properties: bands, error, MAD, BC, BS
Scan unit: um

For reviewers

  • [x] The PR title is short, concise, and will make sense 1 year later.
  • [x] New functions are imported in corresponding __init__.py.
  • [x] New features, API changes, and deprecations are mentioned in the unreleased section in CHANGELOG.rst.
  • [ ] Contributor(s) are listed correctly in __credits__ in orix/__init__.py and in .zenodo.json.

IMBalENce avatar May 16 '23 08:05 IMBalENce