radec2std
- jwst.cube_build.coord.radec2std(crval1, crval2, ra, dec, rot_angle=None)[source]
Compute the tangent projection coordinates
(xi,eta)fromra,decusingcrval1andcrval2.- Parameters:
- crval1float
RA value of tangent point
- crval2float
Dec value of tangent point
- randarray or float
A list (or single value) of RA points to convert
- decndarray or float
A list (or single value) of Dec points to convert
- rot_anglefloat or None, optional
Rotation angle given in degrees
- Returns:
- xifloat
X-axis tangent plane coordinate of
ra,dec- etafloat
Y-axis tangent plane coordinate of
ra,dec