getPixelSizes
Callable
Parameters
frame: FrameStore
The
FrameStore
providing WCS transform (frame.wcsInfo
) and FITS headersoptionalrounding: number
Optional number of decimal places to round the pixel size in arcseconds. If omitted, raw (unrounded) arcsecond values are returned.
Returns { x: number; y: number }
An object with
{ x, y }
pixel sizes in arcseconds;NaN
values if they cannot be determinedx: number
y: number
Calculates the pixel sizes (in arcseconds per pixel) along the rendered X and Y axes by measuring WCS geodesic distances around the reference pixel (CRPIX).