lsst.meas.astrom  14.0-7-g0d69b06+3
Functions
lsst.meas.astrom.sip.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.astrom.sip.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 110 of file cleanBadPoints.py.

◆ chooseRy()

def lsst.meas.astrom.sip.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 121 of file cleanBadPoints.py.

◆ clean()

def lsst.meas.astrom.sip.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 33 of file cleanBadPoints.py.

◆ indicesOfGoodPoints()

def lsst.meas.astrom.sip.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 68 of file cleanBadPoints.py.