Module xytosky
source code
|
|
XYtoSky_pars(input,
x=None,
y=None,
coords=None,
colnames=None,
linear=True,
idckey='IDCTAB',
hms=False,
output=None,
verbose=True) |
source code
|
|
|
|
XYtoSky(input,
pos,
idckey='IDCTAB',
linear=True,
verbose=False)
Convert input pixel position(s) into RA/Dec position(s). |
source code
|
|
|
|
yes = True
|
|
|
no = False
|
|
|
__package__ = 'pydrizzle'
|
|
|
e = 2.71828182846
|
|
|
pi = 3.14159265359
|
Imports:
string,
copy,
os,
pyfits,
np,
C,
pydrizzle,
wcsutil,
acos,
acosh,
asin,
asinh,
atan,
atan2,
atanh,
ceil,
copysign,
cos,
cosh,
degrees,
erf,
erfc,
exp,
expm1,
fabs,
factorial,
floor,
fmod,
frexp,
fsum,
gamma,
hypot,
isinf,
isnan,
ldexp,
lgamma,
log,
log10,
log1p,
modf,
pow,
radians,
sin,
sinh,
sqrt,
tan,
tanh,
trunc
XYtoSky(input,
pos,
idckey='IDCTAB',
linear=True,
verbose=False)
| source code
|
Convert input pixel position(s) into RA/Dec position(s).
Output will be either an (ra,dec) pair or a 'list' of (ra,dec)
pairs, not a numpy, to correspond with the input position(s).
Parameter:
input - Filename with extension specification of image
pos - Either a single [x,y] pair or a list of [x,y] pairs.
idckey - Keyword which points to the IDC table to be used.
linear - If no, apply distortion correction for image.
|