get_base_scale
- lib.align.aligned_utils.get_base_scale(source_centering: CenteringType, source_coverage: float = 1.0) float
For an aligned patch of the given centering and the given coverage, obtain the ratio of the patch that contains the core central area with no padding applied
- Parameters:
source_centering (CenteringType) – The centering type of the image patch to obtain the core ratio for
source_coverage (float) – The coverage of the source patch to obtain the core ratio for. Default: 1.0
- Return type:
The ratio of the patch of the given centering and coverage that contains the core patch