LightForm-group / Diffraction-postprocessing

A repository for post-processing matflow-damask simulations using python functions to calculate and plot stress, strain, etc. in a easy-to-follow jupyter notebook.
MIT License
4 stars 0 forks source link

Make `lattice_strain.py` functions more generic #2

Closed Gbowker closed 9 months ago

Gbowker commented 1 year ago

Following advice from @mikesmic and @aplowman , lattice_strain function should take phase_idx, phase_mask, elastic strain tensors and orientation data as inputs rather than defining them from the workflow dict. Instead, another function should be called which outputs these parameters given the workflow file.

gcapes commented 9 months ago

Hi @Gbowker, It looks like this issue may have been resolved now? Let me know if you need any input from me. Cheers!

Gbowker commented 9 months ago

Hi @gcapes yes I think this is as agnisotic as we can make this function for now - thanks for checking back in. I will close this issue.