estimate_scale#

datafold.pcfold.estimate_scale(pcm, tol=1e-08, cut_off=None, **estimate_cutoff_params)[source]#

Estimates the Gaussian kernel scale (epsilon) for a Gaussian kernel, given a certain tolerance below which the kernel values are considered zero.

Parameters:
  • pcm – Point cloud to estimate the kernel scale with.

  • tol – Tolerance where the cut_off should be made.

  • cut_off (Optional[float]) – The tol parameter is ignored and the cut-off is used directly

  • **estimate_cutoff_params – Parameters to handle to method estimate_cutoff() if cut_off is None.

Return type:

float