astronomy-bundle
Version:
Bundle for astronomical calculations such as position of moon, sun and planets, sunrise, sunset or solar eclipses. Most of the calculations are based on Jean Meeus 'Astronomical Algorithms' book and the VSOP87 theory.
49 lines (48 loc) • 3.2 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.timeCalc = exports.sunCalc = exports.starCalc = exports.precessionCalc = exports.observationCalc = exports.moonPhaseCalc = exports.moonCalc = exports.earthCalc = exports.distanceCalc = exports.coordinateCalc = exports.conjunctionCalc = exports.angleCalc = void 0;
const calculations_1 = require("../coordinates/calculations");
Object.defineProperty(exports, "coordinateCalc", { enumerable: true, get: function () { return calculations_1.coordinateCalc; } });
Object.defineProperty(exports, "precessionCalc", { enumerable: true, get: function () { return calculations_1.precessionCalc; } });
const calculations_2 = require("../earth/calculations");
Object.defineProperty(exports, "earthCalc", { enumerable: true, get: function () { return calculations_2.earthCalc; } });
const calculations_3 = require("../moon/calculations");
Object.defineProperty(exports, "moonCalc", { enumerable: true, get: function () { return calculations_3.moonCalc; } });
Object.defineProperty(exports, "moonPhaseCalc", { enumerable: true, get: function () { return calculations_3.moonPhaseCalc; } });
const calculations_4 = require("../planets/calculations");
Object.defineProperty(exports, "conjunctionCalc", { enumerable: true, get: function () { return calculations_4.conjunctionCalc; } });
const calculations_5 = require("../stars/calculations");
Object.defineProperty(exports, "starCalc", { enumerable: true, get: function () { return calculations_5.starCalc; } });
const calculations_6 = require("../sun/calculations");
Object.defineProperty(exports, "sunCalc", { enumerable: true, get: function () { return calculations_6.sunCalc; } });
const calculations_7 = require("../time/calculations");
Object.defineProperty(exports, "timeCalc", { enumerable: true, get: function () { return calculations_7.timeCalc; } });
const angleCalc = __importStar(require("./angleCalc"));
exports.angleCalc = angleCalc;
const distanceCalc = __importStar(require("./distanceCalc"));
exports.distanceCalc = distanceCalc;
const observationCalc = __importStar(require("./observationCalc"));
exports.observationCalc = observationCalc;