```{index} single: Filters; Compute Feature Neighbor Misorientations
```
# Compute Feature Neighbor Misorientations

## Group (Subgroup)

Statistics (Crystallographic)

## Description

This **Filter** determines, for each **Feature**, the misorientations with each of the **Features** that are in contact with it.  The misorientations are stored as a list (for each **Feature**) of angles (in degrees).  The axis of the misorientation is not stored by this **Filter**.

The user can also calculate the average misorientation between the feature and all contacting features.

### Notes

**NOTE:** Only features with identical crystal structures will be calculated. If two features have different crystal structures then a value of NaN is set for the misorientation.


### Input Parameter(s)

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Compute Average Misorientation Per Feature | Bool |  | Specifies if the average of the misorienations with the neighboring Features should be stored for each Feature |

### Input Feature Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Feature Neighbor List | NeighborListSelection |  | List of the contiguous neighboring Features for a given Feature |
| Feature Average Quaternions | Array Selection | Allowed Types: float32 Comp. Shape: 4 | Defines the average orientation of the Feature in quaternion representation |
| Feature Phases | Array Selection | Allowed Types: int32 Comp. Shape: 1 | Specifies to which Ensemble each Feature belongs |

### Input Ensemble Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Crystal Structures | Array Selection | Allowed Types: uint32 Comp. Shape: 1 | Enumeration representing the crystal structure for each Ensemble |

### Output Feature Data

| Parameter Name | Parameter Type | Parameter Notes | Description |
|----------------|----------------|-----------------|-------------|
| Misorientation List | DataObjectName |  | The name of the data object containing the list of the misorientation angles with the contiguous neighboring Features for a given Feature |
| Average Misorientations | DataObjectName |  | The name of the array containing the number weighted average of neighbor misorientations. |

## Example Pipelines

+ (05) SmallIN100 Crystallographic Statistics

## License & Copyright

Please see the description file distributed with this **Plugin**

## DREAM3D-NX Help

If you need help, need to file a bug report or want to request a new feature, please head over to the [DREAM3DNX-Issues](https://github.com/BlueQuartzSoftware/DREAM3DNX-Issues/discussions) GitHub site where the community of DREAM3D-NX users can help answer your questions.
