SBC-Utrecht/pytom-match-pick

unnecessay recalculation of rfft of mask in mean_under_mask_convolution

Closed this issue · 0 comments

The rfftn() and conj() can be precalculated in std_under_mask_convolution() to save an Fourier transform (https://github.com/SBC-Utrecht/pytom-template-matching-gpu/blob/87970b30ae29f3245278ae37be3b2a477b5d6204/src/pytom_tm/matching.py#L219)

Only relevant for non-spherical mask option as there every iterations requires recalculation of std_v.