MaxScoreOverRotationsConstrained#
- class MaxScoreOverRotationsConstrained(cone_angle, positions, rotations, reference=(0, 0, 1), acceptance_radius=10, **kwargs)[source]#
Bases:
MaxScoreOverRotations
Implements constrained template matching using rejection sampling.
- Parameters:
- cone_anglefloat
Maximum accepted rotational deviation in degrees.
- positionsBackendArray
Array of shape (n, d) with n seed point translations.
- rotationsBackendArray
Array of shape (n, d, d) with n seed point rotation matrices.
- referenceBackendArray
Reference orientation of the template, wlog defaults to (0,0,1).
- acceptance_radiusint or tuple of ints
Translational acceptance radius around seed point in voxels.
- **kwargsdict, optional
Keyword aguments passed to the constructor of
MaxScoreOverRotations
.
Attributes
Indicate whether the analyzer can be shared across processes.
Methods
Update the parameter store.
Applies flat-fielding correction to scores f as
Initialize the analysis state.
Merge multiple instances of the current class.
Finalize the analysis result with optional postprocessing.