computeRcluster

Return to directory of Todd's tools

Compute the radius and mean position of a set of points.

Usage:

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

Example:

CASA <4>: tt.computeRcluster([[0,0],[1,1],[4,4]])
  Out[4]: (3.2998316455372212, array([ 1.66666667,  1.66666667]))

-- ToddHunter - 2014-08-14

This topic: ALMA > ToddTools > ComputeRcluster
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