hextransform
- jwst.ami.hextransformee.hextransform(s, d, lam, pitch, affine2d, c=None)[source]
Calculate the complex array analytical transform of a (distorted if necessary) hexagon.
- Parameters:
- s(int,int) tuple, required
Size of output hexagonal beam in pixels
- dfloat, required
Flat-to-flat distance across hexagon in meters
- lamfloat, required
Wavelength of the observation in meters
- pitchfloat, required
Sampling pitch in radians in image plane
- affine2dAffine2d object
Distortion object
- c(float,float) tuple, optional
Location of center of hexagonal primary beam in pixels. If None, the center is assumed to be at the center of the array.
- Returns:
- hex_complex2D complex array
Complex array analytical transform of a hexagon