API Reference / parans · function

Function: parans()

function parans(
   engine, 
   jd, 
   lat, 
   bodies?, 
   toleranceMin?): Paran[];

Co-angular pairs over the 24 hours from jd (UT) at latitude lat: every pair of different bodies whose angle crossings fall within toleranceMin minutes. Ordered by (a, b, jd), with a < b by name.

Parameters

ParameterTypeDefault valueDescription
engineEngineundefinedThe engine used to evaluate rise/set/transit times.
jdnumberundefinedJulian Day in UT (the 24-hour window starts here).
latnumberundefinedGeographic latitude in degrees, north positive.
bodiesstring[]DEFAULT_PARAN_BODIESBodies to consider; defaults to the seven classical planets.
toleranceMinnumber30The paran window in minutes (default 30).

Returns

Paran[]

The co-angular pairs as Paran objects.