praxes / hexrd

Legacy hexrd repository (python2.7)
http://hexrd.readthedocs.org
14 stars 42 forks source link

Add specific grain_id request to fit-grains args #76

Closed joelvbernier closed 9 years ago

joelvbernier commented 9 years ago

This would allow the user to specify the refinement (or re-refinement) of a specific grain easily from the command line.

ddale commented 9 years ago

What is the desired behavior? Suppose I have orientations 1-100. I run fit-grains with no argument and get grains.out with ids 1-100. Then I run fit-grains --grains=1,2,3,4,5 should it produce a grains.out with all 100 grains, or only 1,2,3,4,5?

ddale commented 9 years ago

I implemented the case where it produces a grains.out containing only the ids requested. To do otherwise would be more difficult.