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.
12 lines (11 loc) • 522 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.byEquatorialCoordinates = void 0;
const Star_1 = __importDefault(require("./Star"));
function byEquatorialCoordinates(coords, toi, properMotion, referenceEpoch) {
return new Star_1.default(coords, toi, properMotion, referenceEpoch);
}
exports.byEquatorialCoordinates = byEquatorialCoordinates;