lsst.meas.astrom  13.0-14-g9415442+18
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Functions | Variables
lsst.meas.astrom.sip.cleanBadPoints Namespace Reference

Functions

def clean
 
def indicesOfGoodPoints
 
def chooseRx
 
def chooseRy
 

Variables

list __all__ = ["clean"]
 

Function Documentation

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.

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.

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.

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.

Variable Documentation

list lsst.meas.astrom.sip.cleanBadPoints.__all__ = ["clean"]

Definition at line 24 of file cleanBadPoints.py.