Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user-defined fields for image correlation #106

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

WeisLeDocto
Copy link
Member

Until now, users were only allowed to use automatically-generated fields when performing image correlation using the DISCorrel and GPUCorrel Blocks. The fields were provided as strings, and converted into standard fields by the get_field function. Recently, a request was filed for further customization options of correlation fields in #97.

This PR enables users to provide their own correlation fields as numpy arrays, along with strings representing fields to automatically generate. A new example is added, demonstrating the simultaneous use of automatic and user-provided fields.

@WeisLeDocto WeisLeDocto self-assigned this Feb 27, 2024
@WeisLeDocto WeisLeDocto linked an issue Feb 27, 2024 that may be closed by this pull request
@WeisLeDocto WeisLeDocto merged commit 16340f9 into develop Feb 27, 2024
19 checks passed
@WeisLeDocto WeisLeDocto deleted the feature/user_defined_field_for_correlation branch February 27, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User fields for DIS_Correl and GPU_Correl projection
1 participant