Search Shortcut cmd + k | ctrl + k
celestial

Astronomical coordinates utilities

Maintainer(s): teobouvard

Installing and Loading

INSTALL celestial FROM community;
LOAD celestial;

Example

SELECT spherical_angle(0, 0, 1, 0) AS radians_along_equator;

About celestial

The celestial extension provides functions for working with astronomical coordinates.

Added Functions

function_name function_type description comment examples
spherical_angle scalar Compute the angle between two points on the sphere Input coordinates in radians (RA_1, DEC_1, RA2, DEC_2). Output angle in radians. [SELECT spherical_angle(0, 0, 1, 0);]

Overloaded Functions

Added Types

Added Settings