new PixelToAbsConverter(crpix1, cdeltInDeg1, crpix2, cdeltInDeg2, projection)
Parameters:
Name | Type | Description |
---|---|---|
crpix1 |
integer | the reference pixel along the first axis ( supposedly RA ) |
cdeltInDeg1 |
float | the coordinate increment in degree at the reference point along the first axis ( supposedly RA ) |
crpix2 |
integer | the reference pixel along the second axis ( supposedly DEC ) |
cdeltInDeg2 |
float | the coordinate increment in degree at the reference point along the second axis ( supposedly DEC ) |
projection |
Projection | the instance of Projection deduced from the FITS header. |
Methods
convert(i, j)
Parameters:
Name | Type | Description |
---|---|---|
i |
integer | an integer expressing the first pixel coordinate on the pixels grid ( supposedly RA ) |
j |
integer | an integer expressing the second pixel coordinate on the pixels grid ( supposedly DEC ) |
Returns:
label(i, j)
Parameters:
Name | Type | Description |
---|---|---|
i |
integer | an integer expressing the first pixel coordinate on the pixels grid ( supposedly RA ) |
j |
integer | an integer expressing the second pixel coordinate on the pixels grid ( supposedly DEC ) |