Skip to content

FILT: Port EMsoftSO3Sampler Filter - #16

Open
imikejackson wants to merge 2 commits into
developfrom
filter/so3_sampler
Open

FILT: Port EMsoftSO3Sampler Filter#16
imikejackson wants to merge 2 commits into
developfrom
filter/so3_sampler

Conversation

@imikejackson

Copy link
Copy Markdown
Contributor

No description provided.

m_EulerAnglesStoreRef.setValue(j * 3 + 2, static_cast<float>(eu[2]));
}


Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change

DataGroupCreationParameter::ValueType({"Ensemble Attribute Matrix"})));
params.insert(std::make_unique<ArrayCreationParameter>(k_EulerAnglesArrayPath_Key, "Euler Angles", "Output array to hold the generated Euler Angles", DataPath({"Euler Angles"})));


Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change

{
return MakePreflightErrorResult(-70002, "Misorientation angle must fall in interval [0,90]");
}
ebsdlib::EulerFType euler(pRefOrValue[0] * nx::core::Constants::k_PiOver180F, pRefOrValue[1] * nx::core::Constants::k_PiOver180F, pRefOrValue[2] * nx::core::Constants::k_PiOver180F);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[clang-format] reported by reviewdog 🐶

Suggested change
ebsdlib::EulerFType euler(pRefOrValue[0] * nx::core::Constants::k_PiOver180F, pRefOrValue[1] * nx::core::Constants::k_PiOver180F, pRefOrValue[2] * nx::core::Constants::k_PiOver180F);
ebsdlib::EulerFType euler(pRefOrValue[0] * nx::core::Constants::k_PiOver180F, pRefOrValue[1] * nx::core::Constants::k_PiOver180F, pRefOrValue[2] * nx::core::Constants::k_PiOver180F);

@imikejackson
imikejackson force-pushed the filter/so3_sampler branch 3 times, most recently from 60dff30 to 17eb9a5 Compare February 25, 2026 03:44
This is a very specific filter that is non-sensical outside of what it was used for.
I am committing for historical reasons.
This filter relied on the SO3 Sampler filter which is why I put it on this branch.
When the SO3 Sampler filter gets merged into SIMPLNX then this filter can just go on another branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant