computeMeanSeparation

Return to directory of Todd's tools

Compute the mean separation of a set of points.

Usage:

tt.computeMeanSeparation(P, skyCoordinates=False)
  • skyCoordinates: if True, then treat the x,y values as RA,Dec (in radians)

Example:

CASA <2>: tt.computeMeanSeparation([[0,0],[1,1],[4,4]])
  Out[2]: 3.771236166328253

-- ToddHunter - 2014-08-14

This topic: ALMA > ToddTools > ComputeMeanSeparation
Topic revision: 2014-08-14, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback