local2global.example.noise_profile

noise_profile(points, base_problem, max_noise=0.5, steps=101, scales=None, types=None, labels=None, min_overlap=None, plot=True)[source]

Plot procrustes reconstruction errors as a function of the noise level

Parameters
  • points – True data

  • base_problem – Alignment problem without noise (usually should have rotated/shifted/scaled patches)

  • max_noise – Maximum standard deviation for noise

  • steps – number of noise steps between 0 and max_noise

  • scales – scales of patches (noise is scaled accordingly)

  • types – List of AlignmentProblem subclasses to test (each is tested with the same noise)

  • labels – Labels to use for the legend

  • min_overlap – Values of min_overlap to include in test.

  • plot (bool) – plot results [default: True]

Returns

noise_levels, errors