API Reference / gauquelinSector · function
Function: gauquelinSector()
function gauquelinSector(
engine,
body,
jdUt,
latDeg,
lonDeg): number | null;
The Gauquelin sector of a body (1–36, fractional) from the rise/set times of the disc centre with refraction (Swiss Ephemeris method 3). Sectors run from rise: 1–18 above the horizon, 19–36 below.
Parameters
| Parameter | Type | Description |
|---|---|---|
engine | Engine | The engine used to evaluate positions. |
body | BodyId | A body id from Engine.bodies. |
jdUt | number | Julian Day (UT). |
latDeg | number | Observer latitude in degrees, north positive. |
lonDeg | number | Observer longitude in degrees, east positive. |
Returns
number | null
The sector in [1, 37), or null in polar no-rise/no-set
conditions.