API Reference / skyPlacer · function

Function: skyPlacer()

function skyPlacer(
   aimAzDeg, 
   aimAltDeg, 
   lens, 
   width, 
   height, 
   opts?): (azDeg, altTrueDeg, refractThis?) => SkyPlacement;

The projection at SkyView's heart as a standalone, pinnable function: build the camera basis for an aim, and return the placer mapping an (azimuth, true-altitude) direction to the image plane under the lens's projection (rectilinear or fisheye), with optional atmospheric refraction. skyView composes this internally; the golden suite pins it directly against the Python reference (astroengine.skyview.place).

Parameters

ParameterType
aimAzDegnumber
aimAltDegnumber
lensSkyLens
widthnumber
heightnumber
opts{ pressure?: number; refraction?: boolean; tempC?: number; }
opts.pressure?number
opts.refraction?boolean
opts.tempC?number

Returns

(azDeg, altTrueDeg, refractThis?) => SkyPlacement

Start building

Quickstart →