lsst.meas.extensions.astrometryNet  16.0-7-g6043bfc+8
Functions
lsst.meas.extensions.astrometryNet.cleanBadPoints Namespace Reference

Functions

def clean (srcMatch, wcs, order=3, nsigma=3)
 
def indicesOfGoodPoints (x, y, s, order=1, nsigma=3, maxiter=100)
 
def chooseRx (x, idx, order)
 
def chooseRy (y, idx, order)
 

Function Documentation

◆ chooseRx()

def lsst.meas.extensions.astrometryNet.cleanBadPoints.chooseRx (   x,
  idx,
  order 
)
Create order+1 values of the ordinate based on the median of groups of elements of x

Definition at line 111 of file cleanBadPoints.py.

◆ chooseRy()

def lsst.meas.extensions.astrometryNet.cleanBadPoints.chooseRy (   y,
  idx,
  order 
)
Create order+1 values of the ordinate based on the median of groups of elements of y

Definition at line 122 of file cleanBadPoints.py.

◆ clean()

def lsst.meas.extensions.astrometryNet.cleanBadPoints.clean (   srcMatch,
  wcs,
  order = 3,
  nsigma = 3 
)
Remove bad points from srcMatch

Input:
srcMatch : list of det::SourceMatch
order:      Order of polynomial to use in robust fitting
nsigma:    Sources more than this far away from the robust best fit
            polynomial are removed

Return:
list of det::SourceMatch of the good data points

Definition at line 31 of file cleanBadPoints.py.

◆ indicesOfGoodPoints()

def lsst.meas.extensions.astrometryNet.cleanBadPoints.indicesOfGoodPoints (   x,
  y,
  s,
  order = 1,
  nsigma = 3,
  maxiter = 100 
)
Return a list of indices in the range [0, len(x)]
of points that lie less than nsigma away from the robust
best fit polynomial

Definition at line 66 of file cleanBadPoints.py.