new AbsToPixelConverter(crpix1, cdelt1, crpix2, cdelt2, projection)
Parameters:
Name | Type | Description |
---|---|---|
crpix1 |
integer | the reference pixel along the first axis ( supposedly RA ) |
cdelt1 |
float | the coordinate increment in radians at the reference point along the first axis ( supposedly RA ) |
crpix2 |
integer | the reference pixel along the second axis ( supposedly DEC ) |
cdelt2 |
float | the coordinate increment in radians at the reference point along the second axis ( supposedly DEC ) |
projection |
Projection | the instance of Projection deduced from the FITS header. |
Methods
convert(x, y)
Parameters:
Name | Type | Description |
---|---|---|
x |
float | right ascension in radian |
y |
float | right ascention in radian |