Analyzers#
Analyzers are internal callbacks that are passed to scan_subsets
and provide custom processing of exhaustive template matching results. This flexibility enables on the fly analysis, logging, or additional processing at the level of individual rotations. The exact workflow can be adapted to individual requirements.
Score aggregation#
|
Create numpy memmap objects to write score spaces to. |
|
Determine the rotation maximizing the score of all given translations. |
Peak calling#
|
Base class for peak calling algorithms. |
|
A |
|
Find local maxima by applying a maximum filter and enforcing a distance constraint subsequently. |
|
Subdivides the score space into squares with edge length |
|
Identifies peaks iteratively by selecting the top score and masking a region around it. |
|
Peak calling using |