HEXRD / hexrdgui

Qt6 PySide6 based GUI for the HEXRD library.
Other
29 stars 13 forks source link

Pole figure (PF), inverse pole figure (IPF) color map and orientation distribution function (ODF) maps based on FF-HEDM data #1096

Closed minety closed 2 years ago

minety commented 2 years ago

Hi Joel,

I'm using MTEX (MATLAB) right now for these types of texture analyses. But it would be very helpful to have it in python especially when working together with packages in hexrd.

Thanks a lot, Tian

minety commented 2 years ago

I found that there is a texture.py in the hexrd folder which is related to IPF maps, could you show me an example of plotting IPF map with grains.out and fcc&hcp as input? Thanks,

@joelvbernier

joelvbernier commented 2 years ago

@minety -- If you just want to make discrete PF/IPF from a list of grains, that is straightforward. Here is an example from a grains.out result from ff-HEDM (although you could do it from the spots tables as well...):

Screen Shot 2022-01-12 at 3 22 20 PM

This example is in the attached zip archive and requires the latest hexrd.

As far as more MTEX-like capabilities are concerned, we have started a new repo, a Python port of the old Cornell OdfPf package. Stay tuned on that one. hedm_pf_ipf_example.zip