Utility functions for PyDrizzle that rely on PyRAF's interface to IRAF
tasks.
|
factorial(n)
Compute a factorial for integer n. |
source code
|
|
|
combin(j,
n)
Return the combinatorial factor for j in n. |
source code
|
|
|
|
|
|
|
|
|
getIDCFile(image,
keyword=None,
directory=None) |
source code
|
|
|
|
|
|
|
getIDCFileType(idcfile)
Open ASCII IDCFILE to determine the type: cubic,trauger,... |
source code
|
|
|
|
|
|
|
|
|
|
|
rotatePos(pos,
theta,
offset=None,
scale=None) |
source code
|
|
|
|
|
computeRange(corners)
Determine the range spanned by an array of pixel positions. |
source code
|
|
|
convertWCS(inwcs,
drizwcs)
Copy WCSObject WCS into Drizzle compatible array. |
source code
|
|
|
updateWCS(drizwcs,
inwcs)
Copy output WCS array from Drizzle into WCSObject. |
source code
|
|
|
wcsfit(img_geom,
ref)
Perform a linear fit between 2 WCS for shift, rotation and scale. |
source code
|
|
|
|
|
getRotatedSize(corners,
angle)
Determine the size of a rotated (meta)image. |
source code
|
|