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

Functions

def noDistort
 
def linearXDistort
 
def quadraticDistortX
 
def cubicDistortX
 
def manyTermX
 
def linearYDistort
 
def quadraticDistortY
 
def cubicDistortY
 
def manyTermY
 
def crossTerms1
 
def crossTerms2
 
def crossTerms3
 
def quadraticDistort
 
def T2DistortX
 
def distortList
 

Variables

list __all__
 

Function Documentation

def lsst.meas.astrom.sip.genDistortedImage.crossTerms1 (   src,
  frac = 1e-11 
)

Definition at line 159 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.crossTerms2 (   src,
  frac = 1e-11 
)

Definition at line 170 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.crossTerms3 (   src,
  frac = 1e-9 
)

Definition at line 181 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.cubicDistortX (   src,
  frac = 1e-9 
)
Distort image by terms with power <=2
i.e y, y^2, x, xy, x^2

Definition at line 75 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.cubicDistortY (   src,
  frac = 1e-9 
)
Distort image by terms with power <=2
i.e y, y^2, x, xy, x^2

Definition at line 133 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.distortList (   srcList,
  function 
)
Create a copy of srcList, and apply function to distort the
values of x and y.

Input:
srcList     a SourceSet object
function:   A function that does a deep copy of a single Source

Definition at line 220 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.linearXDistort (   src,
  frac = .001 
)
Increase the x value in a Source object by frac. E.g
src.x = 1000 --> 1001 if frac=.001

Input:
src     A Source object
frac    How much to change X by

Output:
A deep copy of src, with the value of x changed

Definition at line 43 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.linearYDistort (   src,
  frac = .001 
)
Increase the y value in a Source object by frac. E.g
src.x = 1000 --> 1001 if frac=.001

Input:
src     A Source object
frac    How much to change Y by

Output:
A deep copy of src, with the value of y changed

Definition at line 101 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.manyTermX (   src,
  frac = 1e-9 
)

Definition at line 90 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.manyTermY (   src,
  frac = 1e-9 
)

Definition at line 148 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.noDistort (   src)
Do no distortion. Used for sanity checking

Definition at line 36 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.quadraticDistort (   src,
  frac = 1e-6 
)
Distort image by terms with power <=2
i.e y, y^2, x, xy, x^2

Definition at line 193 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.quadraticDistortX (   src,
  frac = 1e-6 
)
Distort image by terms with power <=2
i.e y, y^2, x, xy, x^2

Definition at line 60 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.quadraticDistortY (   src,
  frac = 1e-6 
)
Distort image by terms with power <=2
i.e y, y^2, x, xy, x^2

Definition at line 118 of file genDistortedImage.py.

def lsst.meas.astrom.sip.genDistortedImage.T2DistortX (   src,
  frac = 1e-6 
)
Distort image by a 2nd order Cheby polynomial

Definition at line 210 of file genDistortedImage.py.

Variable Documentation

list lsst.meas.astrom.sip.genDistortedImage.__all__
Initial value:
1 = ["noDistort", "linearXDistort", "quadraticDistortX",
2  "cubicDistortX", "manyTermX", "crossTerms1",
3  "crossTerms2", "crossTerms3", "quadraticDistort",
4  "T2DistortX", "T2DistortX"]

Definition at line 24 of file genDistortedImage.py.