lsst.meas.astrom  14.0-7-g0d69b06+3
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 159 of file genDistortedImage.py.

◆ crossTerms2()

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

Definition at line 170 of file genDistortedImage.py.

◆ crossTerms3()

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

Definition at line 181 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 75 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 133 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 220 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 43 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 101 of file genDistortedImage.py.

◆ manyTermX()

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

Definition at line 90 of file genDistortedImage.py.

◆ manyTermY()

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

Definition at line 148 of file genDistortedImage.py.

◆ noDistort()

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

Definition at line 36 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 193 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 60 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 118 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 210 of file genDistortedImage.py.