make_wcs¶
- romanisim.wcs.make_wcs(targ_pos, distortion, roll_ref=0, v2_ref=0, v3_ref=0, wrap_v2_at=180, wrap_lon_at=360)¶
Create a gWCS from a target position, a roll, and a distortion map.
- Parameters:
- targ_posastropy.coordinates.SkyCoord
The celestial coordinates of the boresight or science aperture.
- distortioncallable
The distortion mapping pixel coordinates to V2/V3 coordinates for a detector.
- roll_reffloat
The angle of the V3 axis relative to north, increasing from north to east, at the boresight or science aperture. Note that the V3 axis is rotated by +60 degree to the +Y axis.
- v2_reffloat
The v2 coordinate (arcsec) corresponding to targ_pos
- v3_reffloat
The v3 coordinate (arcsec) corresponding to targ_pos
- Returns:
- gwcs.wcs object representing WCS for observation