Replies: 3 comments
-
Sounds good, Kelly! For 1, I am thinking we could add a function to remove frames from the For 2, we might just need to find a place to put this array of energies (maybe in the config, or on the image series, since the energies are associated with specific frames). Then I think we'll need to make sure it is applied to the @kenygren do we also need to take into account the array of energies during indexing / find orientations as well? I'm wondering because I know indexing just roughly computes the orientations, and I'm not sure if the energy differences are significant enough to affect this. If we need to, then we'll also need to find the places HKLs are used in indexing (and we might have to refactor a few places as well to loop over frames, to take into account the fact that each frame might have a different energy). Any thoughts, @donald-e-boyce? |
Beta Was this translation helpful? Give feedback.
-
For 1: The I did notice that in GenerateEtaOmeMaps, it requires all omega wedges to be the same size (angular difference). I don't understand why though. Still we would have to modify some things for this to work.
For 2: I've never liked the beam energy being part of the material class. It seems like it should be part of the instrument. Rather, the beam energy should be an argument to the gvec calculation. Still I think this way is more sound and doesn't eliminate usable data, but it would involve more detailed code changes, so number 1 is probably worth implementing in the short run while we figure this one out. It seems the beam energies should be associated with the HEDM instrument, but another possiblity is to have them as metadata for the imageseries. We already have the omega ranges associated with each frame. We could just add a beam energy metadata object that could be either contant or an array of values, one per frame. One could argue that it makes more sense to associate it with the HEDM instrument, as putting it in the imageseries involves a lot of duplication since there is an imageseries for each detector. That is true, but you can say the same thing for the omega ranges. Anyway, I think it would be a very good improvement to allow for a beam energy for each frame, but it may be a significant effort. It may affect the transforms module, among other things, which has been the subject of much effort toward performance optimization. |
Beta Was this translation helpful? Give feedback.
-
I made an example with an imageseries with certain frames removed. Everthing worked fine, both find-orientations and fit-grains. This was for a single crystal ruby, so we may want to do some bigger examples. The code section above checks that the omega step is the same across all wedges. I misunderstood and thought all the wedges had to be the same size. |
Beta Was this translation helpful? Give feedback.
-
Due to issues in mono stability and changes in incoming beam energies over the course of an experiment (and/or a rotation series) - we would like the ability to:
I believe the former is a much easier implementation and would be a good starting place before incorporating more detailed energy corrections.
Beta Was this translation helpful? Give feedback.
All reactions