Liking cljdoc? Tell your friends :D

org.soulspace.astronomy.coordinates

Coordinates functions and abstractions.

Coordinates functions and abstractions.
raw docstring

altitude-by-zenit-distanceclj

(altitude-by-zenit-distance zenit-distance)

Calculates the altitude by zenit distance (given in rad).

Calculates the altitude by zenit distance (given in rad).
sourceraw docstring

angular-distanceclj

(angular-distance [ra1 dec1] [ra2 dec2])
(angular-distance ra1 dec1 ra2 dec2)

Calculates the angular distance between the coordinates (given in rad).

Calculates the angular distance between the coordinates (given in rad).
sourceraw docstring

cartesian-to-sphericalclj

(cartesian-to-spherical cartesian-coords)
(cartesian-to-spherical x y z)

Converts cartesian to spherical coordinates.

Converts cartesian to spherical coordinates.
sourceraw docstring

hour-angleclj

(hour-angle instant ra)

Calculates the hour angle of the right ascension at the given instant.

Calculates the hour angle of the right ascension at the given instant.
sourceraw docstring

ICelestialCoordinatecljprotocol

Protocol for coordinate systems.

Protocol for coordinate systems.

eclipticalclj

(ecliptical this)
(ecliptical this jd location)

Returns the ecliptical coordinates (lat/long).

Returns the ecliptical coordinates (lat/long).

equatorialclj

(equatorial this)
(equatorial this jd location)

Returns the equtorial coordinates (RA/Dec).

Returns the equtorial coordinates (RA/Dec).

horizontalclj

(horizontal this)
(horizontal this jd location)

Returns the horizontal coordinates (Alt/Az).

Returns the horizontal coordinates (Alt/Az).
sourceraw docstring

mercator-projectionclj

(mercator-projection)

Calculates the mercator projection of the coordinates.

Calculates the mercator projection of the coordinates.
sourceraw docstring

orthographic-projectionclj

(orthographic-projection R [long-0 lat-0] [long lat])
(orthographic-projection R long-0 lat-0 long lat)

Calculates the orthographic projection of the coordinates of the coordinates of long and lat for a map centered on the coordinates long-0 and lat-0.

Calculates the orthographic projection of the coordinates of the coordinates of long and lat
for a map centered on the coordinates long-0 and lat-0.
sourceraw docstring

orthographic-projectorclj

(orthographic-projector R)
(orthographic-projector R [long-0 lat-0])
(orthographic-projector R long-0 lat-0)

Returns a function for orthographic projections.

Returns a function for orthographic projections.
sourceraw docstring

pi-ninetiethclj

Defines Pi/90 for speed.

Defines Pi/90 for speed.
sourceraw docstring

reverse-mercator-projectionclj

(reverse-mercator-projection)

Calculates the coordinates in a reversed mercator projection.

Calculates the coordinates in a reversed mercator projection.
sourceraw docstring

reverse-orthographic-projectionclj

(reverse-orthographic-projection R [long-0 lat-0] [x y])
(reverse-orthographic-projection R long-0 lat-0 x y)

Calculates the coordinates of x and y in a reversed orthographic projection for a map centered on the coordinates long-0 and lat-0.

Calculates the coordinates of x and y in a reversed orthographic projection
for a map centered on the coordinates long-0 and lat-0.
sourceraw docstring

reverse-orthographic-projectorclj

(reverse-orthographic-projector R)
(reverse-orthographic-projector R [long-0 lat-0])
(reverse-orthographic-projector R long-0 lat-0)

Returns a function for reverse orthographic projections.

Returns a function for reverse orthographic projections.
sourceraw docstring

reverse-stereographic-projectionclj

(reverse-stereographic-projection R k-0 [long-0 lat-0] [x y])
(reverse-stereographic-projection R k-0 long-0 lat-0 x y)

Calculates the coordinates of x and y in a reversed stereographic projection for a map centered on the coordinates long-0 and lat-0.

Calculates the coordinates of x and y in a reversed stereographic projection
for a map centered on the coordinates long-0 and lat-0.
sourceraw docstring

reverse-stereographic-projectorclj

(reverse-stereographic-projector R)
(reverse-stereographic-projector R k-0)
(reverse-stereographic-projector R k-0 [long-0 lat-0])
(reverse-stereographic-projector R k-0 long-0 lat-0)

Returns a function for reverse stereographic projections.

Returns a function for reverse stereographic projections.
sourceraw docstring

spherical-to-cartesianclj

(spherical-to-cartesian spherical-coords)
(spherical-to-cartesian r beta lambda)

Converts spherical to cartesian coordinates.

Converts spherical to cartesian coordinates.
sourceraw docstring

stereographic-projectionclj

(stereographic-projection R k-0 [long-0 lat-0] [long lat])
(stereographic-projection R k-0 long-0 lat-0 long lat)

Calculates the stereographic projection of the coordinates of long and lat for a map centered on the coordinates long-0 and lat-0.

Calculates the stereographic projection of the coordinates of long and lat
for a map centered on the coordinates long-0 and lat-0.
sourceraw docstring

stereographic-projectorclj

(stereographic-projector R)
(stereographic-projector R k-0)
(stereographic-projector R k-0 [long-0 lat-0])
(stereographic-projector R k-0 long-0 lat-0)

Returns a function for stereographic projections.

Returns a function for stereographic projections.
sourceraw docstring

zenit-distance-by-altitudeclj

(zenit-distance-by-altitude altitude)

Calculates the zenit distance by altitude (given in rad).

Calculates the zenit distance by altitude (given in rad).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close