v2v32radec_estimate

jwst.cube_build.coord.v2v32radec_estimate(ra_ref, dec_ref, roll_ref, v2_ref, v3_ref, v2, v3)[source]

Estimation of RA and Dec from the v2, v3 coordinates.

This routine is used for debugging purposes. It is not actually used in the cube_build step for routine IFU cube building. The conversion from V2,V3 to ra,dec is handled more accurately by the transforms provided by assign_wcs.

Parameters:
ra_reffloat

RA of reference point given in arcseconds

dec_reffloat

Dec of reference point given in arcseconds

roll_reffloat

Roll angle given in degrees

v2_reffloat

V2 coordinate of reference point given in arcseconds

v3_reffloat

V3 coordinate of reference point given in arcseconds

v2float

V2 coordinate given in arcseconds

v3float

V3 coordinate given in arcseconds

Returns:
rafloat

Calculated RA from v2, v3

decfloat

Calculate Dec from v2, v3

Notes

It is assumed that the v2,v3 coordinates have the effects of dithering included.