hexrdgui icon indicating copy to clipboard operation
hexrdgui copied to clipboard

Feature Request: Save a grains.out from the indexing step before fit-grains

Open gustafsonsven opened this issue 1 year ago • 3 comments

Hi all,

This one is a feature request. Would it be possible to have an option to save an unfit grains.out from the indexing step before going into fitting? The CLI drops an accepted orientations file (I think? Maybe it now drops a grains.out) - perhaps it should also drop a grains.out.

Thoughts?

Thanks - Sven

gustafsonsven avatar Jul 09 '24 13:07 gustafsonsven

I think if you run hexrd find-orientations in the CLI, it does drop an unfit grains.out file.

Maybe we should add a button to save the grains table in the "Indexing Results Dialog" or in the "Fit Grain Options" dialog? Or both?

psavery avatar Jul 10 '24 19:07 psavery

I would suggest saving a grains.npz file as well. It's easier to load from hexrd and automatically gives the rotation matrices as an attribute. I would like to see people making use of this.

donald-e-boyce avatar Jul 11 '24 13:07 donald-e-boyce

I agree - saving a unfit grains.out and grains.npz is ideal. I think a button in the "Indexing Results Dialog" would be ideal. I don't see a strong reason to not add it to the "Fit Grains Options" dialog besides clutter on that page.

gustafsonsven avatar Jul 11 '24 13:07 gustafsonsven