You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I have an array of Orientations (any of the 7 supported types) and I want to compute the misorientation between each one in the first array and of a specific orientation (again, any of the 7 types should be supported).
Same as above, but instead of a single specific orientation, I have a second array of orientations. Compute the misorientation between them.
This would have similar algorithm to that of "Compute Feature Misorientation" but this filter can just work on any 2 arrays of orientations.
This filter goes in the OrientationAnalysis plugin
Input Parameters
Input Orientation Array. Now the fun part is we are also going to need the user to tell us what kind of orientation representation the inputs are: Quats, Eulers... any of the 7 are valid
What kind of orientations are the inputs: Use the EXACT same choice parameter from the "Convert Orientation Representation" filter
Second input orientation Array. I would say that there are 2 possibilities that are both legal:
0: The 2nd input array has a single Tuple
1: The 2nd input array has the EXACT same number of tuples as the first input array.
Choice Parameter to set what kind of Orientation Representation the 2nd input is.
Output Array Creation parameter for the outputs
- The output array is an array of single component floats.
The algorithm would go something like:
for each input representation:
convert representation to an Axis-Angle representation
convert the 2nd representation to an Axis-Angle representation
find the misorientation between the first input and the second inputs
The actual angle is the 4th component of the output
end for each
That can be done in parallel.
The code to generalize any input representation into an axis-angle will require a large Switch Statement.
The text was updated successfully, but these errors were encountered:
imikejackson
changed the title
FILT: Copmute the Misorientation Angle between 2 arrays of Orientations or a single orientation array and a set orientation.
FILT: Compute the Misorientation Angle between 2 arrays of Orientations or a single orientation array and a set orientation.
Sep 19, 2024
Say I have an array of Orientations (any of the 7 supported types) and I want to compute the misorientation between each one in the first array and of a specific orientation (again, any of the 7 types should be supported).
Same as above, but instead of a single specific orientation, I have a second array of orientations. Compute the misorientation between them.
This would have similar algorithm to that of "Compute Feature Misorientation" but this filter can just work on any 2 arrays of orientations.
Input Parameters
Input Orientation Array. Now the fun part is we are also going to need the user to tell us what kind of orientation representation the inputs are: Quats, Eulers... any of the 7 are valid
What kind of orientations are the inputs: Use the EXACT same choice parameter from the "Convert Orientation Representation" filter
Second input orientation Array. I would say that there are 2 possibilities that are both legal:
0: The 2nd input array has a single Tuple
1: The 2nd input array has the EXACT same number of tuples as the first input array.
Choice Parameter to set what kind of Orientation Representation the 2nd input is.
Output Array Creation parameter for the outputs
- The output array is an array of single component floats.
The algorithm would go something like:
That can be done in parallel.
The code to generalize any input representation into an axis-angle will require a large Switch Statement.
The text was updated successfully, but these errors were encountered: