lsst.meas.astrom  16.0-15-g77ef378+10
Functions
lsst.meas.astrom.sip.genDistortedImage Namespace Reference

Functions

def noDistort (src)
 
def linearXDistort (src, frac=.001)
 
def quadraticDistortX (src, frac=1e-6)
 
def cubicDistortX (src, frac=1e-9)
 
def manyTermX (src, frac=1e-9)
 
def linearYDistort (src, frac=.001)
 
def quadraticDistortY (src, frac=1e-6)
 
def cubicDistortY (src, frac=1e-9)
 
def manyTermY (src, frac=1e-9)
 
def crossTerms1 (src, frac=1e-11)
 
def crossTerms2 (src, frac=1e-11)
 
def crossTerms3 (src, frac=1e-9)
 
def quadraticDistort (src, frac=1e-6)
 
def T2DistortX (src, frac=1e-6)
 
def distortList (srcList, function)
 

Function Documentation

◆ crossTerms1()

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

Definition at line 157 of file genDistortedImage.py.

◆ crossTerms2()

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

Definition at line 168 of file genDistortedImage.py.

◆ crossTerms3()

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

Definition at line 179 of file genDistortedImage.py.

◆ cubicDistortX()

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 73 of file genDistortedImage.py.

◆ cubicDistortY()

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 131 of file genDistortedImage.py.

◆ distortList()

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 218 of file genDistortedImage.py.

◆ linearXDistort()

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 41 of file genDistortedImage.py.

◆ linearYDistort()

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 99 of file genDistortedImage.py.

◆ manyTermX()

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

Definition at line 88 of file genDistortedImage.py.

◆ manyTermY()

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

Definition at line 146 of file genDistortedImage.py.

◆ noDistort()

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

Definition at line 34 of file genDistortedImage.py.

◆ quadraticDistort()

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 191 of file genDistortedImage.py.

◆ quadraticDistortX()

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 58 of file genDistortedImage.py.

◆ quadraticDistortY()

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 116 of file genDistortedImage.py.

◆ T2DistortX()

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

Definition at line 208 of file genDistortedImage.py.