Documentation
¶
Index ¶
- Constants
- Variables
- func AJupiterX(jd float64) float64
- func AJupiterXYZ(jd float64) (float64, float64, float64)
- func AJupiterY(jd float64) float64
- func AJupiterZ(jd float64) float64
- func AMarsX(jd float64) float64
- func AMarsXYZ(jd float64) (float64, float64, float64)
- func AMarsY(jd float64) float64
- func AMarsZ(jd float64) float64
- func AMercuryX(jd float64) float64
- func AMercuryXYZ(jd float64) (float64, float64, float64)
- func AMercuryY(jd float64) float64
- func AMercuryZ(jd float64) float64
- func ANeptuneX(jd float64) float64
- func ANeptuneXYZ(jd float64) (float64, float64, float64)
- func ANeptuneY(jd float64) float64
- func ANeptuneZ(jd float64) float64
- func ASaturnX(jd float64) float64
- func ASaturnXYZ(jd float64) (float64, float64, float64)
- func ASaturnY(jd float64) float64
- func ASaturnZ(jd float64) float64
- func AUranusX(jd float64) float64
- func AUranusXYZ(jd float64) (float64, float64, float64)
- func AUranusY(jd float64) float64
- func AUranusZ(jd float64) float64
- func AVenusX(jd float64) float64
- func AVenusXYZ(jd float64) (float64, float64, float64)
- func AVenusY(jd float64) float64
- func AVenusZ(jd float64) float64
- func ApparentAltitude(trueAltitude, pressureHPa, temperatureC float64) float64
- func ApparentSiderealTime(jd float64) float64
- func ApparentSiderealTime1982(jd float64) float64
- func ApparentSiderealTime2006(jd float64) float64
- func BoToDec(jde, lo, bo float64) float64
- func CalcMoonS(year float64, phaseType int) float64
- func CalcMoonSH(year float64, phaseType int) float64
- func CalcMoonSHByJDE(jde float64, phaseType int) float64
- func CalcMoonX(year float64, quarterType int) float64
- func CalcMoonXH(year float64, quarterType int) float64
- func CalcMoonXHByJDE(jde float64, quarterType int) float64
- func ClosestMoonPlanetConjunction(jde float64, planet MoonPlanetConjunctionPlanet) float64
- func ConstellationCode(ra, dec, jde float64) string
- func ConstellationNameByCodeEN(code string) string
- func ConstellationNameByCodeZH(code string) string
- func ConstellationNameEN(ra, dec, jde float64) string
- func ConstellationNameZH(ra, dec, jde float64) string
- func CulminationTime(jd, lon, tz float64) float64
- func CulminationTimeN(jd, lon, tz float64, n int) float64
- func Date2JDE(date time.Time) float64
- func DecToBo(jde, ra, dec float64) float64
- func DefaultDeltaTv2(date float64, isJd bool) float64
- func DeltaT(date float64, isJDE bool) float64
- func DeltaTSplineY(y float64) float64
- func DeltaTv2(jd float64) float64
- func Distance(jd float64) float64
- func EarthAway(jd float64) float64
- func EarthAwayN(jd float64, n int) float64
- func EarthJupiterAway(jd float64) float64
- func EarthJupiterAwayN(jd float64, n int) float64
- func EarthMarsAway(jd float64) float64
- func EarthMarsAwayN(jd float64, n int) float64
- func EarthMercuryAway(jd float64) float64
- func EarthMercuryAwayN(jd float64, n int) float64
- func EarthNeptuneAway(jd float64) float64
- func EarthNeptuneAwayN(jd float64, n int) float64
- func EarthPI(jd float64) float64
- func EarthRotationAngle(jd_ut1 float64) float64
- func EarthSaturnAway(jd float64) float64
- func EarthSaturnAwayN(jd float64, n int) float64
- func EarthUranusAway(jd float64) float64
- func EarthUranusAwayN(jd float64, n int) float64
- func EarthVenusAway(jd float64) float64
- func EarthVenusAwayN(jd float64, n int) float64
- func Earthe(jd float64) float64
- func EclipticObliquity(jde float64, nutation bool) float64
- func EveningTwilight(jd, lon, lat, tz, targetAltitude float64) (float64, error)
- func EveningTwilightN(jd, lon, lat, tz, targetAltitude float64, n int) (float64, error)
- func GXCBo(lo, bo, jd float64) float64
- func GXCLo(lo, bo, jd float64) float64
- func GeocentricRadius(lat float64) float64
- func GetDeltaTFn() func(float64, bool) float64
- func GetGanZhi(year int) string
- func GetJQTime(year, angle int) float64
- func GetJieqiLoops(year, loop int) []float64
- func GetLunar(year, month, day int, tz float64) (lyear, lmonth, lday int, leap bool, result string)
- func GetMoonCir() [][][]float64
- func GetMoonLoops(year float64, loop int) []float64
- func GetMoonRiseTime(julianDay, longitude, latitude, timeZone, zenithShift, height float64) (float64, error)
- func GetMoonSetTime(julianDay, longitude, latitude, timeZone, zenithShift, height float64) (float64, error)
- func GetMoonTZTime(jd, lon, lat, tz float64) float64
- func GetNowJDE() (nowJDE float64)
- func GetShiErCi(jd float64) string
- func GetSolar(year, month, day int, leap bool, tz float64) float64
- func GetSunRiseTime(julianDay, longitude, latitude, timeZone, zenithShift, height float64) (float64, error)
- func GetSunRiseTimeN(julianDay, longitude, latitude, timeZone, zenithShift, height float64, n int) (float64, error)
- func GetSunSetTime(julianDay, longitude, latitude, timeZone, zenithShift, height float64) (float64, error)
- func GetSunSetTimeN(julianDay, longitude, latitude, timeZone, zenithShift, height float64, n int) (float64, error)
- func GetWuHouTime(Year, Angle int) float64
- func HMoonApparentDec(jd, lon, lat, tz float64) float64
- func HMoonApparentDecN(jd, lon, lat, tz float64, n int) float64
- func HMoonApparentLo(jd float64) float64
- func HMoonApparentLoN(jd float64, n int) float64
- func HMoonApparentRa(jd, lon, lat, tz float64) float64
- func HMoonApparentRaDec(jd, lon, lat, tz float64) (float64, float64)
- func HMoonApparentRaDecN(jd, lon, lat, tz float64, n int) (float64, float64)
- func HMoonApparentRaN(jd, lon, lat, tz float64, n int) float64
- func HMoonAway(jd float64) float64
- func HMoonAwayN(jd float64, n int) float64
- func HMoonAzimuth(jd, lon, lat, tz float64) float64
- func HMoonAzimuthN(jd, lon, lat, tz float64, n int) float64
- func HMoonGeocentricApparentDec(jd float64) float64
- func HMoonGeocentricApparentDecN(jd float64, n int) float64
- func HMoonGeocentricApparentRa(jd float64) float64
- func HMoonGeocentricApparentRaDec(jd float64) (float64, float64)
- func HMoonGeocentricApparentRaDecN(jd float64, n int) (float64, float64)
- func HMoonGeocentricApparentRaN(jd float64, n int) float64
- func HMoonGeocentricTrueDec(jd float64) float64
- func HMoonGeocentricTrueDecN(jd float64, n int) float64
- func HMoonGeocentricTrueRa(jd float64) float64
- func HMoonGeocentricTrueRaDec(jd float64) (float64, float64)
- func HMoonGeocentricTrueRaDecN(jd float64, n int) (float64, float64)
- func HMoonGeocentricTrueRaN(jd float64, n int) float64
- func HMoonHeight(jd, lon, lat, tz float64) float64
- func HMoonHeightN(jd, lon, lat, tz float64, n int) float64
- func HMoonTrueBo(jd float64) float64
- func HMoonTrueBoN(jd float64, n int) float64
- func HMoonTrueDec(jd float64) float64
- func HMoonTrueDecN(jd float64, n int) float64
- func HMoonTrueLo(jd float64) float64
- func HMoonTrueLoN(jd float64, n int) float64
- func HMoonTrueRa(jd float64) float64
- func HMoonTrueRaDec(jd float64) (float64, float64)
- func HMoonTrueRaDecN(jd float64, n int) (float64, float64)
- func HMoonTrueRaN(jd float64, n int) float64
- func HSunApparentDec(jd float64) float64
- func HSunApparentDecN(jd float64, n int) float64
- func HSunApparentLo(jd float64) float64
- func HSunApparentLoN(jd float64, n int) float64
- func HSunApparentRa(jd float64) float64
- func HSunApparentRaDec(jd float64) (float64, float64)
- func HSunApparentRaDecN(jd float64, n int) (float64, float64)
- func HSunApparentRaN(jd float64, n int) float64
- func HSunTrueBo(jd float64) float64
- func HSunTrueBoN(jd float64, n int) float64
- func HSunTrueDec(jd float64) float64
- func HSunTrueDecN(jd float64, n int) float64
- func HSunTrueLo(jd float64) float64
- func HSunTrueLoN(jd float64, n int) float64
- func HSunTrueRa(jd float64) float64
- func HSunTrueRaN(jd float64, n int) float64
- func HeightDegree(height float64) float64
- func HeightDegreeByLat(height, lat float64) float64
- func HeightDistance(height float64) float64
- func HeightDistanceByLat(height, lat float64) float64
- func JDE2Date(jd float64) time.Time
- func JDE2DateByZone(jd float64, tz *time.Location, byZone bool) time.Time
- func JDECalc(year, month int, day float64) float64
- func JQLospec(jd float64, target float64) float64
- func JupiterApparentBo(jd float64) float64
- func JupiterApparentBoN(jd float64, n int) float64
- func JupiterApparentDec(jd float64) float64
- func JupiterApparentDecN(jd float64, n int) float64
- func JupiterApparentLo(jd float64) float64
- func JupiterApparentLoBo(jd float64) (float64, float64)
- func JupiterApparentLoBoN(jd float64, n int) (float64, float64)
- func JupiterApparentLoN(jd float64, n int) float64
- func JupiterApparentRa(jd float64) float64
- func JupiterApparentRaDec(jd float64) (float64, float64)
- func JupiterApparentRaDecN(jd float64, n int) (float64, float64)
- func JupiterApparentRaN(jd float64, n int) float64
- func JupiterAscendingNode(jd float64) float64
- func JupiterAscendingNodeN(jd float64, n int) float64
- func JupiterAzimuth(jde, lon, lat, timezone float64) float64
- func JupiterAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func JupiterB(jd float64) float64
- func JupiterBrightLimbPositionAngle(jd float64) float64
- func JupiterBrightLimbPositionAngleN(jd float64, n int) float64
- func JupiterCulminationTime(jde, lon, timezone float64) float64
- func JupiterCulminationTimeN(jde, lon, timezone float64, n int) float64
- func JupiterDSDE(jd float64) (ds, de float64)
- func JupiterDSDEN(jd float64, n int) (ds, de float64)
- func JupiterDescendingNode(jd float64) float64
- func JupiterDescendingNodeN(jd float64, n int) float64
- func JupiterDiameter(jd float64) float64
- func JupiterDiameterN(jd float64, n int) float64
- func JupiterHeight(jde, lon, lat, timezone float64) float64
- func JupiterHeightN(jde, lon, lat, timezone float64, n int) float64
- func JupiterHourAngle(jd, lon, timezone float64) float64
- func JupiterHourAngleN(jd, lon, timezone float64, n int) float64
- func JupiterIlluminatedFraction(jd float64) float64
- func JupiterIlluminatedFractionN(jd float64, n int) float64
- func JupiterL(jd float64) float64
- func JupiterMag(jd float64) float64
- func JupiterMagN(jd float64, n int) float64
- func JupiterPhaseAngle(jd float64) float64
- func JupiterPhaseAngleN(jd float64, n int) float64
- func JupiterR(jd float64) float64
- func JupiterRiseTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func JupiterRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func JupiterSemidiameter(jd float64) float64
- func JupiterSemidiameterN(jd float64, n int) float64
- func JupiterSetTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func JupiterSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func LastJupiterConjunction(jde float64) float64
- func LastJupiterEasternQuadrature(jde float64) float64
- func LastJupiterOpposition(jde float64) float64
- func LastJupiterProgradeToRetrograde(jde float64) float64
- func LastJupiterRetrogradeToPrograde(jde float64) float64
- func LastJupiterWesternQuadrature(jde float64) float64
- func LastMarsConjunction(jde float64) float64
- func LastMarsEasternQuadrature(jde float64) float64
- func LastMarsOpposition(jde float64) float64
- func LastMarsProgradeToRetrograde(jde float64) float64
- func LastMarsRetrogradeToPrograde(jde float64) float64
- func LastMarsWesternQuadrature(jde float64) float64
- func LastMercuryConjunction(jde float64) float64
- func LastMercuryConjunctionStrict(jde float64) float64
- func LastMercuryGreatestElongation(jde float64) float64
- func LastMercuryGreatestElongationEast(jde float64) float64
- func LastMercuryGreatestElongationEastInclusive(jde float64) float64
- func LastMercuryGreatestElongationInclusive(jde float64) float64
- func LastMercuryGreatestElongationWest(jde float64) float64
- func LastMercuryGreatestElongationWestInclusive(jde float64) float64
- func LastMercuryInferiorConjunction(jde float64) float64
- func LastMercuryInferiorConjunctionInclusive(jde float64) float64
- func LastMercuryProgradeToRetrograde(jde float64) float64
- func LastMercuryProgradeToRetrogradeInclusive(jde float64) float64
- func LastMercuryRetrograde(jde float64) float64
- func LastMercuryRetrogradeInclusive(jde float64) float64
- func LastMercuryRetrogradeStrict(jde float64) float64
- func LastMercuryRetrogradeToPrograde(jde float64) float64
- func LastMercuryRetrogradeToProgradeInclusive(jde float64) float64
- func LastMercurySuperiorConjunction(jde float64) float64
- func LastMercurySuperiorConjunctionInclusive(jde float64) float64
- func LastMoonPlanetConjunction(jde float64, planet MoonPlanetConjunctionPlanet) float64
- func LastNeptuneConjunction(jde float64) float64
- func LastNeptuneEasternQuadrature(jde float64) float64
- func LastNeptuneOpposition(jde float64) float64
- func LastNeptuneProgradeToRetrograde(jde float64) float64
- func LastNeptuneRetrogradeToPrograde(jde float64) float64
- func LastNeptuneWesternQuadrature(jde float64) float64
- func LastSaturnConjunction(jde float64) float64
- func LastSaturnEasternQuadrature(jde float64) float64
- func LastSaturnOpposition(jde float64) float64
- func LastSaturnProgradeToRetrograde(jde float64) float64
- func LastSaturnRetrogradeToPrograde(jde float64) float64
- func LastSaturnWesternQuadrature(jde float64) float64
- func LastUranusConjunction(jde float64) float64
- func LastUranusEasternQuadrature(jde float64) float64
- func LastUranusOpposition(jde float64) float64
- func LastUranusProgradeToRetrograde(jde float64) float64
- func LastUranusRetrogradeToPrograde(jde float64) float64
- func LastUranusWesternQuadrature(jde float64) float64
- func LastVenusConjunction(jde float64) float64
- func LastVenusConjunctionStrict(jde float64) float64
- func LastVenusGreatestElongation(jde float64) float64
- func LastVenusGreatestElongationEast(jde float64) float64
- func LastVenusGreatestElongationEastInclusive(jde float64) float64
- func LastVenusGreatestElongationInclusive(jde float64) float64
- func LastVenusGreatestElongationWest(jde float64) float64
- func LastVenusGreatestElongationWestInclusive(jde float64) float64
- func LastVenusInferiorConjunction(jde float64) float64
- func LastVenusInferiorConjunctionInclusive(jde float64) float64
- func LastVenusProgradeToRetrograde(jde float64) float64
- func LastVenusProgradeToRetrogradeInclusive(jde float64) float64
- func LastVenusRetrograde(jde float64) float64
- func LastVenusRetrogradeInclusive(jde float64) float64
- func LastVenusRetrogradeToPrograde(jde float64) float64
- func LastVenusRetrogradeToProgradeInclusive(jde float64) float64
- func LastVenusSuperiorConjunction(jde float64) float64
- func LastVenusSuperiorConjunctionInclusive(jde float64) float64
- func LoBoToRaDec(jde, lo, bo float64) (float64, float64)
- func LoToRa(jde, lo, bo float64) float64
- func LoadStarData() error
- func LowSunHeight(jd, lon, lat, tz float64) float64
- func MarsApparentBo(jd float64) float64
- func MarsApparentBoN(jd float64, n int) float64
- func MarsApparentDec(jd float64) float64
- func MarsApparentDecN(jd float64, n int) float64
- func MarsApparentLo(jd float64) float64
- func MarsApparentLoBo(jd float64) (float64, float64)
- func MarsApparentLoBoN(jd float64, n int) (float64, float64)
- func MarsApparentLoN(jd float64, n int) float64
- func MarsApparentRa(jd float64) float64
- func MarsApparentRaDec(jd float64) (float64, float64)
- func MarsApparentRaDecN(jd float64, n int) (float64, float64)
- func MarsApparentRaN(jd float64, n int) float64
- func MarsAscendingNode(jd float64) float64
- func MarsAscendingNodeN(jd float64, n int) float64
- func MarsAzimuth(jde, lon, lat, timezone float64) float64
- func MarsAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func MarsB(jd float64) float64
- func MarsBrightLimbPositionAngle(jd float64) float64
- func MarsBrightLimbPositionAngleN(jd float64, n int) float64
- func MarsCulminationTime(jde, lon, timezone float64) float64
- func MarsCulminationTimeN(jde, lon, timezone float64, n int) float64
- func MarsDescendingNode(jd float64) float64
- func MarsDescendingNodeN(jd float64, n int) float64
- func MarsDiameter(jd float64) float64
- func MarsDiameterN(jd float64, n int) float64
- func MarsHeight(jde, lon, lat, timezone float64) float64
- func MarsHeightN(jde, lon, lat, timezone float64, n int) float64
- func MarsHourAngle(jd, lon, timezone float64) float64
- func MarsHourAngleN(jd, lon, timezone float64, n int) float64
- func MarsIlluminatedFraction(jd float64) float64
- func MarsIlluminatedFractionN(jd float64, n int) float64
- func MarsL(jd float64) float64
- func MarsMag(jd float64) float64
- func MarsMagN(jd float64, n int) float64
- func MarsPhaseAngle(jd float64) float64
- func MarsPhaseAngleN(jd float64, n int) float64
- func MarsR(jd float64) float64
- func MarsRiseTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func MarsRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func MarsSemidiameter(jd float64) float64
- func MarsSemidiameterN(jd float64, n int) float64
- func MarsSetTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func MarsSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func MarsTrueLo(jd float64) float64
- func MarsTrueLoBo(jd float64) (float64, float64)
- func MeanSiderealTime(jd float64) float64
- func MeanSiderealTime1982(jd float64) float64
- func MeanSiderealTime2006(jd_ut1 float64) float64
- func MercuryApparentBo(jd float64) float64
- func MercuryApparentBoN(jd float64, n int) float64
- func MercuryApparentDec(jd float64) float64
- func MercuryApparentDecN(jd float64, n int) float64
- func MercuryApparentLo(jd float64) float64
- func MercuryApparentLoBo(jd float64) (float64, float64)
- func MercuryApparentLoBoN(jd float64, n int) (float64, float64)
- func MercuryApparentLoN(jd float64, n int) float64
- func MercuryApparentRa(jd float64) float64
- func MercuryApparentRaDec(jd float64) (float64, float64)
- func MercuryApparentRaDecN(jd float64, n int) (float64, float64)
- func MercuryApparentRaN(jd float64, n int) float64
- func MercuryAscendingNode(jd float64) float64
- func MercuryAscendingNodeN(jd float64, n int) float64
- func MercuryAzimuth(jde, lon, lat, timezone float64) float64
- func MercuryAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func MercuryB(jd float64) float64
- func MercuryBrightLimbPositionAngle(jd float64) float64
- func MercuryBrightLimbPositionAngleN(jd float64, n int) float64
- func MercuryCulminationTime(jde, lon, timezone float64) float64
- func MercuryCulminationTimeN(jde, lon, timezone float64, n int) float64
- func MercuryDescendingNode(jd float64) float64
- func MercuryDescendingNodeN(jd float64, n int) float64
- func MercuryDiameter(jd float64) float64
- func MercuryDiameterN(jd float64, n int) float64
- func MercuryHeight(jde, lon, lat, timezone float64) float64
- func MercuryHeightN(jde, lon, lat, timezone float64, n int) float64
- func MercuryHourAngle(jd, lon, timezone float64) float64
- func MercuryHourAngleN(jd, lon, timezone float64, n int) float64
- func MercuryIlluminatedFraction(jd float64) float64
- func MercuryIlluminatedFractionN(jd float64, n int) float64
- func MercuryL(jd float64) float64
- func MercuryMag(jd float64) float64
- func MercuryMagN(jd float64, n int) float64
- func MercuryPhaseAngle(jd float64) float64
- func MercuryPhaseAngleN(jd float64, n int) float64
- func MercuryR(jd float64) float64
- func MercuryRiseTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func MercuryRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func MercurySemidiameter(jd float64) float64
- func MercurySemidiameterN(jd float64, n int) float64
- func MercurySetTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func MercurySetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func MercurySunElongation(jde float64) float64
- func MoonApparentDec(jd, lon, lat, tz float64) float64
- func MoonApparentLo(jd float64) float64
- func MoonApparentRa(jd, lon, lat float64, tz int) float64
- func MoonAscendingNode(jd float64) float64
- func MoonAscendingNodeN(jd float64, n int) float64
- func MoonAway(jd float64) float64
- func MoonAzimuth(jd, lon, lat, tz float64) float64
- func MoonB(jd float64) float64
- func MoonBrightLimbPositionAngle(jd float64) float64
- func MoonBrightLimbPositionAngleN(jd float64, n int) float64
- func MoonCalcNew(coordIndex int, jd float64) float64
- func MoonCalcNewN(coordIndex int, jd float64, n int) float64
- func MoonCulminationTime(jde, lon, lat, timezone float64) float64
- func MoonDescendingNode(jd float64) float64
- func MoonDescendingNodeN(jd float64, n int) float64
- func MoonDiameter(jd float64) float64
- func MoonDiameterN(jd float64, n int) float64
- func MoonHeight(jd, lon, lat, tz float64) float64
- func MoonI(jd float64) float64
- func MoonLo(jd float64) float64
- func MoonLonX(jd float64) float64
- func MoonM(jd float64) float64
- func MoonPhase(jd float64) float64
- func MoonR(jd float64) float64
- func MoonSemidiameter(jd float64) float64
- func MoonSemidiameterN(jd float64, n int) float64
- func MoonTimeAngle(jd, lon, lat, tz float64) float64
- func MoonTopocentricBrightLimbPositionAngle(jd, observerLon, observerLat, height float64) float64
- func MoonTopocentricBrightLimbPositionAngleN(jd, observerLon, observerLat, height float64, n int) float64
- func MoonTrueBo(jd float64) float64
- func MoonTrueDec(jd float64) float64
- func MoonTrueLo(jd float64) float64
- func MoonTrueRa(jd float64) float64
- func MoonTrueRaDec(jd float64) (float64, float64)
- func MorningTwilight(jd, lon, lat, tz, targetAltitude float64) (float64, error)
- func MorningTwilightN(jd, lon, lat, tz, targetAltitude float64, n int) (float64, error)
- func NeptuneApparentBo(jd float64) float64
- func NeptuneApparentBoN(jd float64, n int) float64
- func NeptuneApparentDec(jd float64) float64
- func NeptuneApparentDecN(jd float64, n int) float64
- func NeptuneApparentLo(jd float64) float64
- func NeptuneApparentLoBo(jd float64) (float64, float64)
- func NeptuneApparentLoBoN(jd float64, n int) (float64, float64)
- func NeptuneApparentLoN(jd float64, n int) float64
- func NeptuneApparentRa(jd float64) float64
- func NeptuneApparentRaDec(jd float64) (float64, float64)
- func NeptuneApparentRaDecN(jd float64, n int) (float64, float64)
- func NeptuneApparentRaN(jd float64, n int) float64
- func NeptuneAscendingNode(jd float64) float64
- func NeptuneAscendingNodeN(jd float64, n int) float64
- func NeptuneAzimuth(jde, lon, lat, timezone float64) float64
- func NeptuneAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func NeptuneB(jd float64) float64
- func NeptuneBrightLimbPositionAngle(jd float64) float64
- func NeptuneBrightLimbPositionAngleN(jd float64, n int) float64
- func NeptuneCulminationTime(jde, lon, timezone float64) float64
- func NeptuneCulminationTimeN(jde, lon, timezone float64, n int) float64
- func NeptuneDescendingNode(jd float64) float64
- func NeptuneDescendingNodeN(jd float64, n int) float64
- func NeptuneDiameter(jd float64) float64
- func NeptuneDiameterN(jd float64, n int) float64
- func NeptuneHeight(jde, lon, lat, timezone float64) float64
- func NeptuneHeightN(jde, lon, lat, timezone float64, n int) float64
- func NeptuneHourAngle(jd, lon, timezone float64) float64
- func NeptuneHourAngleN(jd, lon, timezone float64, n int) float64
- func NeptuneIlluminatedFraction(jd float64) float64
- func NeptuneIlluminatedFractionN(jd float64, n int) float64
- func NeptuneL(jd float64) float64
- func NeptuneMag(jd float64) float64
- func NeptuneMagN(jd float64, n int) float64
- func NeptunePhaseAngle(jd float64) float64
- func NeptunePhaseAngleN(jd float64, n int) float64
- func NeptuneR(jd float64) float64
- func NeptuneRiseTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func NeptuneRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func NeptuneSemidiameter(jd float64) float64
- func NeptuneSemidiameterN(jd float64, n int) float64
- func NeptuneSetTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func NeptuneSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func NextJupiterConjunction(jde float64) float64
- func NextJupiterEasternQuadrature(jde float64) float64
- func NextJupiterOpposition(jde float64) float64
- func NextJupiterProgradeToRetrograde(jde float64) float64
- func NextJupiterRetrogradeToPrograde(jde float64) float64
- func NextJupiterWesternQuadrature(jde float64) float64
- func NextMarsConjunction(jde float64) float64
- func NextMarsEasternQuadrature(jde float64) float64
- func NextMarsOpposition(jde float64) float64
- func NextMarsProgradeToRetrograde(jde float64) float64
- func NextMarsRetrogradeToPrograde(jde float64) float64
- func NextMarsWesternQuadrature(jde float64) float64
- func NextMercuryConjunction(jde float64) float64
- func NextMercuryConjunctionStrict(jde float64) float64
- func NextMercuryGreatestElongation(jde float64) float64
- func NextMercuryGreatestElongationEast(jde float64) float64
- func NextMercuryGreatestElongationEastInclusive(jde float64) float64
- func NextMercuryGreatestElongationInclusive(jde float64) float64
- func NextMercuryGreatestElongationWest(jde float64) float64
- func NextMercuryGreatestElongationWestInclusive(jde float64) float64
- func NextMercuryInferiorConjunction(jde float64) float64
- func NextMercuryInferiorConjunctionInclusive(jde float64) float64
- func NextMercuryProgradeToRetrograde(jde float64) float64
- func NextMercuryProgradeToRetrogradeInclusive(jde float64) float64
- func NextMercuryRetrograde(jde float64) float64
- func NextMercuryRetrogradeInclusive(jde float64) float64
- func NextMercuryRetrogradeStrict(jde float64) float64
- func NextMercuryRetrogradeToPrograde(jde float64) float64
- func NextMercuryRetrogradeToProgradeInclusive(jde float64) float64
- func NextMercurySuperiorConjunction(jde float64) float64
- func NextMercurySuperiorConjunctionInclusive(jde float64) float64
- func NextMoonPlanetConjunction(jde float64, planet MoonPlanetConjunctionPlanet) float64
- func NextNeptuneConjunction(jde float64) float64
- func NextNeptuneEasternQuadrature(jde float64) float64
- func NextNeptuneOpposition(jde float64) float64
- func NextNeptuneProgradeToRetrograde(jde float64) float64
- func NextNeptuneRetrogradeToPrograde(jde float64) float64
- func NextNeptuneWesternQuadrature(jde float64) float64
- func NextSaturnConjunction(jde float64) float64
- func NextSaturnEasternQuadrature(jde float64) float64
- func NextSaturnOpposition(jde float64) float64
- func NextSaturnProgradeToRetrograde(jde float64) float64
- func NextSaturnRetrogradeToPrograde(jde float64) float64
- func NextSaturnWesternQuadrature(jde float64) float64
- func NextUranusConjunction(jde float64) float64
- func NextUranusEasternQuadrature(jde float64) float64
- func NextUranusOpposition(jde float64) float64
- func NextUranusProgradeToRetrograde(jde float64) float64
- func NextUranusRetrogradeToPrograde(jde float64) float64
- func NextUranusWesternQuadrature(jde float64) float64
- func NextVenusConjunction(jde float64) float64
- func NextVenusConjunctionStrict(jde float64) float64
- func NextVenusGreatestElongation(jde float64) float64
- func NextVenusGreatestElongationEast(jde float64) float64
- func NextVenusGreatestElongationEastInclusive(jde float64) float64
- func NextVenusGreatestElongationInclusive(jde float64) float64
- func NextVenusGreatestElongationWest(jde float64) float64
- func NextVenusGreatestElongationWestInclusive(jde float64) float64
- func NextVenusInferiorConjunction(jde float64) float64
- func NextVenusInferiorConjunctionInclusive(jde float64) float64
- func NextVenusProgradeToRetrograde(jde float64) float64
- func NextVenusProgradeToRetrogradeInclusive(jde float64) float64
- func NextVenusRetrograde(jde float64) float64
- func NextVenusRetrogradeInclusive(jde float64) float64
- func NextVenusRetrogradeToPrograde(jde float64) float64
- func NextVenusRetrogradeToProgradeInclusive(jde float64) float64
- func NextVenusSuperiorConjunction(jde float64) float64
- func NextVenusSuperiorConjunctionInclusive(jde float64) float64
- func Nutation1980(jd float64) (float64, float64)
- func Nutation1980i(jd float64) float64
- func Nutation1980s(jd float64) float64
- func Nutation2000B(jd float64) (float64, float64)
- func Nutation2000Bi(jd float64) float64
- func Nutation2000Bs(jd float64) float64
- func Obliquity1980(jd float64) float64
- func OrbitApparentGeocentricEcliptic(jd float64, elements OrbitElements) (lon, lat, distance float64)
- func OrbitApparentGeocentricEquatorial(jd float64, elements OrbitElements) (ra, dec, distance float64)
- func OrbitApparentTopocentricEquatorial(jd, observerLon, observerLat, observerHeight float64, elements OrbitElements) (ra, dec, distance float64)
- func OrbitAsteroidMagnitudeHG(jd float64, elements OrbitElements, absoluteMagnitude, slopeParameter float64) float64
- func OrbitAstrometricGeocentricEquatorialJ2000(jd float64, elements OrbitElements) (ra, dec, distance float64)
- func OrbitAzimuth(jde, observerLon, observerLat, timezone, observerHeight float64, ...) float64
- func OrbitCulminationTime(jde, observerLon, observerLat, timezone, observerHeight float64, ...) float64
- func OrbitEarthDistance(jd float64, elements OrbitElements) float64
- func OrbitEccentricAnomaly(jd float64, elements OrbitElements) float64
- func OrbitElongation(jd float64, elements OrbitElements) float64
- func OrbitGeocentricEcliptic(jd float64, elements OrbitElements) (lon, lat, distance float64)
- func OrbitGeocentricEclipticJ2000(jd float64, elements OrbitElements) (lon, lat, distance float64)
- func OrbitGeocentricEquatorial(jd float64, elements OrbitElements) (ra, dec, distance float64)
- func OrbitGeocentricEquatorialJ2000(jd float64, elements OrbitElements) (ra, dec, distance float64)
- func OrbitHeight(jde, observerLon, observerLat, timezone, observerHeight float64, ...) float64
- func OrbitHeliocentricEcliptic(jd float64, elements OrbitElements) (lon, lat, distance float64)
- func OrbitHeliocentricEclipticJ2000(jd float64, elements OrbitElements) (lon, lat, distance float64)
- func OrbitHourAngle(jde, observerLon, observerLat, timezone, observerHeight float64, ...) float64
- func OrbitIlluminatedFraction(jd float64, elements OrbitElements) float64
- func OrbitMeanAnomaly(jd float64, elements OrbitElements) float64
- func OrbitMeanMotion(elements OrbitElements) float64
- func OrbitPhaseAngle(jd float64, elements OrbitElements) float64
- func OrbitRiseTime(...) (float64, error)
- func OrbitSetTime(...) (float64, error)
- func OrbitSunDistance(jd float64, elements OrbitElements) float64
- func OrbitTrueAnomaly(jd float64, elements OrbitElements) float64
- func ParallacticAngleByHourAngle(hourAngle, dec, lat float64) float64
- func Precess(ra, dec, jdFrom, jdTo float64) (float64, float64)
- func PrecessIAU1976(ra0, dec0, startJD, targetJD float64) (float64, float64)
- func RaDecToLoBo(jde, ra, dec float64) (float64, float64)
- func RaToLo(jde, ra, dec float64) float64
- func RefractionFromApparentAltitude(apparentAltitude, pressureHPa, temperatureC float64) float64
- func RefractionFromTrueAltitude(trueAltitude, pressureHPa, temperatureC float64) float64
- func SaturnApparentBo(jd float64) float64
- func SaturnApparentBoN(jd float64, n int) float64
- func SaturnApparentDec(jd float64) float64
- func SaturnApparentDecN(jd float64, n int) float64
- func SaturnApparentLo(jd float64) float64
- func SaturnApparentLoBo(jd float64) (float64, float64)
- func SaturnApparentLoBoN(jd float64, n int) (float64, float64)
- func SaturnApparentLoN(jd float64, n int) float64
- func SaturnApparentRa(jd float64) float64
- func SaturnApparentRaDec(jd float64) (float64, float64)
- func SaturnApparentRaDecN(jd float64, n int) (float64, float64)
- func SaturnApparentRaN(jd float64, n int) float64
- func SaturnAscendingNode(jd float64) float64
- func SaturnAscendingNodeN(jd float64, n int) float64
- func SaturnAzimuth(jde, lon, lat, timezone float64) float64
- func SaturnAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func SaturnB(jd float64) float64
- func SaturnBrightLimbPositionAngle(jd float64) float64
- func SaturnBrightLimbPositionAngleN(jd float64, n int) float64
- func SaturnCulminationTime(jde, lon, timezone float64) float64
- func SaturnCulminationTimeN(jde, lon, timezone float64, n int) float64
- func SaturnDescendingNode(jd float64) float64
- func SaturnDescendingNodeN(jd float64, n int) float64
- func SaturnDiameter(jd float64) float64
- func SaturnDiameterN(jd float64, n int) float64
- func SaturnHeight(jde, lon, lat, timezone float64) float64
- func SaturnHeightN(jde, lon, lat, timezone float64, n int) float64
- func SaturnHourAngle(jd, lon, timezone float64) float64
- func SaturnHourAngleN(jd, lon, timezone float64, n int) float64
- func SaturnIlluminatedFraction(jd float64) float64
- func SaturnIlluminatedFractionN(jd float64, n int) float64
- func SaturnL(jd float64) float64
- func SaturnMag(jd float64) float64
- func SaturnMagN(jd float64, n int) float64
- func SaturnPhaseAngle(jd float64) float64
- func SaturnPhaseAngleN(jd float64, n int) float64
- func SaturnR(jd float64) float64
- func SaturnRingAxis(jd float64) (majorAxis, minorAxis float64)
- func SaturnRingAxisN(jd float64, n int) (majorAxis, minorAxis float64)
- func SaturnRingB(jd float64) float64
- func SaturnRingBN(jd float64, n int) float64
- func SaturnRingDeltaU(jd float64) float64
- func SaturnRingDeltaUN(jd float64, n int) float64
- func SaturnRingParameters(jd float64) (...)
- func SaturnRingParametersN(jd float64, n int) (...)
- func SaturnRingPositionAngle(jd float64) float64
- func SaturnRingPositionAngleN(jd float64, n int) float64
- func SaturnRingSunB(jd float64) float64
- func SaturnRingSunBN(jd float64, n int) float64
- func SaturnRiseTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func SaturnRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func SaturnSemidiameter(jd float64) float64
- func SaturnSemidiameterN(jd float64, n int) float64
- func SaturnSetTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func SaturnSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func SetDeltaTFn(fn func(float64, bool) float64)
- func StandardAltitudeMoon(zenithShift, observerHeight, lat float64) float64
- func StandardAltitudePlanet(aeroCorrection, observerHeight, lat float64) float64
- func StandardAltitudeStar(aero bool, observerHeight, lat float64) float64
- func StandardAltitudeSun(zenithShift, observerHeight, lat float64) float64
- func StarAngularSeparation(ra1, dec1, ra2, dec2 float64) float64
- func StarAzimuth(jde, ra, dec, lon, lat, timezone float64) float64
- func StarCulminationTime(jde, ra, lon, timezone float64) float64
- func StarHeight(jde, ra, dec, lon, lat, timezone float64) float64
- func StarHourAngle(jde, ra, lon, timezone float64) float64
- func StarParallacticAngle(jde, ra, dec, lon, lat, timezone float64) float64
- func StarRiseSetTime(jde, ra, dec, lon, lat, height, timezone float64, aero, isRise bool) (float64, error)
- func StarRiseTime(jde, ra, dec, lon, lat, height, timezone float64, aero bool) (float64, error)
- func StarSetTime(jde, ra, dec, lon, lat, height, timezone float64, aero bool) (float64, error)
- func SunApparentDec(jd float64) float64
- func SunApparentLo(jd float64) float64
- func SunApparentRa(jd float64) float64
- func SunApparentRaDec(jd float64) (float64, float64)
- func SunAzimuth(jd, lon, lat, tz float64) float64
- func SunAzimuthN(jd, lon, lat, tz float64, n int) float64
- func SunDiameter(jd float64) float64
- func SunDiameterN(jd float64, n int) float64
- func SunHeight(jd, lon, lat, tz float64) float64
- func SunHeightN(jd, lon, lat, tz float64, n int) float64
- func SunLo(jd float64) float64
- func SunLoGXC(jd float64) float64
- func SunLoGXCN(jd float64, n int) float64
- func SunM(jd float64) float64
- func SunMidFun(jd float64) float64
- func SunMoonAngle(jd float64) float64
- func SunMoonSeek(jde float64, degree float64) float64
- func SunSC(lo, jd float64) float64
- func SunSemidiameter(jd float64) float64
- func SunSemidiameterN(jd float64, n int) float64
- func SunTime(jd float64) float64
- func SunTimeAngle(jd, lon, lat, tz float64) float64
- func SunTimeAngleN(jd, lon, lat, tz float64, n int) float64
- func SunTimeN(jd float64, n int) float64
- func SunTrueDec(jd float64) float64
- func SunTrueLo(jd float64) float64
- func SunTrueRa(jd float64) float64
- func TD2UT(jde float64, utToTD bool) float64
- func TopocentricBo(lo, bo, lat, lon, jd, au, h float64) float64
- func TopocentricDec(ra, dec, lat, lon, jd, au, h float64) float64
- func TopocentricLo(lo, bo, lat, lon, jd, au, h float64) float64
- func TopocentricRa(ra, dec, lat, lon, jd, au, h float64) float64
- func TopocentricRaDec(ra, dec, lat, lon, jd, au, h float64) (float64, float64)
- func TrueAltitude(apparentAltitude, pressureHPa, temperatureC float64) float64
- func TrueObliquity(JD float64) float64
- func UranusApparentBo(jd float64) float64
- func UranusApparentBoN(jd float64, n int) float64
- func UranusApparentDec(jd float64) float64
- func UranusApparentDecN(jd float64, n int) float64
- func UranusApparentLo(jd float64) float64
- func UranusApparentLoBo(jd float64) (float64, float64)
- func UranusApparentLoBoN(jd float64, n int) (float64, float64)
- func UranusApparentLoN(jd float64, n int) float64
- func UranusApparentRa(jd float64) float64
- func UranusApparentRaDec(jd float64) (float64, float64)
- func UranusApparentRaDecN(jd float64, n int) (float64, float64)
- func UranusApparentRaN(jd float64, n int) float64
- func UranusAscendingNode(jd float64) float64
- func UranusAscendingNodeN(jd float64, n int) float64
- func UranusAzimuth(jde, lon, lat, timezone float64) float64
- func UranusAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func UranusB(jd float64) float64
- func UranusBrightLimbPositionAngle(jd float64) float64
- func UranusBrightLimbPositionAngleN(jd float64, n int) float64
- func UranusCulminationTime(jde, lon, timezone float64) float64
- func UranusCulminationTimeN(jde, lon, timezone float64, n int) float64
- func UranusDescendingNode(jd float64) float64
- func UranusDescendingNodeN(jd float64, n int) float64
- func UranusDiameter(jd float64) float64
- func UranusDiameterN(jd float64, n int) float64
- func UranusHeight(jde, lon, lat, timezone float64) float64
- func UranusHeightN(jde, lon, lat, timezone float64, n int) float64
- func UranusHourAngle(jd, lon, timezone float64) float64
- func UranusHourAngleN(jd, lon, timezone float64, n int) float64
- func UranusIlluminatedFraction(jd float64) float64
- func UranusIlluminatedFractionN(jd float64, n int) float64
- func UranusL(jd float64) float64
- func UranusMag(jd float64) float64
- func UranusMagN(jd float64, n int) float64
- func UranusPhaseAngle(jd float64) float64
- func UranusPhaseAngleN(jd float64, n int) float64
- func UranusR(jd float64) float64
- func UranusRiseTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func UranusRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func UranusSemidiameter(jd float64) float64
- func UranusSemidiameterN(jd float64, n int) float64
- func UranusSetTime(jd, lon, lat, timezone, aeroCorrection, observerHeight float64) (float64, error)
- func UranusSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func ValidateCivilDate(year, month int, day float64) error
- func VenusApparentBo(jd float64) float64
- func VenusApparentBoN(jd float64, n int) float64
- func VenusApparentDec(jd float64) float64
- func VenusApparentDecN(jd float64, n int) float64
- func VenusApparentLo(jd float64) float64
- func VenusApparentLoBo(jd float64) (float64, float64)
- func VenusApparentLoBoN(jd float64, n int) (float64, float64)
- func VenusApparentLoN(jd float64, n int) float64
- func VenusApparentRa(jd float64) float64
- func VenusApparentRaDec(jd float64) (float64, float64)
- func VenusApparentRaDecN(jd float64, n int) (float64, float64)
- func VenusApparentRaN(jd float64, n int) float64
- func VenusAscendingNode(jd float64) float64
- func VenusAscendingNodeN(jd float64, n int) float64
- func VenusAzimuth(jde, lon, lat, timezone float64) float64
- func VenusAzimuthN(jde, lon, lat, timezone float64, n int) float64
- func VenusB(jd float64) float64
- func VenusBrightLimbPositionAngle(jd float64) float64
- func VenusBrightLimbPositionAngleN(jd float64, n int) float64
- func VenusCulminationTime(jde, lon, timezone float64) float64
- func VenusCulminationTimeN(jde, lon, timezone float64, n int) float64
- func VenusDescendingNode(jd float64) float64
- func VenusDescendingNodeN(jd float64, n int) float64
- func VenusDiameter(jd float64) float64
- func VenusDiameterN(jd float64, n int) float64
- func VenusHeight(jde, lon, lat, timezone float64) float64
- func VenusHeightN(jde, lon, lat, timezone float64, n int) float64
- func VenusHourAngle(jd, lon, tz float64) float64
- func VenusHourAngleN(jd, lon, timezone float64, n int) float64
- func VenusIlluminatedFraction(jd float64) float64
- func VenusIlluminatedFractionN(jd float64, n int) float64
- func VenusL(jd float64) float64
- func VenusMag(jd float64) float64
- func VenusMagN(jd float64, n int) float64
- func VenusPhaseAngle(jd float64) float64
- func VenusPhaseAngleN(jd float64, n int) float64
- func VenusR(jd float64) float64
- func VenusRiseTime(jd, lon, lat, tz, aeroCorrection, observerHeight float64) (float64, error)
- func VenusRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func VenusSemidiameter(jd float64) float64
- func VenusSemidiameterN(jd float64, n int) float64
- func VenusSetTime(jd, lon, lat, tz, aeroCorrection, observerHeight float64) (float64, error)
- func VenusSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
- func VenusSunElongation(jde float64) float64
- type ApsisEvent
- type CoordinateFrame
- type DeclinationEvent
- func ClosestMoonMaximumNorthDeclination(jd float64) DeclinationEvent
- func ClosestMoonMaximumSouthDeclination(jd float64) DeclinationEvent
- func LastMoonMaximumNorthDeclination(jd float64) DeclinationEvent
- func LastMoonMaximumSouthDeclination(jd float64) DeclinationEvent
- func MoonMaximumNorthDeclinations(year int, month time.Month) []DeclinationEvent
- func MoonMaximumSouthDeclinations(year int, month time.Month) []DeclinationEvent
- func NextMoonMaximumNorthDeclination(jd float64) DeclinationEvent
- func NextMoonMaximumSouthDeclination(jd float64) DeclinationEvent
- type Equatorial
- type InnerStarData
- type JupiterCentralMeridianInfo
- type JupiterGalileanObservation
- type JupiterGalileanPhenomenon
- type JupiterGalileanPhenomenonContact
- type JupiterGalileanPhenomenonContactEvent
- func ClosestJupiterGalileanPhenomenonContactEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonContactEvent
- func LastJupiterGalileanPhenomenonContactEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonContactEvent
- func NextJupiterGalileanPhenomenonContactEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonContactEvent
- type JupiterGalileanPhenomenonContactPhase
- type JupiterGalileanPhenomenonEvent
- func ClosestJupiterGalileanPhenomenonEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonEvent
- func LastJupiterGalileanPhenomenonEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonEvent
- func NextJupiterGalileanPhenomenonEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonEvent
- type JupiterGalileanPhenomenonType
- type JupiterGalileanState
- type LocalSolarEclipseDiagramFrame
- type LocalSolarEclipseDiagramOptions
- type LocalSolarEclipseDiagramResult
- func LocalSolarEclipseDiagram(seedJDE, lon, lat, height float64, options LocalSolarEclipseDiagramOptions) LocalSolarEclipseDiagramResult
- func LocalSolarEclipseDiagramIAUSingleK(seedJDE, lon, lat, height float64, options LocalSolarEclipseDiagramOptions) LocalSolarEclipseDiagramResult
- func LocalSolarEclipseDiagramNASABulletinSplitK(seedJDE, lon, lat, height float64, options LocalSolarEclipseDiagramOptions) LocalSolarEclipseDiagramResult
- type LocalSolarEclipseResult
- type LunarEclipseDiagramOptions
- type LunarEclipseDiagramPoint
- type LunarEclipseDiagramResult
- func LunarEclipseDiagram(seedJDE float64, options LunarEclipseDiagramOptions) LunarEclipseDiagramResult
- func LunarEclipseDiagramChauvenet(seedJDE float64, options LunarEclipseDiagramOptions) LunarEclipseDiagramResult
- func LunarEclipseDiagramDanjon(seedJDE float64, options LunarEclipseDiagramOptions) LunarEclipseDiagramResult
- type LunarEclipseResult
- type LunarEclipseType
- type Matrix3
- type MoonPhysicalInfo
- type MoonPlanetConjunctionPlanet
- type Observer
- type OccultationPathOptions
- type OccultationPathPoint
- type OccultationPlanet
- type OccultationSearchOptions
- type OccultationType
- type OrbitElements
- type PlanetOccultationDiagramFrame
- type PlanetOccultationDiagramOptions
- type PlanetOccultationDiagramResult
- type PlanetOccultationFootprint
- type PlanetOccultationInfo
- type PlanetOccultationPath
- type PlanetPhysicalInfo
- func JupiterPhysical(jd float64) PlanetPhysicalInfo
- func JupiterPhysicalN(jd float64, n int) PlanetPhysicalInfo
- func MarsPhysical(jd float64) PlanetPhysicalInfo
- func MarsPhysicalN(jd float64, n int) PlanetPhysicalInfo
- func MercuryPhysical(jd float64) PlanetPhysicalInfo
- func MercuryPhysicalN(jd float64, n int) PlanetPhysicalInfo
- func NeptunePhysical(jd float64) PlanetPhysicalInfo
- func NeptunePhysicalN(jd float64, n int) PlanetPhysicalInfo
- func SaturnPhysical(jd float64) PlanetPhysicalInfo
- func SaturnPhysicalN(jd float64, n int) PlanetPhysicalInfo
- func UranusPhysical(jd float64) PlanetPhysicalInfo
- func UranusPhysicalN(jd float64, n int) PlanetPhysicalInfo
- func VenusPhysical(jd float64) PlanetPhysicalInfo
- func VenusPhysicalN(jd float64, n int) PlanetPhysicalInfo
- type PlanetTransitResult
- func ClosestMercuryTransit(jde float64) PlanetTransitResult
- func ClosestVenusTransit(jde float64) PlanetTransitResult
- func LastMercuryTransit(jde float64) PlanetTransitResult
- func LastVenusTransit(jde float64) PlanetTransitResult
- func NextMercuryTransit(jde float64) PlanetTransitResult
- func NextVenusTransit(jde float64) PlanetTransitResult
- type SolarEclipseCentrality
- type SolarEclipsePartialAreaOptions
- type SolarEclipsePartialAreaResult
- func SolarEclipsePartialArea(seedJDE float64, options SolarEclipsePartialAreaOptions) SolarEclipsePartialAreaResult
- func SolarEclipsePartialAreaIAUSingleK(seedJDE float64, options SolarEclipsePartialAreaOptions) SolarEclipsePartialAreaResult
- func SolarEclipsePartialAreaNASABulletinSplitK(seedJDE float64, options SolarEclipsePartialAreaOptions) SolarEclipsePartialAreaResult
- type SolarEclipsePartialFootprint
- type SolarEclipsePartialFootprintOptions
- type SolarEclipsePartialFootprintsResult
- func SolarEclipsePartialFootprints(seedJDE float64, options SolarEclipsePartialFootprintOptions) SolarEclipsePartialFootprintsResult
- func SolarEclipsePartialFootprintsIAUSingleK(seedJDE float64, options SolarEclipsePartialFootprintOptions) SolarEclipsePartialFootprintsResult
- func SolarEclipsePartialFootprintsNASABulletinSplitK(seedJDE float64, options SolarEclipsePartialFootprintOptions) SolarEclipsePartialFootprintsResult
- type SolarEclipsePathOptions
- type SolarEclipsePathPoint
- type SolarEclipsePathResult
- func SolarEclipseCentralPath(seedJDE float64, options SolarEclipsePathOptions) SolarEclipsePathResult
- func SolarEclipseCentralPathIAUSingleK(seedJDE float64, options SolarEclipsePathOptions) SolarEclipsePathResult
- func SolarEclipseCentralPathNASABulletinSplitK(seedJDE float64, options SolarEclipsePathOptions) SolarEclipsePathResult
- type SolarEclipseRadiusModel
- type SolarEclipseResult
- type SolarEclipseType
- type StarCoordinate
- type StarData
- type StarOccultationDiagramFrame
- type StarOccultationDiagramOptions
- type StarOccultationDiagramResult
- type StarOccultationInfo
- type StarOccultationPath
- type SunPhysicalInfo
- type Vector3
- func OrbitAstrometricGeocentricXYZJ2000(jd float64, elements OrbitElements) Vector3
- func OrbitGeocentricXYZ(jd float64, elements OrbitElements) Vector3
- func OrbitGeocentricXYZJ2000(jd float64, elements OrbitElements) Vector3
- func OrbitHeliocentricXYZ(jd float64, elements OrbitElements) Vector3
- func OrbitHeliocentricXYZJ2000(jd float64, elements OrbitElements) Vector3
Constants ¶
const ( EARTH_EQUATORIAL_RADIUS float64 = 6378137.0 EARTH_POLAR_RADIUS float64 = 6356752.3 EARTH_AVERAGE_RADIUS float64 = 6371393.0 )
const ( AS2R = 4.848136811095359935899141e-6 // 角秒到弧度的转换因子 D2PI = 6.283185307179586476925287 // 2π EPS0 = 84381.406 * AS2R // J2000.0历元的黄赤交角(弧度) )
常量定义
const (
JUPITER_S_PERIOD = 1 / ((1 / 365.256363004) - (1 / 4332.59))
)
const (
MARS_S_PERIOD = 1 / ((1 / 365.256363004) - (1 / 686.98))
)
const (
MERCURY_S_PERIOD = 1 / ((1 / 87.9691) - (1 / 365.256363004))
)
const (
NEPTUNE_S_PERIOD = 1 / ((1 / 365.256363004) - (1 / 60190.03))
)
const (
SATURN_S_PERIOD = 1 / ((1 / 365.256363004) - (1 / 10759.0))
)
const (
URANUS_S_PERIOD = 1 / ((1 / 365.256363004) - (1 / 30799.095))
)
const (
VENUS_S_PERIOD = 1 / ((1 / 224.701) - (1 / 365.256363004))
)
Variables ¶
var ( ErrNeverRise = errors.New("rise event does not occur on this date") ErrNeverSet = errors.New("set event does not occur on this date") ErrNotOnThisDate = errors.New("rise/set event occurs on adjacent date") ErrInvalidObservationInput = errors.New("invalid observation input") )
var ErrInvalidCivilDate = errors.New("invalid civil date")
var ErrInvalidOccultationInput = errors.New("invalid lunar occultation input")
ErrInvalidOccultationInput 表示月掩输入契约无效。 ErrInvalidOccultationInput reports invalid lunar-occultation contract input.
var ErrOccultationPathSamplingLimit = errors.New("lunar occultation path sampling limit exceeded")
ErrOccultationPathSamplingLimit 表示请求的时间步长、中心线间距或有限盘面采样超过确定性的工作量或输出预算。 ErrOccultationPathSamplingLimit reports that the requested time step, center-line spacing, or aggregate finite-disk sampling would exceed the implementation's deterministic work or output budget.
Functions ¶
func ApparentAltitude ¶
ApparentAltitude 视高度角,单位度;输入为真高度角。
func ApparentSiderealTime ¶
ApparentSiderealTime 视恒星时,计算章动
func ApparentSiderealTime1982 ¶
ApparentSiderealTime1982 视恒星时,计算章动
func ApparentSiderealTime2006 ¶
ApparentSiderealTime2006 视恒星时,计算章动
func CalcMoonSH ¶
func CalcMoonSHByJDE ¶
func CalcMoonXH ¶
func CalcMoonXHByJDE ¶
func ClosestMoonPlanetConjunction ¶ added in v0.1.4
func ClosestMoonPlanetConjunction(jde float64, planet MoonPlanetConjunctionPlanet) float64
ClosestMoonPlanetConjunction 离指定时刻最近一次行星合月(赤经合) / closest Moon-planet conjunction to jde.
func ConstellationCode ¶
ConstellationCode returns the IAU constellation code / 返回 IAU 星座代码。
func ConstellationNameByCodeEN ¶
ConstellationNameByCodeEN returns the English name for a code / 返回星座代码对应的英文名。
func ConstellationNameByCodeZH ¶
ConstellationNameByCodeZH returns the Chinese name for a code / 返回星座代码对应的中文名。
func ConstellationNameEN ¶
ConstellationNameEN returns the English constellation name / 返回英文星座名。
func ConstellationNameZH ¶
func CulminationTimeN ¶
func DefaultDeltaTv2 ¶
func DeltaTSplineY ¶
使用Stephenson等人(2016)和Morrison等人(2021)的拟合和外推公式计算Delta T http://astro.ukho.gov.uk/nao/lvm/ 2010年后的系数已修改以包含2019年后的数据 返回Delta T,单位为秒
func EarthAwayN ¶
func EarthJupiterAway ¶
func EarthJupiterAwayN ¶
EarthJupiterAwayN 地木距离(截断版) / truncated Earth-Jupiter distance.
func EarthMarsAway ¶
func EarthMarsAwayN ¶
EarthMarsAwayN 地火距离(截断版) / truncated Earth-Mars distance.
func EarthMercuryAway ¶
func EarthMercuryAwayN ¶
EarthMercuryAwayN 地水距离(截断版) / truncated Earth-Mercury distance.
func EarthNeptuneAway ¶
func EarthNeptuneAwayN ¶
EarthNeptuneAwayN 地海距离(截断版) / truncated Earth-Neptune distance.
func EarthRotationAngle ¶
EarthRotationAngle 计算地球自转角 (ERA) jd_ut1: UT1 时间的儒略日 返回值: 地球自转角 (弧度)
func EarthSaturnAway ¶
func EarthSaturnAwayN ¶
EarthSaturnAwayN 地土距离(截断版) / truncated Earth-Saturn distance.
func EarthUranusAway ¶
func EarthUranusAwayN ¶
EarthUranusAwayN 地天距离(截断版) / truncated Earth-Uranus distance.
func EarthVenusAway ¶
func EarthVenusAwayN ¶
EarthVenusAwayN 地金距离(截断版) / truncated Earth-Venus distance.
func EclipticObliquity ¶
黄赤交角、nutation==true时,计算交角章动
func EveningTwilight ¶
* 昏朦影传入 当天0时时刻
func EveningTwilightN ¶
func GetDeltaTFn ¶
func GetJieqiLoops ¶
func GetMoonCir ¶
func GetMoonCir() [][][]float64
GetMoonCir 返回月球级数系数的独立副本。 月球计算直接读取包内的大型不可变数据,避免重复构建这组大型不可变数据。 GetMoonCir returns an independent copy of the lunar-series coefficients. Moon calculations read the package-owned table directly so repeated calls do not rebuild this large immutable data set.
func GetMoonLoops ¶
func GetMoonRiseTime ¶
func GetMoonSetTime ¶
func GetShiErCi ¶
GetShiErCi 十二次 / twelve divisions of the ecliptic in traditional Chinese astronomy.
func GetSunRiseTime ¶
func GetSunRiseTime(julianDay, longitude, latitude, timeZone, zenithShift, height float64) (float64, error)
GetSunRiseTime 精确计算日出时间,传入当日0时JDE
func GetSunRiseTimeN ¶
func GetSunSetTime ¶
func GetSunSetTime(julianDay, longitude, latitude, timeZone, zenithShift, height float64) (float64, error)
GetSunSetTime 精确计算日落时间,传入当日0时JDE
func GetSunSetTimeN ¶
func GetWuHouTime ¶
GetWuHouTime 七十二候时刻 / time of a pentad marker in traditional Chinese calendrics.
func HMoonApparentDec ¶
func HMoonApparentDecN ¶
func HMoonApparentLoN ¶
func HMoonApparentRa ¶
func HMoonApparentRaDec ¶
* * 传入世界时
func HMoonApparentRaDecN ¶
func HMoonApparentRaN ¶
func HMoonAwayN ¶
func HMoonAzimuth ¶
func HMoonAzimuthN ¶
func HMoonGeocentricApparentDec ¶ added in v0.1.4
HMoonGeocentricApparentDec 月亮地心视赤纬 / apparent geocentric declination of the Moon.
func HMoonGeocentricApparentDecN ¶ added in v0.1.4
HMoonGeocentricApparentDecN 月亮地心视赤纬(截断版) / truncated apparent geocentric declination of the Moon.
func HMoonGeocentricApparentRa ¶ added in v0.1.4
HMoonGeocentricApparentRa 月亮地心视赤经 / apparent geocentric right ascension of the Moon.
func HMoonGeocentricApparentRaDec ¶ added in v0.1.4
HMoonGeocentricApparentRaDec 月亮地心视赤经、视赤纬 / apparent geocentric right ascension and declination of the Moon.
func HMoonGeocentricApparentRaDecN ¶ added in v0.1.4
HMoonGeocentricApparentRaDecN 月亮地心视赤经、视赤纬(截断版) / truncated apparent geocentric right ascension and declination of the Moon.
func HMoonGeocentricApparentRaN ¶ added in v0.1.4
HMoonGeocentricApparentRaN 月亮地心视赤经(截断版) / truncated apparent geocentric right ascension of the Moon.
func HMoonGeocentricTrueDec ¶ added in v0.1.4
HMoonGeocentricTrueDec 月亮地心真赤纬 / true geocentric declination of the Moon.
func HMoonGeocentricTrueDecN ¶ added in v0.1.4
HMoonGeocentricTrueDecN 月亮地心真赤纬(截断版) / truncated true geocentric declination of the Moon.
func HMoonGeocentricTrueRa ¶ added in v0.1.4
HMoonGeocentricTrueRa 月亮地心真赤经 / true geocentric right ascension of the Moon.
func HMoonGeocentricTrueRaDec ¶ added in v0.1.4
HMoonGeocentricTrueRaDec 月亮地心真赤经、真赤纬 / true geocentric right ascension and declination of the Moon.
func HMoonGeocentricTrueRaDecN ¶ added in v0.1.4
HMoonGeocentricTrueRaDecN 月亮地心真赤经、真赤纬(截断版) / truncated true geocentric right ascension and declination of the Moon.
func HMoonGeocentricTrueRaN ¶ added in v0.1.4
HMoonGeocentricTrueRaN 月亮地心真赤经(截断版) / truncated true geocentric right ascension of the Moon.
func HMoonHeight ¶
func HMoonHeightN ¶
func HMoonTrueBo ¶
func HMoonTrueBoN ¶
func HMoonTrueDecN ¶
func HMoonTrueLo ¶
func HMoonTrueLoN ¶
func HMoonTrueRaDec ¶
func HMoonTrueRaN ¶
func HSunApparentDec ¶
func HSunApparentDecN ¶
func HSunApparentLo ¶
func HSunApparentLoN ¶
func HSunApparentRa ¶
func HSunApparentRaDec ¶
func HSunApparentRaN ¶
func HSunTrueBo ¶
func HSunTrueBoN ¶
HSunTrueBoN 高精度太阳真黄纬,n<0 时取全量 VSOP 项。
func HSunTrueDec ¶
func HSunTrueDecN ¶
func HSunTrueLoN ¶
HSunTrueLoN 高精度太阳真黄经,n<0 时取全量 VSOP 项。
func HSunTrueRa ¶
func HSunTrueRaN ¶
func HeightDegree ¶
HeightDistance 高度(单位:米)与地平线下角度的关系(单位:度)
func HeightDegreeByLat ¶
HeightDegreeByLat 不同纬度下高度(单位:米)与地平线下角度的关系(单位:度)
func HeightDistanceByLat ¶
HeightDistanceByLat 不同纬度下高度与地平线距离的关系(单位:米)
func JDE2DateByZone ¶
JDE2DateByZone JDE(儒略日)转日期 jd: 儒略日 tz: 目标时区 byZone: (true: 传入的儒略日视为目标时区当地时间的儒略日,false: 传入的儒略日视为UTC时间的儒略日) 回参:转换后的日期,时区始终为目标时区
func JDECalc ¶
@name: 儒略日计算 @dec: 计算给定时间的儒略日,1582年改力后为格里高利历,之前为儒略历 @ 请注意,传入的时间在天文计算中一般为力学时,应当注意和世界时的转化
func JupiterApparentBo ¶
func JupiterApparentBoN ¶
JupiterApparentBoN 木星视黄纬(截断版) / truncated apparent ecliptic latitude of Jupiter.
func JupiterApparentDec ¶
func JupiterApparentDecN ¶
JupiterApparentDecN 木星视赤纬(截断版) / truncated apparent declination of Jupiter.
func JupiterApparentLo ¶
func JupiterApparentLoBo ¶
func JupiterApparentLoBoN ¶
JupiterApparentLoBoN 木星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Jupiter.
func JupiterApparentLoN ¶
JupiterApparentLoN 木星视黄经(截断版) / truncated apparent ecliptic longitude of Jupiter.
func JupiterApparentRa ¶
func JupiterApparentRaDec ¶
func JupiterApparentRaDecN ¶
JupiterApparentRaDecN 木星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Jupiter.
func JupiterApparentRaN ¶
JupiterApparentRaN 木星视赤经(截断版) / truncated apparent right ascension of Jupiter.
func JupiterAscendingNode ¶
JupiterAscendingNode 木星升交点黄经 / ascending node longitude of Jupiter.
func JupiterAscendingNodeN ¶
JupiterAscendingNodeN 木星升交点黄经(截断版) / truncated ascending node longitude of Jupiter.
func JupiterAzimuth ¶
func JupiterAzimuthN ¶
JupiterAzimuthN 木星方位角(截断版) / truncated azimuth of Jupiter.
func JupiterBrightLimbPositionAngle ¶
JupiterBrightLimbPositionAngle 木星亮面中心位置角 / position angle of Jupiter bright limb.
func JupiterBrightLimbPositionAngleN ¶
JupiterBrightLimbPositionAngleN 木星亮面中心位置角(截断版) / truncated position angle of Jupiter bright limb.
func JupiterCulminationTime ¶
func JupiterCulminationTimeN ¶
JupiterCulminationTimeN 木星中天时间(截断版) / truncated culmination time of Jupiter.
func JupiterDSDE ¶
JupiterDSDE 木星 DS/DE 行星中心赤纬 / Jupiter planetocentric declinations of Sun and Earth.
func JupiterDSDEN ¶
JupiterDSDEN 木星 DS/DE 行星中心赤纬(截断版) / truncated Jupiter planetocentric declinations of Sun and Earth.
func JupiterDescendingNode ¶
JupiterDescendingNode 木星降交点黄经 / descending node longitude of Jupiter.
func JupiterDescendingNodeN ¶
JupiterDescendingNodeN 木星降交点黄经(截断版) / truncated descending node longitude of Jupiter.
func JupiterDiameter ¶
JupiterDiameter 木星视直径,单位角秒 / apparent Jupiter diameter in arcseconds.
func JupiterDiameterN ¶
JupiterDiameterN 木星视直径(截断版),单位角秒 / truncated apparent Jupiter diameter in arcseconds.
func JupiterHeight ¶
func JupiterHeightN ¶
JupiterHeightN 木星高度角(截断版) / truncated altitude of Jupiter.
func JupiterHourAngle ¶
func JupiterHourAngleN ¶
JupiterHourAngleN 木星时角(截断版) / truncated hour angle of Jupiter.
func JupiterIlluminatedFraction ¶
JupiterIlluminatedFraction 木星被照亮比例 / illuminated fraction of Jupiter.
func JupiterIlluminatedFractionN ¶
JupiterIlluminatedFractionN 木星被照亮比例(截断版) / truncated illuminated fraction of Jupiter.
func JupiterMag ¶
func JupiterMagN ¶
JupiterMagN 木星视星等(截断版) / truncated apparent magnitude of Jupiter.
func JupiterPhaseAngle ¶
JupiterPhaseAngle 木星相位角 / phase angle of Jupiter.
func JupiterPhaseAngleN ¶
JupiterPhaseAngleN 木星相位角(截断版) / truncated phase angle of Jupiter.
func JupiterRiseTime ¶
func JupiterRiseTimeN ¶
func JupiterRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
JupiterRiseTimeN 木星升起时间(截断版) / truncated rise time of Jupiter.
func JupiterSemidiameter ¶
JupiterSemidiameter 木星视半径,单位角秒 / apparent Jupiter semidiameter in arcseconds.
func JupiterSemidiameterN ¶
JupiterSemidiameterN 木星视半径(截断版),单位角秒 / truncated apparent Jupiter semidiameter in arcseconds.
func JupiterSetTime ¶
func JupiterSetTimeN ¶
func JupiterSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
JupiterSetTimeN 木星落下时间(截断版) / truncated set time of Jupiter.
func LastJupiterConjunction ¶
func LastJupiterOpposition ¶
func LastMarsConjunction ¶
func LastMarsOpposition ¶
func LastMercuryConjunction ¶
func LastMercuryConjunctionStrict ¶ added in v0.1.3
func LastMercuryGreatestElongationEastInclusive ¶ added in v0.1.3
func LastMercuryGreatestElongationInclusive ¶ added in v0.1.3
func LastMercuryGreatestElongationWestInclusive ¶ added in v0.1.3
func LastMercuryInferiorConjunctionInclusive ¶ added in v0.1.3
func LastMercuryProgradeToRetrogradeInclusive ¶ added in v0.1.3
func LastMercuryRetrograde ¶
func LastMercuryRetrogradeInclusive ¶ added in v0.1.3
func LastMercuryRetrogradeStrict ¶ added in v0.1.3
func LastMercuryRetrogradeToProgradeInclusive ¶ added in v0.1.3
func LastMercurySuperiorConjunctionInclusive ¶ added in v0.1.3
func LastMoonPlanetConjunction ¶ added in v0.1.4
func LastMoonPlanetConjunction(jde float64, planet MoonPlanetConjunctionPlanet) float64
LastMoonPlanetConjunction 指定时刻之前最近一次行星合月(赤经合) / previous Moon-planet conjunction at or before jde.
func LastNeptuneConjunction ¶
func LastNeptuneOpposition ¶
func LastSaturnConjunction ¶
func LastSaturnOpposition ¶
func LastUranusConjunction ¶
func LastUranusOpposition ¶
func LastVenusConjunction ¶
func LastVenusConjunctionStrict ¶ added in v0.1.3
func LastVenusGreatestElongationEastInclusive ¶ added in v0.1.3
func LastVenusGreatestElongationInclusive ¶ added in v0.1.3
func LastVenusGreatestElongationWestInclusive ¶ added in v0.1.3
func LastVenusInferiorConjunctionInclusive ¶ added in v0.1.3
func LastVenusProgradeToRetrogradeInclusive ¶ added in v0.1.3
func LastVenusRetrograde ¶
func LastVenusRetrogradeInclusive ¶ added in v0.1.3
func LastVenusRetrogradeToProgradeInclusive ¶ added in v0.1.3
func LastVenusSuperiorConjunctionInclusive ¶ added in v0.1.3
func LoBoToRaDec ¶
func LoadStarData ¶
func LoadStarData() error
func LowSunHeight ¶
func MarsApparentBo ¶
func MarsApparentBoN ¶
MarsApparentBoN 火星视黄纬(截断版) / truncated apparent ecliptic latitude of Mars.
func MarsApparentDec ¶
func MarsApparentDecN ¶
MarsApparentDecN 火星视赤纬(截断版) / truncated apparent declination of Mars.
func MarsApparentLo ¶
func MarsApparentLoBo ¶
func MarsApparentLoBoN ¶
MarsApparentLoBoN 火星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Mars.
func MarsApparentLoN ¶
MarsApparentLoN 火星视黄经(截断版) / truncated apparent ecliptic longitude of Mars.
func MarsApparentRa ¶
func MarsApparentRaDec ¶
func MarsApparentRaDecN ¶
MarsApparentRaDecN 火星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Mars.
func MarsApparentRaN ¶
MarsApparentRaN 火星视赤经(截断版) / truncated apparent right ascension of Mars.
func MarsAscendingNode ¶
MarsAscendingNode 火星升交点黄经 / ascending node longitude of Mars.
func MarsAscendingNodeN ¶
MarsAscendingNodeN 火星升交点黄经(截断版) / truncated ascending node longitude of Mars.
func MarsAzimuth ¶
func MarsAzimuthN ¶
MarsAzimuthN 火星方位角(截断版) / truncated azimuth of Mars.
func MarsBrightLimbPositionAngle ¶
MarsBrightLimbPositionAngle 火星亮面中心位置角 / position angle of Mars bright limb.
func MarsBrightLimbPositionAngleN ¶
MarsBrightLimbPositionAngleN 火星亮面中心位置角(截断版) / truncated position angle of Mars bright limb.
func MarsCulminationTime ¶
func MarsCulminationTimeN ¶
MarsCulminationTimeN 火星中天时间(截断版) / truncated culmination time of Mars.
func MarsDescendingNode ¶
MarsDescendingNode 火星降交点黄经 / descending node longitude of Mars.
func MarsDescendingNodeN ¶
MarsDescendingNodeN 火星降交点黄经(截断版) / truncated descending node longitude of Mars.
func MarsDiameter ¶
MarsDiameter 火星视直径,单位角秒 / apparent Mars diameter in arcseconds.
func MarsDiameterN ¶
MarsDiameterN 火星视直径(截断版),单位角秒 / truncated apparent Mars diameter in arcseconds.
func MarsHeight ¶
func MarsHeightN ¶
MarsHeightN 火星高度角(截断版) / truncated altitude of Mars.
func MarsHourAngle ¶
func MarsHourAngleN ¶
MarsHourAngleN 火星时角(截断版) / truncated hour angle of Mars.
func MarsIlluminatedFraction ¶
MarsIlluminatedFraction 火星被照亮比例 / illuminated fraction of Mars.
func MarsIlluminatedFractionN ¶
MarsIlluminatedFractionN 火星被照亮比例(截断版) / truncated illuminated fraction of Mars.
func MarsPhaseAngle ¶
MarsPhaseAngle 火星相位角 / phase angle of Mars.
func MarsPhaseAngleN ¶
MarsPhaseAngleN 火星相位角(截断版) / truncated phase angle of Mars.
func MarsRiseTime ¶
func MarsRiseTimeN ¶
func MarsRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
MarsRiseTimeN 火星升起时间(截断版) / truncated rise time of Mars.
func MarsSemidiameter ¶
MarsSemidiameter 火星视半径,单位角秒 / apparent Mars semidiameter in arcseconds.
func MarsSemidiameterN ¶
MarsSemidiameterN 火星视半径(截断版),单位角秒 / truncated apparent Mars semidiameter in arcseconds.
func MarsSetTime ¶
func MarsSetTimeN ¶
func MarsSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
MarsSetTimeN 火星落下时间(截断版) / truncated set time of Mars.
func MarsTrueLo ¶
func MarsTrueLoBo ¶
func MeanSiderealTime1982 ¶
MeanSiderealTime1982 不含章动下的恒星时
func MeanSiderealTime2006 ¶
MeanSiderealTime2006 计算格林尼治平恒星时 (GMST) jd_ut1: UT1 时间的儒略日 jd_tt: TT 时间的儒略日 返回值: 格林尼治平恒星时 (弧度)
func MercuryApparentBo ¶
func MercuryApparentBoN ¶
MercuryApparentBoN 水星视黄纬(截断版) / truncated apparent ecliptic latitude of Mercury.
func MercuryApparentDec ¶
func MercuryApparentDecN ¶
MercuryApparentDecN 水星视赤纬(截断版) / truncated apparent declination of Mercury.
func MercuryApparentLo ¶
func MercuryApparentLoBo ¶
func MercuryApparentLoBoN ¶
MercuryApparentLoBoN 水星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Mercury.
func MercuryApparentLoN ¶
MercuryApparentLoN 水星视黄经(截断版) / truncated apparent ecliptic longitude of Mercury.
func MercuryApparentRa ¶
func MercuryApparentRaDec ¶
func MercuryApparentRaDecN ¶
MercuryApparentRaDecN 水星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Mercury.
func MercuryApparentRaN ¶
MercuryApparentRaN 水星视赤经(截断版) / truncated apparent right ascension of Mercury.
func MercuryAscendingNode ¶
MercuryAscendingNode 水星升交点黄经 / ascending node longitude of Mercury.
func MercuryAscendingNodeN ¶
MercuryAscendingNodeN 水星升交点黄经(截断版) / truncated ascending node longitude of Mercury.
func MercuryAzimuth ¶
func MercuryAzimuthN ¶
MercuryAzimuthN 水星方位角(截断版) / truncated azimuth of Mercury.
func MercuryBrightLimbPositionAngle ¶
MercuryBrightLimbPositionAngle 水星亮面中心位置角 / position angle of Mercury bright limb.
func MercuryBrightLimbPositionAngleN ¶
MercuryBrightLimbPositionAngleN 水星亮面中心位置角(截断版) / truncated position angle of Mercury bright limb.
func MercuryCulminationTime ¶
func MercuryCulminationTimeN ¶
MercuryCulminationTimeN 水星中天时间(截断版) / truncated culmination time of Mercury.
func MercuryDescendingNode ¶
MercuryDescendingNode 水星降交点黄经 / descending node longitude of Mercury.
func MercuryDescendingNodeN ¶
MercuryDescendingNodeN 水星降交点黄经(截断版) / truncated descending node longitude of Mercury.
func MercuryDiameter ¶
MercuryDiameter 水星视直径,单位角秒 / apparent Mercury diameter in arcseconds.
func MercuryDiameterN ¶
MercuryDiameterN 水星视直径(截断版),单位角秒 / truncated apparent Mercury diameter in arcseconds.
func MercuryHeight ¶
func MercuryHeightN ¶
MercuryHeightN 水星高度角(截断版) / truncated altitude of Mercury.
func MercuryHourAngle ¶
func MercuryHourAngleN ¶
MercuryHourAngleN 水星时角(截断版) / truncated hour angle of Mercury.
func MercuryIlluminatedFraction ¶
MercuryIlluminatedFraction 水星被照亮比例 / illuminated fraction of Mercury.
func MercuryIlluminatedFractionN ¶
MercuryIlluminatedFractionN 水星被照亮比例(截断版) / truncated illuminated fraction of Mercury.
func MercuryMag ¶
func MercuryMagN ¶
MercuryMagN 水星视星等(截断版) / truncated apparent magnitude of Mercury.
func MercuryPhaseAngle ¶
MercuryPhaseAngle 水星相位角 / phase angle of Mercury.
func MercuryPhaseAngleN ¶
MercuryPhaseAngleN 水星相位角(截断版) / truncated phase angle of Mercury.
func MercuryRiseTime ¶
func MercuryRiseTimeN ¶
func MercuryRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
MercuryRiseTimeN 水星升起时间(截断版) / truncated rise time of Mercury.
func MercurySemidiameter ¶
MercurySemidiameter 水星视半径,单位角秒 / apparent Mercury semidiameter in arcseconds.
func MercurySemidiameterN ¶
MercurySemidiameterN 水星视半径(截断版),单位角秒 / truncated apparent Mercury semidiameter in arcseconds.
func MercurySetTime ¶
func MercurySetTimeN ¶
func MercurySetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
MercurySetTimeN 水星落下时间(截断版) / truncated set time of Mercury.
func MercurySunElongation ¶
func MoonApparentDec ¶
func MoonAscendingNode ¶
MoonAscendingNode 月球升交点黄经 / ascending node longitude of the Moon.
func MoonAscendingNodeN ¶
MoonAscendingNodeN 月球升交点黄经(截断版) / truncated ascending node longitude of the Moon.
func MoonBrightLimbPositionAngle ¶
MoonBrightLimbPositionAngle 月亮明亮边缘位置角 / position angle of the Moon's bright limb.
func MoonBrightLimbPositionAngleN ¶
MoonBrightLimbPositionAngleN 月亮明亮边缘位置角(截断版) / truncated position angle of the Moon's bright limb.
func MoonCalcNew ¶
func MoonCulminationTime ¶
func MoonDescendingNode ¶
MoonDescendingNode 月球降交点黄经 / descending node longitude of the Moon.
func MoonDescendingNodeN ¶
MoonDescendingNodeN 月球降交点黄经(截断版) / truncated descending node longitude of the Moon.
func MoonDiameter ¶
MoonDiameter 月亮视直径,单位角秒 / apparent lunar diameter in arcseconds.
func MoonDiameterN ¶
MoonDiameterN 月亮视直径(截断版),单位角秒 / truncated apparent lunar diameter in arcseconds.
func MoonHeight ¶
func MoonSemidiameter ¶
MoonSemidiameter 月亮视半径,单位角秒 / apparent lunar semidiameter in arcseconds.
func MoonSemidiameterN ¶
MoonSemidiameterN 月亮视半径(截断版),单位角秒 / truncated apparent lunar semidiameter in arcseconds.
func MoonTimeAngle ¶
func MoonTopocentricBrightLimbPositionAngle ¶
MoonTopocentricBrightLimbPositionAngle 月亮站心明亮边缘位置角 / topocentric position angle of the Moon's bright limb.
func MoonTopocentricBrightLimbPositionAngleN ¶
func MoonTopocentricBrightLimbPositionAngleN(jd, observerLon, observerLat, height float64, n int) float64
MoonTopocentricBrightLimbPositionAngleN 月亮站心明亮边缘位置角(截断版) / truncated topocentric position angle of the Moon's bright limb.
func MoonTrueBo ¶
func MoonTrueLo ¶
func MoonTrueRaDec ¶
func MorningTwilight ¶
func MorningTwilightN ¶
func NeptuneApparentBo ¶
func NeptuneApparentBoN ¶
NeptuneApparentBoN 海王星视黄纬(截断版) / truncated apparent ecliptic latitude of Neptune.
func NeptuneApparentDec ¶
func NeptuneApparentDecN ¶
NeptuneApparentDecN 海王星视赤纬(截断版) / truncated apparent declination of Neptune.
func NeptuneApparentLo ¶
func NeptuneApparentLoBo ¶
func NeptuneApparentLoBoN ¶
NeptuneApparentLoBoN 海王星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Neptune.
func NeptuneApparentLoN ¶
NeptuneApparentLoN 海王星视黄经(截断版) / truncated apparent ecliptic longitude of Neptune.
func NeptuneApparentRa ¶
func NeptuneApparentRaDec ¶
func NeptuneApparentRaDecN ¶
NeptuneApparentRaDecN 海王星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Neptune.
func NeptuneApparentRaN ¶
NeptuneApparentRaN 海王星视赤经(截断版) / truncated apparent right ascension of Neptune.
func NeptuneAscendingNode ¶
NeptuneAscendingNode 海王星升交点黄经 / ascending node longitude of Neptune.
func NeptuneAscendingNodeN ¶
NeptuneAscendingNodeN 海王星升交点黄经(截断版) / truncated ascending node longitude of Neptune.
func NeptuneAzimuth ¶
func NeptuneAzimuthN ¶
NeptuneAzimuthN 海王星方位角(截断版) / truncated azimuth of Neptune.
func NeptuneBrightLimbPositionAngle ¶
NeptuneBrightLimbPositionAngle 海王星亮面中心位置角 / position angle of Neptune bright limb.
func NeptuneBrightLimbPositionAngleN ¶
NeptuneBrightLimbPositionAngleN 海王星亮面中心位置角(截断版) / truncated position angle of Neptune bright limb.
func NeptuneCulminationTime ¶
func NeptuneCulminationTimeN ¶
NeptuneCulminationTimeN 海王星中天时间(截断版) / truncated culmination time of Neptune.
func NeptuneDescendingNode ¶
NeptuneDescendingNode 海王星降交点黄经 / descending node longitude of Neptune.
func NeptuneDescendingNodeN ¶
NeptuneDescendingNodeN 海王星降交点黄经(截断版) / truncated descending node longitude of Neptune.
func NeptuneDiameter ¶
NeptuneDiameter 海王星视直径,单位角秒 / apparent Neptune diameter in arcseconds.
func NeptuneDiameterN ¶
NeptuneDiameterN 海王星视直径(截断版),单位角秒 / truncated apparent Neptune diameter in arcseconds.
func NeptuneHeight ¶
func NeptuneHeightN ¶
NeptuneHeightN 海王星高度角(截断版) / truncated altitude of Neptune.
func NeptuneHourAngle ¶
func NeptuneHourAngleN ¶
NeptuneHourAngleN 海王星时角(截断版) / truncated hour angle of Neptune.
func NeptuneIlluminatedFraction ¶
NeptuneIlluminatedFraction 海王星被照亮比例 / illuminated fraction of Neptune.
func NeptuneIlluminatedFractionN ¶
NeptuneIlluminatedFractionN 海王星被照亮比例(截断版) / truncated illuminated fraction of Neptune.
func NeptuneMag ¶
func NeptuneMagN ¶
NeptuneMagN 海王星视星等(截断版) / truncated apparent magnitude of Neptune.
func NeptunePhaseAngle ¶
NeptunePhaseAngle 海王星相位角 / phase angle of Neptune.
func NeptunePhaseAngleN ¶
NeptunePhaseAngleN 海王星相位角(截断版) / truncated phase angle of Neptune.
func NeptuneRiseTime ¶
func NeptuneRiseTimeN ¶
func NeptuneRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
NeptuneRiseTimeN 海王星升起时间(截断版) / truncated rise time of Neptune.
func NeptuneSemidiameter ¶
NeptuneSemidiameter 海王星视半径,单位角秒 / apparent Neptune semidiameter in arcseconds.
func NeptuneSemidiameterN ¶
NeptuneSemidiameterN 海王星视半径(截断版),单位角秒 / truncated apparent Neptune semidiameter in arcseconds.
func NeptuneSetTime ¶
func NeptuneSetTimeN ¶
func NeptuneSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
NeptuneSetTimeN 海王星落下时间(截断版) / truncated set time of Neptune.
func NextJupiterConjunction ¶
func NextJupiterOpposition ¶
func NextMarsConjunction ¶
func NextMarsOpposition ¶
func NextMercuryConjunction ¶
func NextMercuryConjunctionStrict ¶ added in v0.1.3
func NextMercuryGreatestElongationEastInclusive ¶ added in v0.1.3
func NextMercuryGreatestElongationInclusive ¶ added in v0.1.3
func NextMercuryGreatestElongationWestInclusive ¶ added in v0.1.3
func NextMercuryInferiorConjunctionInclusive ¶ added in v0.1.3
func NextMercuryProgradeToRetrogradeInclusive ¶ added in v0.1.3
func NextMercuryRetrograde ¶
func NextMercuryRetrogradeInclusive ¶ added in v0.1.3
func NextMercuryRetrogradeStrict ¶ added in v0.1.3
func NextMercuryRetrogradeToProgradeInclusive ¶ added in v0.1.3
func NextMercurySuperiorConjunctionInclusive ¶ added in v0.1.3
func NextMoonPlanetConjunction ¶ added in v0.1.4
func NextMoonPlanetConjunction(jde float64, planet MoonPlanetConjunctionPlanet) float64
NextMoonPlanetConjunction 指定时刻之后最近一次行星合月(赤经合) / next Moon-planet conjunction at or after jde.
func NextNeptuneConjunction ¶
func NextNeptuneOpposition ¶
func NextSaturnConjunction ¶
func NextSaturnOpposition ¶
func NextUranusConjunction ¶
func NextUranusOpposition ¶
func NextVenusConjunction ¶
func NextVenusConjunctionStrict ¶ added in v0.1.3
func NextVenusGreatestElongationEastInclusive ¶ added in v0.1.3
func NextVenusGreatestElongationInclusive ¶ added in v0.1.3
func NextVenusGreatestElongationWestInclusive ¶ added in v0.1.3
func NextVenusInferiorConjunctionInclusive ¶ added in v0.1.3
func NextVenusProgradeToRetrogradeInclusive ¶ added in v0.1.3
func NextVenusRetrograde ¶
func NextVenusRetrogradeInclusive ¶ added in v0.1.3
func NextVenusRetrogradeToProgradeInclusive ¶ added in v0.1.3
func NextVenusSuperiorConjunctionInclusive ¶ added in v0.1.3
func Nutation1980 ¶
Nutation1980 计算 IAU 1980 章动模型 返回黄经章动 (dpsi) 和交角章动 (deps),单位为度
func Nutation2000B ¶
Nutation2000B 计算 IAU 2000B 章动模型 返回交角章动 (de) 和黄经章动 (dp),单位为度
func OrbitApparentGeocentricEcliptic ¶
func OrbitApparentGeocentricEcliptic(jd float64, elements OrbitElements) (lon, lat, distance float64)
OrbitApparentGeocentricEcliptic 返回光行时与章动修正后的地心视黄道坐标,单位度/AU。
func OrbitApparentGeocentricEquatorial ¶
func OrbitApparentGeocentricEquatorial(jd float64, elements OrbitElements) (ra, dec, distance float64)
OrbitApparentGeocentricEquatorial 返回光行时与章动修正后的地心视赤道坐标,单位度/AU。
func OrbitApparentTopocentricEquatorial ¶
func OrbitApparentTopocentricEquatorial(jd, observerLon, observerLat, observerHeight float64, elements OrbitElements) (ra, dec, distance float64)
OrbitApparentTopocentricEquatorial 返回光行时、章动与站心修正后的视赤道坐标,单位度/AU。
func OrbitAsteroidMagnitudeHG ¶
func OrbitAsteroidMagnitudeHG(jd float64, elements OrbitElements, absoluteMagnitude, slopeParameter float64) float64
OrbitAsteroidMagnitudeHG 返回小行星 H-G 模型的视星等。
func OrbitAstrometricGeocentricEquatorialJ2000 ¶
func OrbitAstrometricGeocentricEquatorialJ2000(jd float64, elements OrbitElements) (ra, dec, distance float64)
OrbitAstrometricGeocentricEquatorialJ2000 返回光行时修正后的地心 J2000 赤道坐标,单位度/AU。
func OrbitAzimuth ¶
func OrbitAzimuth(jde, observerLon, observerLat, timezone, observerHeight float64, elements OrbitElements) float64
OrbitAzimuth 返回轨道目标在观测者所在地的视方位角,按正北为 0°、向东增加。
func OrbitCulminationTime ¶
func OrbitCulminationTime(jde, observerLon, observerLat, timezone, observerHeight float64, elements OrbitElements) float64
OrbitCulminationTime 返回轨道目标的中天时刻,输入输出均沿用本仓库现有观测函数的 JD 语义。
func OrbitEarthDistance ¶
func OrbitEarthDistance(jd float64, elements OrbitElements) float64
OrbitEarthDistance 返回轨道目标在给定 TT/TDB 儒略日的地心距离,单位 AU。
func OrbitEccentricAnomaly ¶
func OrbitEccentricAnomaly(jd float64, elements OrbitElements) float64
OrbitEccentricAnomaly 返回给定 TT/TDB 儒略日的偏近点角,单位度。 仅适用于椭圆轨道;对抛物/双曲轨道返回 NaN。
func OrbitElongation ¶
func OrbitElongation(jd float64, elements OrbitElements) float64
OrbitElongation 返回轨道目标相对于太阳的地心视角距,单位度。
func OrbitGeocentricEcliptic ¶
func OrbitGeocentricEcliptic(jd float64, elements OrbitElements) (lon, lat, distance float64)
OrbitGeocentricEcliptic 返回地心历元黄道球坐标,单位度/AU。
func OrbitGeocentricEclipticJ2000 ¶
func OrbitGeocentricEclipticJ2000(jd float64, elements OrbitElements) (lon, lat, distance float64)
OrbitGeocentricEclipticJ2000 返回地心 J2000 平黄道球坐标,单位度/AU。
func OrbitGeocentricEquatorial ¶
func OrbitGeocentricEquatorial(jd float64, elements OrbitElements) (ra, dec, distance float64)
OrbitGeocentricEquatorial 返回地心历元平赤道球坐标,单位度/AU。
func OrbitGeocentricEquatorialJ2000 ¶
func OrbitGeocentricEquatorialJ2000(jd float64, elements OrbitElements) (ra, dec, distance float64)
OrbitGeocentricEquatorialJ2000 返回地心 J2000 平赤道球坐标,单位度/AU。
func OrbitHeight ¶
func OrbitHeight(jde, observerLon, observerLat, timezone, observerHeight float64, elements OrbitElements) float64
OrbitHeight 返回轨道目标在观测者所在地的视高度角,单位度。
func OrbitHeliocentricEcliptic ¶
func OrbitHeliocentricEcliptic(jd float64, elements OrbitElements) (lon, lat, distance float64)
OrbitHeliocentricEcliptic 返回日心历元黄道球坐标,单位度/AU。
func OrbitHeliocentricEclipticJ2000 ¶
func OrbitHeliocentricEclipticJ2000(jd float64, elements OrbitElements) (lon, lat, distance float64)
OrbitHeliocentricEclipticJ2000 返回日心 J2000 平黄道球坐标,单位度/AU。
func OrbitHourAngle ¶
func OrbitHourAngle(jde, observerLon, observerLat, timezone, observerHeight float64, elements OrbitElements) float64
OrbitHourAngle 返回轨道目标的站心视时角,单位度。
func OrbitIlluminatedFraction ¶
func OrbitIlluminatedFraction(jd float64, elements OrbitElements) float64
OrbitIlluminatedFraction 返回轨道目标的被照亮比例。
func OrbitMeanAnomaly ¶
func OrbitMeanAnomaly(jd float64, elements OrbitElements) float64
OrbitMeanAnomaly 返回给定 TT/TDB 儒略日的平近点角,单位度。 对抛物/双曲轨道返回 NaN。
func OrbitMeanMotion ¶
func OrbitMeanMotion(elements OrbitElements) float64
OrbitMeanMotion 返回历元平均角速度,单位度/日。 对近日点形式的抛物/双曲轨道返回 NaN。
func OrbitPhaseAngle ¶
func OrbitPhaseAngle(jd float64, elements OrbitElements) float64
OrbitPhaseAngle 返回轨道目标的相位角,单位度。
func OrbitRiseTime ¶
func OrbitRiseTime(jde, observerLon, observerLat, timezone, aeroCorrection, observerHeight float64, elements OrbitElements) (float64, error)
OrbitRiseTime 返回轨道目标在给定当地日期的升起时刻。
func OrbitSetTime ¶
func OrbitSetTime(jde, observerLon, observerLat, timezone, aeroCorrection, observerHeight float64, elements OrbitElements) (float64, error)
OrbitSetTime 返回轨道目标在给定当地日期的落下时刻。
func OrbitSunDistance ¶
func OrbitSunDistance(jd float64, elements OrbitElements) float64
OrbitSunDistance 返回轨道目标在给定 TT/TDB 儒略日的日心距离,单位 AU。
func OrbitTrueAnomaly ¶
func OrbitTrueAnomaly(jd float64, elements OrbitElements) float64
OrbitTrueAnomaly 返回给定 TT/TDB 儒略日的真近点角,单位度。
func ParallacticAngleByHourAngle ¶
ParallacticAngleByHourAngle 返回视差角(天顶方向角)/ parallactic angle.
hourAngle 为目标时角,dec 为赤纬,lat 为观测者纬度,单位均为度。 返回值是 atan2 公式给出的有符号结果,范围通常为 [-180, 180] 度。 hourAngle may be signed or normalized to [0, 360); the trigonometric formula handles either representation.
func PrecessIAU1976 ¶
Precess 函数实现了基于 Explanatory Supplement 2nd ed. table 3.211.1 的岁差计算 ra0, dec0: 初始赤经和赤纬(弧度) startJD: 初始儒略日 targetJD: 目标儒略日 返回: 目标历元的赤经和赤纬(弧度)
func RaDecToLoBo ¶
func RefractionFromApparentAltitude ¶
RefractionFromApparentAltitude 大气折射修正量,单位度;输入为视高度角。 返回值应从视高度角减去后得到真高度角。 若模型在支持的真高度范围内没有逆解,则返回 NaN。
func RefractionFromTrueAltitude ¶
RefractionFromTrueAltitude 大气折射修正量,单位度;输入为真高度角。 返回值应从真高度角加上后得到视高度角。
func SaturnApparentBo ¶
func SaturnApparentBoN ¶
SaturnApparentBoN 土星视黄纬(截断版) / truncated apparent ecliptic latitude of Saturn.
func SaturnApparentDec ¶
func SaturnApparentDecN ¶
SaturnApparentDecN 土星视赤纬(截断版) / truncated apparent declination of Saturn.
func SaturnApparentLo ¶
func SaturnApparentLoBo ¶
func SaturnApparentLoBoN ¶
SaturnApparentLoBoN 土星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Saturn.
func SaturnApparentLoN ¶
SaturnApparentLoN 土星视黄经(截断版) / truncated apparent ecliptic longitude of Saturn.
func SaturnApparentRa ¶
func SaturnApparentRaDec ¶
func SaturnApparentRaDecN ¶
SaturnApparentRaDecN 土星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Saturn.
func SaturnApparentRaN ¶
SaturnApparentRaN 土星视赤经(截断版) / truncated apparent right ascension of Saturn.
func SaturnAscendingNode ¶
SaturnAscendingNode 土星升交点黄经 / ascending node longitude of Saturn.
func SaturnAscendingNodeN ¶
SaturnAscendingNodeN 土星升交点黄经(截断版) / truncated ascending node longitude of Saturn.
func SaturnAzimuth ¶
func SaturnAzimuthN ¶
SaturnAzimuthN 土星方位角(截断版) / truncated azimuth of Saturn.
func SaturnBrightLimbPositionAngle ¶
SaturnBrightLimbPositionAngle 土星亮面中心位置角 / position angle of Saturn bright limb.
func SaturnBrightLimbPositionAngleN ¶
SaturnBrightLimbPositionAngleN 土星亮面中心位置角(截断版) / truncated position angle of Saturn bright limb.
func SaturnCulminationTime ¶
func SaturnCulminationTimeN ¶
SaturnCulminationTimeN 土星中天时间(截断版) / truncated culmination time of Saturn.
func SaturnDescendingNode ¶
SaturnDescendingNode 土星降交点黄经 / descending node longitude of Saturn.
func SaturnDescendingNodeN ¶
SaturnDescendingNodeN 土星降交点黄经(截断版) / truncated descending node longitude of Saturn.
func SaturnDiameter ¶
SaturnDiameter 土星视直径,单位角秒 / apparent Saturn diameter in arcseconds.
func SaturnDiameterN ¶
SaturnDiameterN 土星视直径(截断版),单位角秒 / truncated apparent Saturn diameter in arcseconds.
func SaturnHeight ¶
func SaturnHeightN ¶
SaturnHeightN 土星高度角(截断版) / truncated altitude of Saturn.
func SaturnHourAngle ¶
func SaturnHourAngleN ¶
SaturnHourAngleN 土星时角(截断版) / truncated hour angle of Saturn.
func SaturnIlluminatedFraction ¶
SaturnIlluminatedFraction 土星被照亮比例 / illuminated fraction of Saturn.
func SaturnIlluminatedFractionN ¶
SaturnIlluminatedFractionN 土星被照亮比例(截断版) / truncated illuminated fraction of Saturn.
func SaturnMagN ¶
SaturnMagN 土星视星等(截断版) / truncated apparent magnitude of Saturn.
func SaturnPhaseAngle ¶
SaturnPhaseAngle 土星相位角 / phase angle of Saturn.
func SaturnPhaseAngleN ¶
SaturnPhaseAngleN 土星相位角(截断版) / truncated phase angle of Saturn.
func SaturnRingAxis ¶
SaturnRingAxis 土星环外缘长短轴,单位角秒 / outer ring axes in arcseconds.
func SaturnRingAxisN ¶
SaturnRingAxisN 土星环外缘长短轴(截断版),单位角秒 / truncated outer ring axes in arcseconds.
func SaturnRingB ¶
SaturnRingB 土星环张角 B / Saturn ring opening angle B.
func SaturnRingBN ¶
SaturnRingBN 土星环张角 B(截断版) / truncated Saturn ring opening angle B.
func SaturnRingDeltaU ¶
SaturnRingDeltaU 太阳和地球在环面内的土星心黄经差 / difference of Saturnicentric ring longitudes.
func SaturnRingDeltaUN ¶
SaturnRingDeltaUN 太阳和地球在环面内的土星心黄经差(截断版) / truncated Saturnicentric ring longitude difference.
func SaturnRingParameters ¶
func SaturnRingParameters(jd float64) (earthLatitude, sunLatitude, positionAngle, deltaU, majorAxis, minorAxis float64)
SaturnRingParameters 土星环参数 / Saturn ring parameters.
func SaturnRingParametersN ¶
func SaturnRingParametersN(jd float64, n int) (earthLatitude, sunLatitude, positionAngle, deltaU, majorAxis, minorAxis float64)
SaturnRingParametersN 土星环参数(截断版) / truncated Saturn ring parameters.
func SaturnRingPositionAngle ¶
SaturnRingPositionAngle 土星环北半短轴位置角 / position angle of Saturn ring northern semiminor axis.
func SaturnRingPositionAngleN ¶
SaturnRingPositionAngleN 土星环北半短轴位置角(截断版) / truncated position angle of Saturn ring northern semiminor axis.
func SaturnRingSunB ¶
SaturnRingSunB 土星环太阳侧张角 B' / Sun-side Saturn ring opening angle B'.
func SaturnRingSunBN ¶
SaturnRingSunBN 土星环太阳侧张角 B'(截断版) / truncated Sun-side Saturn ring opening angle B'.
func SaturnRiseTime ¶
func SaturnRiseTimeN ¶
func SaturnRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
SaturnRiseTimeN 土星升起时间(截断版) / truncated rise time of Saturn.
func SaturnSemidiameter ¶
SaturnSemidiameter 土星视半径,单位角秒 / apparent Saturn semidiameter in arcseconds.
func SaturnSemidiameterN ¶
SaturnSemidiameterN 土星视半径(截断版),单位角秒 / truncated apparent Saturn semidiameter in arcseconds.
func SaturnSetTime ¶
func SaturnSetTimeN ¶
func SaturnSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
SaturnSetTimeN 土星落下时间(截断版) / truncated set time of Saturn.
func SetDeltaTFn ¶
func StandardAltitudeMoon ¶
func StandardAltitudePlanet ¶
func StandardAltitudeStar ¶
func StandardAltitudeSun ¶
func StarAngularSeparation ¶
func StarAzimuth ¶
StarAzimuth 星体的方位角 传入 jde时间、瞬时赤经、瞬时赤纬、经度、纬度、时区,jde时间应为时区时间 返回方位角,单位为度,正北为0,度数顺时针增加,取值范围[0-360)
func StarCulminationTime ¶
func StarHeight ¶
StarHeight 星体的高度角 传入 jde时间、瞬时赤经、瞬时赤纬、经度、纬度、时区,jde时间应为时区时间 返回高度角,单位为度
func StarHourAngle ¶
StarHourAngle 星体的时角 传入 jde时间、瞬时赤经、瞬时赤纬、经度、时区,jde时间应为时区时间 返回时角
func StarParallacticAngle ¶
StarParallacticAngle 返回星体在给定观测条件下的视差角(天顶方向角)/ parallactic angle.
func StarRiseSetTime ¶
func StarRiseTime ¶
func StarSetTime ¶
func SunApparentDec ¶
func SunApparentLo ¶
func SunApparentRa ¶
func SunApparentRaDec ¶
func SunAzimuth ¶
func SunAzimuthN ¶
func SunDiameter ¶
SunDiameter 太阳视直径,单位角秒 / apparent solar diameter in arcseconds.
func SunDiameterN ¶
SunDiameterN 太阳视直径(截断版),单位角秒 / truncated apparent solar diameter in arcseconds.
func SunHeightN ¶
func SunMoonAngle ¶
func SunMoonSeek ¶
func SunSemidiameter ¶
SunSemidiameter 太阳视半径,单位角秒 / apparent solar semidiameter in arcseconds.
func SunSemidiameterN ¶
SunSemidiameterN 太阳视半径(截断版),单位角秒 / truncated apparent solar semidiameter in arcseconds.
func SunTimeAngleN ¶
func SunTrueDec ¶
func TopocentricBo ¶
func TopocentricDec ¶
func TopocentricLo ¶
func TopocentricRa ¶
func TopocentricRaDec ¶
func TrueAltitude ¶
TrueAltitude 真高度角,单位度;输入为视高度角。若折射模型在支持的 真高度范围内没有逆解,则返回 NaN。
func TrueObliquity ¶
func UranusApparentBo ¶
func UranusApparentBoN ¶
UranusApparentBoN 天王星视黄纬(截断版) / truncated apparent ecliptic latitude of Uranus.
func UranusApparentDec ¶
func UranusApparentDecN ¶
UranusApparentDecN 天王星视赤纬(截断版) / truncated apparent declination of Uranus.
func UranusApparentLo ¶
func UranusApparentLoBo ¶
func UranusApparentLoBoN ¶
UranusApparentLoBoN 天王星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Uranus.
func UranusApparentLoN ¶
UranusApparentLoN 天王星视黄经(截断版) / truncated apparent ecliptic longitude of Uranus.
func UranusApparentRa ¶
func UranusApparentRaDec ¶
func UranusApparentRaDecN ¶
UranusApparentRaDecN 天王星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Uranus.
func UranusApparentRaN ¶
UranusApparentRaN 天王星视赤经(截断版) / truncated apparent right ascension of Uranus.
func UranusAscendingNode ¶
UranusAscendingNode 天王星升交点黄经 / ascending node longitude of Uranus.
func UranusAscendingNodeN ¶
UranusAscendingNodeN 天王星升交点黄经(截断版) / truncated ascending node longitude of Uranus.
func UranusAzimuth ¶
func UranusAzimuthN ¶
UranusAzimuthN 天王星方位角(截断版) / truncated azimuth of Uranus.
func UranusBrightLimbPositionAngle ¶
UranusBrightLimbPositionAngle 天王星亮面中心位置角 / position angle of Uranus bright limb.
func UranusBrightLimbPositionAngleN ¶
UranusBrightLimbPositionAngleN 天王星亮面中心位置角(截断版) / truncated position angle of Uranus bright limb.
func UranusCulminationTime ¶
func UranusCulminationTimeN ¶
UranusCulminationTimeN 天王星中天时间(截断版) / truncated culmination time of Uranus.
func UranusDescendingNode ¶
UranusDescendingNode 天王星降交点黄经 / descending node longitude of Uranus.
func UranusDescendingNodeN ¶
UranusDescendingNodeN 天王星降交点黄经(截断版) / truncated descending node longitude of Uranus.
func UranusDiameter ¶
UranusDiameter 天王星视直径,单位角秒 / apparent Uranus diameter in arcseconds.
func UranusDiameterN ¶
UranusDiameterN 天王星视直径(截断版),单位角秒 / truncated apparent Uranus diameter in arcseconds.
func UranusHeight ¶
func UranusHeightN ¶
UranusHeightN 天王星高度角(截断版) / truncated altitude of Uranus.
func UranusHourAngle ¶
func UranusHourAngleN ¶
UranusHourAngleN 天王星时角(截断版) / truncated hour angle of Uranus.
func UranusIlluminatedFraction ¶
UranusIlluminatedFraction 天王星被照亮比例 / illuminated fraction of Uranus.
func UranusIlluminatedFractionN ¶
UranusIlluminatedFractionN 天王星被照亮比例(截断版) / truncated illuminated fraction of Uranus.
func UranusMagN ¶
UranusMagN 天王星视星等(截断版) / truncated apparent magnitude of Uranus.
func UranusPhaseAngle ¶
UranusPhaseAngle 天王星相位角 / phase angle of Uranus.
func UranusPhaseAngleN ¶
UranusPhaseAngleN 天王星相位角(截断版) / truncated phase angle of Uranus.
func UranusRiseTime ¶
func UranusRiseTimeN ¶
func UranusRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
UranusRiseTimeN 天王星升起时间(截断版) / truncated rise time of Uranus.
func UranusSemidiameter ¶
UranusSemidiameter 天王星视半径,单位角秒 / apparent Uranus semidiameter in arcseconds.
func UranusSemidiameterN ¶
UranusSemidiameterN 天王星视半径(截断版),单位角秒 / truncated apparent Uranus semidiameter in arcseconds.
func UranusSetTime ¶
func UranusSetTimeN ¶
func UranusSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
UranusSetTimeN 天王星落下时间(截断版) / truncated set time of Uranus.
func ValidateCivilDate ¶
func VenusApparentBo ¶
func VenusApparentBoN ¶
VenusApparentBoN 金星视黄纬(截断版) / truncated apparent ecliptic latitude of Venus.
func VenusApparentDec ¶
func VenusApparentDecN ¶
VenusApparentDecN 金星视赤纬(截断版) / truncated apparent declination of Venus.
func VenusApparentLo ¶
func VenusApparentLoBo ¶
func VenusApparentLoBoN ¶
VenusApparentLoBoN 金星视黄经黄纬(截断版) / truncated apparent ecliptic longitude and latitude of Venus.
func VenusApparentLoN ¶
VenusApparentLoN 金星视黄经(截断版) / truncated apparent ecliptic longitude of Venus.
func VenusApparentRa ¶
func VenusApparentRaDec ¶
func VenusApparentRaDecN ¶
VenusApparentRaDecN 金星视赤经赤纬(截断版) / truncated apparent right ascension and declination of Venus.
func VenusApparentRaN ¶
VenusApparentRaN 金星视赤经(截断版) / truncated apparent right ascension of Venus.
func VenusAscendingNode ¶
VenusAscendingNode 金星升交点黄经 / ascending node longitude of Venus.
func VenusAscendingNodeN ¶
VenusAscendingNodeN 金星升交点黄经(截断版) / truncated ascending node longitude of Venus.
func VenusAzimuth ¶
func VenusAzimuthN ¶
VenusAzimuthN 金星方位角(截断版) / truncated azimuth of Venus.
func VenusBrightLimbPositionAngle ¶
VenusBrightLimbPositionAngle 金星亮面中心位置角 / position angle of Venus bright limb.
func VenusBrightLimbPositionAngleN ¶
VenusBrightLimbPositionAngleN 金星亮面中心位置角(截断版) / truncated position angle of Venus bright limb.
func VenusCulminationTime ¶
func VenusCulminationTimeN ¶
VenusCulminationTimeN 金星中天时间(截断版) / truncated culmination time of Venus.
func VenusDescendingNode ¶
VenusDescendingNode 金星降交点黄经 / descending node longitude of Venus.
func VenusDescendingNodeN ¶
VenusDescendingNodeN 金星降交点黄经(截断版) / truncated descending node longitude of Venus.
func VenusDiameter ¶
VenusDiameter 金星视直径,单位角秒 / apparent Venus diameter in arcseconds.
func VenusDiameterN ¶
VenusDiameterN 金星视直径(截断版),单位角秒 / truncated apparent Venus diameter in arcseconds.
func VenusHeight ¶
func VenusHeightN ¶
VenusHeightN 金星高度角(截断版) / truncated altitude of Venus.
func VenusHourAngle ¶
func VenusHourAngleN ¶
VenusHourAngleN 金星时角(截断版) / truncated hour angle of Venus.
func VenusIlluminatedFraction ¶
VenusIlluminatedFraction 金星被照亮比例 / illuminated fraction of Venus.
func VenusIlluminatedFractionN ¶
VenusIlluminatedFractionN 金星被照亮比例(截断版) / truncated illuminated fraction of Venus.
func VenusPhaseAngle ¶
VenusPhaseAngle 金星相位角 / phase angle of Venus.
func VenusPhaseAngleN ¶
VenusPhaseAngleN 金星相位角(截断版) / truncated phase angle of Venus.
func VenusRiseTime ¶
func VenusRiseTimeN ¶
func VenusRiseTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
VenusRiseTimeN 金星升起时间(截断版) / truncated rise time of Venus.
func VenusSemidiameter ¶
VenusSemidiameter 金星视半径,单位角秒 / apparent Venus semidiameter in arcseconds.
func VenusSemidiameterN ¶
VenusSemidiameterN 金星视半径(截断版),单位角秒 / truncated apparent Venus semidiameter in arcseconds.
func VenusSetTime ¶
func VenusSetTimeN ¶
func VenusSetTimeN(jd, lon, lat, timezone, aeroCorrection, observerHeight float64, n int) (float64, error)
VenusSetTimeN 金星落下时间(截断版) / truncated set time of Venus.
func VenusSunElongation ¶
Types ¶
type ApsisEvent ¶
type ApsisEvent struct {
// JDE 是事件发生时刻对应的世界时儒略日 / event time as UTC-based Julian day.
JDE float64
// Distance 是极值距离;地球相关事件单位 AU,月球相关事件单位 km / extremum distance.
Distance float64
}
ApsisEvent 轨道极值事件 / orbital distance extremum event.
func EarthAphelion ¶
func EarthAphelion(year int) ApsisEvent
EarthAphelion 地球指定年份的远日点 / Earth aphelion in the given year.
func EarthPerihelion ¶
func EarthPerihelion(year int) ApsisEvent
EarthPerihelion 地球指定年份的近日点 / Earth perihelion in the given year.
func MoonApogees ¶
func MoonApogees(year int, month time.Month) []ApsisEvent
MoonApogees 指定年月内的所有月球远地点 / all lunar apogees in the given Gregorian month.
func MoonPerigees ¶
func MoonPerigees(year int, month time.Month) []ApsisEvent
MoonPerigees 指定年月内的所有月球近地点 / all lunar perigees in the given Gregorian month.
type CoordinateFrame ¶ added in v0.2.0
type CoordinateFrame string
CoordinateFrame 标识恒星输入坐标使用的赤道坐标系。 CoordinateFrame identifies the equatorial coordinate frame used by an input stellar coordinate.
const ( // CoordinateFrameICRS 表示 ICRS 星表坐标系。 // CoordinateFrameICRS is the ICRS catalog frame. CoordinateFrameICRS CoordinateFrame = "icrs" // CoordinateFrameJ2000 表示 J2000 平均赤道坐标系。 // CoordinateFrameJ2000 is the mean equatorial J2000 frame. CoordinateFrameJ2000 CoordinateFrame = "j2000" // CoordinateFrameApparentOfDate 表示历元时刻的视赤道坐标系。 // CoordinateFrameApparentOfDate is the apparent equatorial frame of date. CoordinateFrameApparentOfDate CoordinateFrame = "apparent_of_date" )
type DeclinationEvent ¶
type DeclinationEvent struct {
// JDE 是事件发生时刻对应的世界时儒略日 / event time as UTC-based Julian day.
JDE float64
// Declination 是该时刻月心地心赤纬,单位度 / geocentric lunar declination at the event, in degrees.
Declination float64
}
DeclinationEvent 赤纬极值事件 / declination extremum event.
func ClosestMoonMaximumNorthDeclination ¶
func ClosestMoonMaximumNorthDeclination(jd float64) DeclinationEvent
ClosestMoonMaximumNorthDeclination 离指定时刻最近一次月球最大北赤纬 / closest maximum northern lunar declination to jd.
func ClosestMoonMaximumSouthDeclination ¶
func ClosestMoonMaximumSouthDeclination(jd float64) DeclinationEvent
ClosestMoonMaximumSouthDeclination 离指定时刻最近一次月球最大南赤纬 / closest maximum southern lunar declination to jd.
func LastMoonMaximumNorthDeclination ¶
func LastMoonMaximumNorthDeclination(jd float64) DeclinationEvent
LastMoonMaximumNorthDeclination 指定时刻之前最近一次月球最大北赤纬 / last maximum northern lunar declination at or before jd.
func LastMoonMaximumSouthDeclination ¶
func LastMoonMaximumSouthDeclination(jd float64) DeclinationEvent
LastMoonMaximumSouthDeclination 指定时刻之前最近一次月球最大南赤纬 / last maximum southern lunar declination at or before jd.
func MoonMaximumNorthDeclinations ¶
func MoonMaximumNorthDeclinations(year int, month time.Month) []DeclinationEvent
MoonMaximumNorthDeclinations 指定年月内的所有月球最大北赤纬事件 / all maximum northern lunar declination events in the given Gregorian month.
func MoonMaximumSouthDeclinations ¶
func MoonMaximumSouthDeclinations(year int, month time.Month) []DeclinationEvent
MoonMaximumSouthDeclinations 指定年月内的所有月球最大南赤纬事件 / all maximum southern lunar declination events in the given Gregorian month.
func NextMoonMaximumNorthDeclination ¶
func NextMoonMaximumNorthDeclination(jd float64) DeclinationEvent
NextMoonMaximumNorthDeclination 指定时刻之后最近一次月球最大北赤纬 / next maximum northern lunar declination after jd.
func NextMoonMaximumSouthDeclination ¶
func NextMoonMaximumSouthDeclination(jd float64) DeclinationEvent
NextMoonMaximumSouthDeclination 指定时刻之后最近一次月球最大南赤纬 / next maximum southern lunar declination after jd.
type InnerStarData ¶
type InnerStarData struct {
HR uint16 //Bright Star Number;[1/9110]+ Harvard Revised Number;亮星编号
Name string //Name, generally Bayer(如天狼星:Alpha CMA) and/or Flamsteed(如天狼星:9 CMA) name
HD uint32 //Henry Draper Catalog Number;HD星表编号
Ra float64 //Ra J2000;J2000历元赤经
Dec float64 //De J2000;J2000历元赤纬
Mag float64 //视星等
PmRA float64 //赤经投影年自行 cos(赤纬)*d赤经/dt,单位角秒/年
PmDec float64 //赤纬年自行,单位角秒/年
RadVel float64 //径向速度 km/s
RotVel float64 //自行速度 km/s
Pc float64 //秒差距
HIP uint32 //HIP星表编号
}
func (InnerStarData) RaDecByJde ¶
func (s InnerStarData) RaDecByJde(jde float64) (float64, float64)
type JupiterCentralMeridianInfo ¶
type JupiterCentralMeridianInfo struct {
// SystemI 木星 System I 照亮盘中央经线,单位度,西经为正。
SystemI float64
// SystemII 木星 System II 照亮盘中央经线,单位度,西经为正。
SystemII float64
// SystemIII 木星 System III 盘面中央经线,单位度,西经为正。
SystemIII float64
}
JupiterCentralMeridianInfo 木星中央经线 / Jupiter central meridians.
func JupiterCentralMeridians ¶
func JupiterCentralMeridians(jd float64) JupiterCentralMeridianInfo
JupiterCentralMeridians 木星 System I/II/III 中央经线 / Jupiter System I/II/III central meridians.
func JupiterCentralMeridiansN ¶
func JupiterCentralMeridiansN(jd float64, n int) JupiterCentralMeridianInfo
JupiterCentralMeridiansN 木星 System I/II/III 中央经线(截断版) / truncated Jupiter System I/II/III central meridians.
type JupiterGalileanObservation ¶
type JupiterGalileanObservation struct {
State JupiterGalileanState
RA float64
Dec float64
Distance float64
OffsetXArcsec float64
OffsetYArcsec float64
OffsetXJupiterRadii float64
OffsetYJupiterRadii float64
OffsetZJupiterRadii float64
InFrontOfJupiter bool
}
JupiterGalileanObservation 木星伽利略卫星视位置 / apparent Galilean-satellite geometry.
视位置相对木星中心定义:X 向天球东为正,Y 向天球北为正,Z>0 表示比木星更远、位于盘后。 Apparent offsets are relative to Jupiter's center: X is positive to celestial east, Y to celestial north, and Z>0 means farther than Jupiter and behind the disk.
func JupiterGalileanSatelliteObservation ¶
func JupiterGalileanSatelliteObservation(jd float64, satellite int) JupiterGalileanObservation
JupiterGalileanSatelliteObservation 伽利略卫星视位置 / apparent geometry of a Galilean satellite.
jd 为 TT/TDB 对应儒略日;返回卫星的天球视赤道坐标,以及相对木星中心的东/北平面偏移。 jd is a TT/TDB Julian day. The result contains the satellite's astrometric equatorial coordinates and its east/north sky-plane offsets relative to Jupiter's center.
func JupiterGalileanSatelliteObservations ¶
func JupiterGalileanSatelliteObservations(jd float64) [4]JupiterGalileanObservation
JupiterGalileanSatelliteObservations 四颗伽利略卫星视位置 / apparent geometry of the four Galilean satellites.
返回次序固定为 Io、Europa、Ganymede、Callisto。 The returned order is Io, Europa, Ganymede, Callisto.
type JupiterGalileanPhenomenon ¶
type JupiterGalileanPhenomenon struct {
Transit bool
Occultation bool
Eclipse bool
ShadowTransit bool
ShadowOffsetXArcsec float64
ShadowOffsetYArcsec float64
ShadowOffsetXJupiterRadii float64
ShadowOffsetYJupiterRadii float64
}
JupiterGalileanPhenomenon 木星伽利略卫星瞬时现象 / instantaneous Galilean-satellite phenomena.
Transit 表示卫星本体在木星盘前;Occultation 表示卫星在木星盘后被掩蔽;Eclipse 表示卫星落入木星本影;ShadowTransit 表示卫星影心落在可见木星盘面上。 Transit means the satellite itself is in front of Jupiter's disk; Occultation means it is hidden behind the disk; Eclipse means the satellite lies in Jupiter's umbra; ShadowTransit means the center of the satellite shadow falls on the visible Jovian disk.
func JupiterGalileanSatellitePhenomena ¶
func JupiterGalileanSatellitePhenomena(jd float64) [4]JupiterGalileanPhenomenon
JupiterGalileanSatellitePhenomena 四颗伽利略卫星瞬时现象 / instantaneous phenomena of the four Galilean satellites.
func JupiterGalileanSatellitePhenomenon ¶
func JupiterGalileanSatellitePhenomenon(jd float64, satellite int) JupiterGalileanPhenomenon
JupiterGalileanSatellitePhenomenon 单颗伽利略卫星瞬时现象 / instantaneous phenomena of one Galilean satellite.
type JupiterGalileanPhenomenonContact ¶
type JupiterGalileanPhenomenonContact struct {
Valid bool
Phase JupiterGalileanPhenomenonContactPhase
Start float64
ModelCrossing float64
End float64
}
JupiterGalileanPhenomenonContact 伽利略卫星接触窗口 / Galilean-satellite contact window.
Start/End 表示有限圆盘或有限影斑开始/结束接触的时刻;ModelCrossing 表示这套连续接触模型下, 零半径参考点穿越边界的时刻。 Start/End mark the beginning/end of the finite-disk or finite-shadow contact interval. ModelCrossing is the zero-radius boundary crossing in this continuous contact model.
type JupiterGalileanPhenomenonContactEvent ¶
type JupiterGalileanPhenomenonContactEvent struct {
Valid bool
Satellite int
Type JupiterGalileanPhenomenonType
Disappearance JupiterGalileanPhenomenonContact
Greatest float64
Reappearance JupiterGalileanPhenomenonContact
GreatestPhenomenon JupiterGalileanPhenomenon
}
JupiterGalileanPhenomenonContactEvent IMCCE 风格的 D/F 接触事件 / IMCCE-style D/F contact event.
与 `JupiterGalileanPhenomenonEvent` 不同,这里返回的是有限圆盘/有限影斑的初亏与复圆接触窗口; 现有整场事件 API 返回的则是零半径几何模型处于 active 状态的整段区间。 对 `shadow_transit`,这里按 IMCCE 的影凌语义处理:先用半影/本影边界求出部分相持续时间, 再把这段持续时间中心放在旧 `shadow_transit` API 的影轴过盘时刻上。 Unlike `JupiterGalileanPhenomenonEvent`, this returns the finite-disk / finite-shadow D/F contact windows. The existing full-event API returns the whole active interval of the zero-radius geometric model. For `shadow_transit`, the partial-phase duration comes from penumbra/umbra boundaries, while the reported D/F time is centered on the shadow-axis limb crossing from the existing full-event model.
func ClosestJupiterGalileanPhenomenonContactEvent ¶
func ClosestJupiterGalileanPhenomenonContactEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonContactEvent
ClosestJupiterGalileanPhenomenonContactEvent 最近一次 IMCCE 风格接触事件 / closest IMCCE-style contact event.
func LastJupiterGalileanPhenomenonContactEvent ¶
func LastJupiterGalileanPhenomenonContactEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonContactEvent
LastJupiterGalileanPhenomenonContactEvent 上一次 IMCCE 风格接触事件 / previous IMCCE-style contact event.
func NextJupiterGalileanPhenomenonContactEvent ¶
func NextJupiterGalileanPhenomenonContactEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonContactEvent
NextJupiterGalileanPhenomenonContactEvent 下一次 IMCCE 风格接触事件 / next IMCCE-style contact event.
type JupiterGalileanPhenomenonContactPhase ¶
type JupiterGalileanPhenomenonContactPhase string
JupiterGalileanPhenomenonContactPhase 接触阶段 / contact phase.
const ( // JupiterGalileanDisappearanceContact 初亏/初入接触阶段 / disappearance ingress contact. JupiterGalileanDisappearanceContact JupiterGalileanPhenomenonContactPhase = "disappearance" // JupiterGalileanReappearanceContact 复圆/复出接触阶段 / reappearance egress contact. JupiterGalileanReappearanceContact JupiterGalileanPhenomenonContactPhase = "reappearance" )
type JupiterGalileanPhenomenonEvent ¶
type JupiterGalileanPhenomenonEvent struct {
Valid bool
Satellite int
Type JupiterGalileanPhenomenonType
Start float64
Greatest float64
End float64
GreatestPhenomenon JupiterGalileanPhenomenon
}
JupiterGalileanPhenomenonEvent 伽利略卫星现象整场事件 / full Galilean-satellite phenomenon event.
Start、Greatest、End 都使用 UTC/UT 对应的儒略日。 Start, Greatest, and End are UTC/UT Julian days.
func ClosestJupiterGalileanPhenomenonEvent ¶
func ClosestJupiterGalileanPhenomenonEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonEvent
ClosestJupiterGalileanPhenomenonEvent 最近一次伽利略卫星现象 / closest Galilean-satellite event.
func LastJupiterGalileanPhenomenonEvent ¶
func LastJupiterGalileanPhenomenonEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonEvent
LastJupiterGalileanPhenomenonEvent 上一次伽利略卫星现象 / previous Galilean-satellite event.
func NextJupiterGalileanPhenomenonEvent ¶
func NextJupiterGalileanPhenomenonEvent(jd float64, satellite int, phenomenonType JupiterGalileanPhenomenonType) JupiterGalileanPhenomenonEvent
NextJupiterGalileanPhenomenonEvent 下一次伽利略卫星现象 / next Galilean-satellite event.
type JupiterGalileanPhenomenonType ¶
type JupiterGalileanPhenomenonType string
JupiterGalileanPhenomenonType 伽利略卫星现象类型 / Galilean-satellite phenomenon type.
const ( // JupiterGalileanTransit 凌日 / satellite transit across Jupiter. JupiterGalileanTransit JupiterGalileanPhenomenonType = "transit" // JupiterGalileanOccultation 掩蔽 / occultation behind Jupiter. JupiterGalileanOccultation JupiterGalileanPhenomenonType = "occultation" // JupiterGalileanEclipse 食 / eclipse in Jupiter's shadow. JupiterGalileanEclipse JupiterGalileanPhenomenonType = "eclipse" // JupiterGalileanShadowTransit 影凌 / shadow transit across Jupiter. JupiterGalileanShadowTransit JupiterGalileanPhenomenonType = "shadow_transit" )
type JupiterGalileanState ¶
JupiterGalileanState 木星伽利略卫星原始状态 / raw Galilean-satellite state.
输入 jd 使用 TT/TDB 对应的儒略日;返回值为 IMCCE L1 理论的木心 J2000 平赤道直角坐标与速度,单位 AU / AU/day。 The input jd is a TT/TDB Julian day. Returned coordinates are Jovicentric J2000 mean-equatorial position and velocity from the IMCCE L1 theory, in AU and AU/day.
func JupiterGalileanSatelliteState ¶
func JupiterGalileanSatelliteState(jd float64, satellite int) JupiterGalileanState
JupiterGalileanSatelliteState 伽利略卫星木心 J2000 状态 / Jovicentric J2000 state of a Galilean satellite.
satellite 取 1=Io, 2=Europa, 3=Ganymede, 4=Callisto。jd 为 TT/TDB 对应儒略日。 satellite is 1=Io, 2=Europa, 3=Ganymede, 4=Callisto. jd is a TT/TDB Julian day.
func JupiterGalileanSatelliteStates ¶
func JupiterGalileanSatelliteStates(jd float64) [4]JupiterGalileanState
JupiterGalileanSatelliteStates 四颗伽利略卫星木心 J2000 状态 / Jovicentric J2000 states of the four Galilean satellites.
返回次序固定为 Io、Europa、Ganymede、Callisto。 The returned order is Io, Europa, Ganymede, Callisto.
type LocalSolarEclipseDiagramFrame ¶
type LocalSolarEclipseDiagramFrame struct {
// JDE 是力学时儒略日, TT Julian ephemeris day.
JDE float64
// MoonX / MoonY 是以太阳视半径为单位的月心相对日心坐标,X 向东为正,Y 向北为正。
// MoonX/MoonY are Moon-center coordinates relative to the Sun center in Sun-radius units; X east, Y north.
MoonX float64
MoonY float64
// SunRadius 是太阳视半径,单位为图上太阳半径;固定为 1。
// SunRadius is the Sun radius in diagram Sun-radius units; always 1.
SunRadius float64
// MoonRadius 是月球视半径,单位为图上太阳半径。
// MoonRadius is the Moon apparent radius in Sun-radius units.
MoonRadius float64
// Separation 是日月中心角距,单位为度。
// Separation is the Sun-Moon center separation in degrees.
Separation float64
// PositionAngle 是月心相对日心的位置角,从北点起向东量,单位为度。
// PositionAngle is the Moon-center position angle from north toward east, in degrees.
PositionAngle float64
// SunAltitude / SunAzimuth 是太阳站心高度角 / 方位角,单位为度。
// SunAltitude/SunAzimuth are local Sun altitude/azimuth in degrees.
SunAltitude float64
SunAzimuth float64
// Label 是关键阶段标签,如 C1/Greatest/C4。
// Label is a key phase label such as C1/Greatest/C4.
Label string
// Labels 是该点对应的全部关键阶段标签;若事件重合,这里会有多个值。
// Labels contains all phase labels attached to this point.
Labels []string
}
LocalSolarEclipseDiagramFrame 表示一个时刻的站心日月视圆几何。 LocalSolarEclipseDiagramFrame is local Sun-Moon disk geometry at one instant.
type LocalSolarEclipseDiagramOptions ¶
type LocalSolarEclipseDiagramOptions struct {
// StepDays 是路径采样步长,单位为日;<=0 时使用 5 分钟。
// StepDays is the path sampling step in days; values <= 0 use five minutes.
StepDays float64
}
LocalSolarEclipseDiagramOptions 控制站心日食视圆图采样。 LocalSolarEclipseDiagramOptions controls local solar eclipse disk diagram sampling.
type LocalSolarEclipseDiagramResult ¶
type LocalSolarEclipseDiagramResult struct {
// Eclipse 是对应的站心日食结果。
// Eclipse is the local eclipse result used for the diagram.
Eclipse LocalSolarEclipseResult
// Frames 是采样帧,太阳固定在 (0,0),月球按 MoonX/MoonY 绘制。
// Frames are sampled frames; the Sun is fixed at (0,0), and the Moon uses MoonX/MoonY.
Frames []LocalSolarEclipseDiagramFrame
// StepDays 是实际采用的路径采样步长,单位为日。
// StepDays is the effective path sampling step in days.
StepDays float64
}
LocalSolarEclipseDiagramResult 表示站心日食视圆图几何结果。 LocalSolarEclipseDiagramResult is the geometry result for a local solar eclipse disk diagram.
func LocalSolarEclipseDiagram ¶
func LocalSolarEclipseDiagram(seedJDE, lon, lat, height float64, options LocalSolarEclipseDiagramOptions) LocalSolarEclipseDiagramResult
LocalSolarEclipseDiagram 计算站心日食视圆图几何数据,默认使用 NASA bulletin Split-K 模型。 LocalSolarEclipseDiagram computes local solar eclipse disk diagram geometry, using NASA bulletin Split-K by default.
func LocalSolarEclipseDiagramIAUSingleK ¶
func LocalSolarEclipseDiagramIAUSingleK(seedJDE, lon, lat, height float64, options LocalSolarEclipseDiagramOptions) LocalSolarEclipseDiagramResult
LocalSolarEclipseDiagramIAUSingleK 计算站心日食视圆图几何数据,使用 IAU Single-K 模型。 LocalSolarEclipseDiagramIAUSingleK computes local solar eclipse disk diagram geometry with the IAU Single-K model.
func LocalSolarEclipseDiagramNASABulletinSplitK ¶
func LocalSolarEclipseDiagramNASABulletinSplitK(seedJDE, lon, lat, height float64, options LocalSolarEclipseDiagramOptions) LocalSolarEclipseDiagramResult
LocalSolarEclipseDiagramNASABulletinSplitK 计算站心日食视圆图几何数据,使用 NASA bulletin Split-K 模型。 LocalSolarEclipseDiagramNASABulletinSplitK computes local solar eclipse disk diagram geometry with the NASA bulletin Split-K model.
type LocalSolarEclipseResult ¶
type LocalSolarEclipseResult struct {
Model SolarEclipseRadiusModel
Type SolarEclipseType
// GreatestEclipse 是站心盘面中心角距最小的时刻。
GreatestEclipse float64
// PartialStart / PartialEnd 是站心偏食始 / 偏食终。
PartialStart float64
PartialEnd float64
// CentralStart / CentralEnd 是站心中心食始 / 中心食终。
//
// 对全食对应食既 / 生光;
// 对环食对应环食始 / 环食终。
CentralStart float64
CentralEnd float64
// Magnitude 是站心食分。
Magnitude float64
// Obscuration 是食甚时太阳视圆面被月面遮蔽的面积比例,范围 [0, 1]。
Obscuration float64
// Separation 是食甚时日月中心的站心角距,单位为度。
Separation float64
// SunAltitude / SunAzimuth 是食甚时太阳的站心高度角 / 方位角,单位为度。
SunAltitude float64
SunAzimuth float64
// VisibleAtGreatest 表示食甚时太阳中心在地平线上方。
VisibleAtGreatest bool
HasPartial bool
HasCentral bool
HasAnnular bool
HasTotal bool
}
LocalSolarEclipseResult 表示某个站点的一次站心日食几何结果。
所有时刻字段都使用力学时儒略日(JDE, TT)。 输入 seedJDE 只需要落在目标朔月附近,允许相差数天。
func LocalSolarEclipse ¶
func LocalSolarEclipse(seedJDE, lon, lat, height float64) LocalSolarEclipseResult
LocalSolarEclipse 计算给定近朔时刻附近的一次站心日食,默认使用 NASA bulletin Split-K 模型。
seedJDE 为力学时儒略日(TT),只需落在目标朔月附近,允许相差数天。 lon 为经度,东正西负;lat 为纬度,北正南负;height 为海拔高度,单位米。
func LocalSolarEclipseIAUSingleK ¶
func LocalSolarEclipseIAUSingleK(seedJDE, lon, lat, height float64) LocalSolarEclipseResult
LocalSolarEclipseIAUSingleK 计算给定近朔时刻附近的一次站心日食,使用 IAU Single-K 模型。
func LocalSolarEclipseNASABulletinSplitK ¶
func LocalSolarEclipseNASABulletinSplitK(seedJDE, lon, lat, height float64) LocalSolarEclipseResult
LocalSolarEclipseNASABulletinSplitK 计算给定近朔时刻附近的一次站心日食,使用 NASA bulletin Split-K 模型。
type LunarEclipseDiagramOptions ¶
type LunarEclipseDiagramOptions struct {
// StepDays 是路径采样步长,单位为日;<=0 时使用 5 分钟。
// StepDays is the path sampling step in days; values <= 0 use five minutes.
StepDays float64
}
LunarEclipseDiagramOptions 控制月食穿影图采样。 LunarEclipseDiagramOptions controls lunar eclipse shadow-path diagram sampling.
type LunarEclipseDiagramPoint ¶
type LunarEclipseDiagramPoint struct {
// JDE 是力学时儒略日, TT Julian ephemeris day.
JDE float64
// X / Y 是以月球半径为单位的月心相对地影中心坐标。
// X/Y are Moon-center coordinates relative to the shadow center, in Moon-radius units.
X float64
Y float64
// Label 是关键接触标签,如 P1/U1/U2/Greatest/U3/U4/P4。
// Label is a key contact label such as P1/U1/U2/Greatest/U3/U4/P4.
Label string
// Labels 是该点对应的全部关键接触标签;若事件重合,这里会有多个值。
// Labels contains all contact labels attached to this point.
Labels []string
}
LunarEclipseDiagramPoint 表示月食穿影图上的一个月心位置。 LunarEclipseDiagramPoint is one Moon-center point in a lunar eclipse diagram.
type LunarEclipseDiagramResult ¶
type LunarEclipseDiagramResult struct {
// Eclipse 是对应的月食结果。
// Eclipse is the eclipse result used for the diagram.
Eclipse LunarEclipseResult
// MoonRadius 是月球半径,单位为图上月球半径;固定为 1。
// MoonRadius is the Moon radius in diagram Moon-radius units; always 1.
MoonRadius float64
// UmbraRadius 是本影半径,单位为图上月球半径。
// UmbraRadius is the umbral shadow radius in Moon-radius units.
UmbraRadius float64
// PenumbraRadius 是半影半径,单位为图上月球半径。
// PenumbraRadius is the penumbral shadow radius in Moon-radius units.
PenumbraRadius float64
// Points 是月心路径点,包含接触点与采样点。
// Points are Moon-center path points, including contact and sampled points.
Points []LunarEclipseDiagramPoint
// StepDays 是实际采用的路径采样步长,单位为日。
// StepDays is the effective path sampling step in days.
StepDays float64
}
LunarEclipseDiagramResult 表示月食穿影图几何结果。 LunarEclipseDiagramResult is the geometry result for a lunar eclipse diagram.
func LunarEclipseDiagram ¶
func LunarEclipseDiagram(seedJDE float64, options LunarEclipseDiagramOptions) LunarEclipseDiagramResult
LunarEclipseDiagram 计算月食穿影图几何数据,默认使用 Danjon 影半径模型。 LunarEclipseDiagram computes lunar eclipse diagram geometry, using the Danjon shadow model by default.
func LunarEclipseDiagramChauvenet ¶
func LunarEclipseDiagramChauvenet(seedJDE float64, options LunarEclipseDiagramOptions) LunarEclipseDiagramResult
LunarEclipseDiagramChauvenet 计算月食穿影图几何数据,使用 Chauvenet 影半径模型。 LunarEclipseDiagramChauvenet computes lunar eclipse diagram geometry with the Chauvenet shadow model.
func LunarEclipseDiagramDanjon ¶
func LunarEclipseDiagramDanjon(seedJDE float64, options LunarEclipseDiagramOptions) LunarEclipseDiagramResult
LunarEclipseDiagramDanjon 计算月食穿影图几何数据,使用 Danjon 影半径模型。 LunarEclipseDiagramDanjon computes lunar eclipse diagram geometry with the Danjon shadow model.
type LunarEclipseResult ¶
type LunarEclipseResult struct {
Type LunarEclipseType
// Maximum 是食甚时刻;即使最终没有月食,也会返回该次望月附近
// “月面中心最接近地影中心”的几何极值时刻。
Maximum float64
// Magnitude 是本影食分。纯半影月食时可为负值;无月食时为 0。
Magnitude float64
// PenumbralMagnitude 是半影食分。无半影接触时为 0。
PenumbralMagnitude float64
// MinimumDistance 是食甚时月心到地影中心的最小角距离,单位为弧度。
MinimumDistance float64
// Contact times:
// PenumbralStart / PenumbralEnd: 半影食始 / 半影食终
// PartialStart / PartialEnd: 初亏 / 复圆
// TotalStart / TotalEnd: 食既 / 生光
PenumbralStart float64
PenumbralEnd float64
PartialStart float64
PartialEnd float64
TotalStart float64
TotalEnd float64
HasPenumbral bool
HasPartial bool
HasTotal bool
}
LunarEclipseResult 表示一次望月附近的月食几何结果。
所有时刻字段都使用力学时儒略日(JDE, TT)。 输入 seedJDE 只需要落在目标望月附近,允许相差数天。
func LunarEclipse ¶
func LunarEclipse(seedJDE float64) LunarEclipseResult
LunarEclipse 计算给定近望时刻附近的一次月食,默认使用 Danjon 影半径模型。
seedJDE 为力学时儒略日(TT),只需落在目标望月附近,允许相差数天。 返回值中的所有接触时刻也都是力学时儒略日。
func LunarEclipseChauvenet ¶
func LunarEclipseChauvenet(seedJDE float64) LunarEclipseResult
LunarEclipseChauvenet 计算给定近望时刻附近的一次月食,使用 Chauvenet 影半径模型。
func LunarEclipseDanjon ¶
func LunarEclipseDanjon(seedJDE float64) LunarEclipseResult
LunarEclipseDanjon 计算给定近望时刻附近的一次月食,使用 Danjon 影半径模型。
type LunarEclipseType ¶
type LunarEclipseType string
LunarEclipseType 表示月食类型。
const ( // LunarEclipseNone 表示该次望月没有发生月食。 LunarEclipseNone LunarEclipseType = "none" // LunarEclipsePenumbral 表示半影月食。 LunarEclipsePenumbral LunarEclipseType = "penumbral" // LunarEclipsePartial 表示月偏食。 LunarEclipsePartial LunarEclipseType = "partial" // LunarEclipseTotal 表示月全食。 LunarEclipseTotal LunarEclipseType = "total" )
type MoonPhysicalInfo ¶
type MoonPhysicalInfo struct {
// OpticalLongitude 光学经度天平动,单位度 / optical libration in longitude, degrees.
OpticalLongitude float64
// OpticalLatitude 光学纬度天平动,单位度 / optical libration in latitude, degrees.
OpticalLatitude float64
// PhysicalLongitude 物理经度天平动,单位度 / physical libration in longitude, degrees.
PhysicalLongitude float64
// PhysicalLatitude 物理纬度天平动,单位度 / physical libration in latitude, degrees.
PhysicalLatitude float64
// LibrationLongitude 总经度天平动,单位度 / total libration in longitude, degrees.
LibrationLongitude float64
// LibrationLatitude 总纬度天平动,单位度 / total libration in latitude, degrees.
LibrationLatitude float64
// PositionAngle 月球自转轴位置角,单位度 / position angle of the lunar rotation axis, degrees.
PositionAngle float64
}
MoonPhysicalInfo 月球物理观测参数 / physical observing parameters of the Moon.
func MoonPhysical ¶
func MoonPhysical(jd float64) MoonPhysicalInfo
MoonPhysical 月球物理观测参数 / physical observing parameters of the Moon.
func MoonPhysicalN ¶
func MoonPhysicalN(jd float64, n int) MoonPhysicalInfo
MoonPhysicalN 月球物理观测参数(截断版) / truncated physical observing parameters of the Moon.
func MoonTopocentricPhysical ¶
func MoonTopocentricPhysical(jd, observerLon, observerLat, height float64) MoonPhysicalInfo
MoonTopocentricPhysical 月球站心物理观测参数 / topocentric physical observing parameters of the Moon.
func MoonTopocentricPhysicalN ¶
func MoonTopocentricPhysicalN(jd, observerLon, observerLat, height float64, n int) MoonPhysicalInfo
MoonTopocentricPhysicalN 月球站心物理观测参数(截断版) / truncated topocentric physical observing parameters of the Moon.
type MoonPlanetConjunctionPlanet ¶ added in v0.1.4
type MoonPlanetConjunctionPlanet int
MoonPlanetConjunctionPlanet 月球合月目标行星 / target planet for Moon-planet conjunction events.
const ( MoonPlanetConjunctionMercury MoonPlanetConjunctionPlanet = iota + 1 MoonPlanetConjunctionVenus MoonPlanetConjunctionMars MoonPlanetConjunctionJupiter MoonPlanetConjunctionSaturn MoonPlanetConjunctionUranus MoonPlanetConjunctionNeptune )
type Observer ¶ added in v0.2.0
type Observer struct {
// Longitude 是经度,东经为正,单位为度。
// Longitude is east-positive, in degrees.
Longitude float64
// Latitude 是纬度,北纬为正,单位为度。
// Latitude is north-positive, in degrees.
Latitude float64
// Height 是观测者相对平均海平面的高度,单位为米。
// Height is the observer elevation above mean sea level, in meters.
Height float64
}
Observer 描述站心观测地点。 Observer describes the topocentric observing site.
type OccultationPathOptions ¶ added in v0.2.0
OccultationPathOptions 控制全球月掩路径采样。
Step 为路径采样的基础时间步长,正值至少为 1 秒。TargetSpacingKM 要求相邻中心线点超过目标地面距离时进行自适应加密。 正的 TargetSpacingKM 至少为 1 km;超过中心线或有限盘面路径工作量预算时返回 ErrOccultationPathSamplingLimit,不会静默降低请求分辨率。行星瞬时足迹使用结果中说明的独立有界采样策略。 OccultationPathOptions controls global occultation-path sampling. Step is the base time step used for path samples; positive values must be at least one second. TargetSpacingKM requests adaptive refinement when adjacent center-line points exceed the requested ground distance. Positive TargetSpacingKM values must be at least 1 km. Requests that exceed the center-line or aggregate finite-disk work budgets return ErrOccultationPathSamplingLimit instead of silently reducing resolution. Planetary instantaneous footprints have a separate bounded sampling policy documented on the result.
func (OccultationPathOptions) Validate ¶ added in v0.2.0
func (o OccultationPathOptions) Validate() error
Validate 检查全球路径采样选项。 Validate checks global path sampling options.
type OccultationPathPoint ¶ added in v0.2.0
type OccultationPathPoint struct {
Time time.Time
Longitude float64
Latitude float64
MoonAltitude float64
WidthKM float64
}
OccultationPathPoint 是全球月掩路径上的一个地理采样点。 Start 和 End 描述月缘外接触掩带;WidthKM 是垂直地面轨迹方向的切平面宽度,仅对中心线采样点有意义。 基础采样直接求解,自适应插入点使用宽度插值并进行五米采样误差检查。 OccultationPathPoint is a geographic sample of a global lunar-occultation path. Start and End describe the outer lunar-limb footprint. WidthKM is the local tangent-plane width perpendicular to the ground track and is meaningful only on center-line samples. Base samples are solved directly; adaptive samples use width interpolation and five-meter error checks.
type OccultationPlanet ¶ added in v0.2.0
type OccultationPlanet string
OccultationPlanet 标识有限盘面的行星目标。 OccultationPlanet identifies a finite-disk planetary target.
const ( // OccultationMercury 表示水星有限盘面目标。 // OccultationMercury identifies Mercury as the finite-disk target. OccultationMercury OccultationPlanet = "mercury" // OccultationVenus 表示金星有限盘面目标。 // OccultationVenus identifies Venus as the finite-disk target. OccultationVenus OccultationPlanet = "venus" // OccultationMars 表示火星有限盘面目标。 // OccultationMars identifies Mars as the finite-disk target. OccultationMars OccultationPlanet = "mars" // OccultationJupiter 表示木星有限盘面目标。 // OccultationJupiter identifies Jupiter as the finite-disk target. OccultationJupiter OccultationPlanet = "jupiter" // OccultationSaturn 表示土星有限盘面目标。 // OccultationSaturn identifies Saturn as the finite-disk target. OccultationSaturn OccultationPlanet = "saturn" // OccultationUranus 表示天王星有限盘面目标。 // OccultationUranus identifies Uranus as the finite-disk target. OccultationUranus OccultationPlanet = "uranus" // OccultationNeptune 表示海王星有限盘面目标。 // OccultationNeptune identifies Neptune as the finite-disk target. OccultationNeptune OccultationPlanet = "neptune" )
func (OccultationPlanet) String ¶ added in v0.2.0
func (p OccultationPlanet) String() string
String 返回结果标识中使用的英文目标名称。 String returns the English target name used in result identifiers.
func (OccultationPlanet) Validate ¶ added in v0.2.0
func (p OccultationPlanet) Validate() error
Validate 检查行星目标是否受支持。 Validate checks whether the planetary target is supported.
type OccultationSearchOptions ¶ added in v0.2.0
type OccultationSearchOptions struct {
// MaxStep 是粗略搜索的最大步长;小于 250ms 的正值会被拒绝,因为在支持的时间范围内无法可靠地用儒略日浮点数推进。
// MaxStep is the maximum coarse-search step. Positive values below 250 ms are rejected because they cannot be advanced reliably in Julian-day floating-point arithmetic over the supported time span.
MaxStep time.Duration
// SafetyMarginArcsec 是加入粗略候选和黄纬预筛的安全余量,单位为角秒。
// SafetyMarginArcsec is added to coarse candidate and latitude prefilters.
SafetyMarginArcsec float64
// MaxEvents 为正时限制返回事件数量。
// MaxEvents limits the number of returned events when positive.
MaxEvents int
}
OccultationSearchOptions 控制固定目标和行星月掩搜索。 零值使用实现默认值;MaxEvents == 0 表示不限制数量。 OccultationSearchOptions controls fixed-target and planetary occultation searches. Zero values select implementation defaults; MaxEvents == 0 means unlimited.
func (OccultationSearchOptions) Validate ¶ added in v0.2.0
func (o OccultationSearchOptions) Validate() error
Validate 检查选项值,但不选择算法专用默认值。 Validate checks option values without selecting algorithm-specific defaults.
type OccultationType ¶ added in v0.2.0
type OccultationType string
OccultationType 标识月掩结果的几何类型。 OccultationType identifies the result geometry.
const ( // OccultationTotal 表示掩甚时目标盘面被完全覆盖。 // OccultationTotal means the target disk is fully covered at greatest occultation. OccultationTotal OccultationType = "total" // OccultationPartial 表示掩甚时有限目标盘面只有部分被覆盖。 // OccultationPartial means only part of a finite target disk is covered at greatest occultation. OccultationPartial OccultationType = "partial" // OccultationGrazing 表示两边缘相切,且没有正持续时间的重叠。 // OccultationGrazing means the limbs are tangent without a positive-duration overlap. OccultationGrazing OccultationType = "grazing" )
type OrbitElements ¶
type OrbitElements struct {
EpochJD float64
A float64 // 半长径 / semi-major axis in AU.
E float64 // 离心率 / eccentricity.
I float64 // 轨道倾角 / inclination in degrees.
Omega float64 // 升交点黄经 / longitude of ascending node in degrees.
W float64 // 近日点幅角 / argument of perihelion in degrees.
M0 float64 // 历元平近点角 / mean anomaly at epoch in degrees.
Q float64 // 近日点距离 / perihelion distance in AU.
TpJD float64 // 近日点通过时刻 / perihelion passage TT/TDB Julian day.
ADot float64 // 半长径日变化 / daily rate of A in AU/day.
EDot float64 // 离心率日变化 / daily rate of E per day.
IDot float64 // 倾角日变化 / daily rate of I in deg/day.
OmegaDot float64 // 升交点黄经日变化 / daily rate of Omega in deg/day.
WDot float64 // 近日点幅角日变化 / daily rate of W in deg/day.
MDot float64 // 平近点角日变化 / daily rate of M in deg/day.
}
OrbitElements 日心二体圆锥曲线根数,参考系为 J2000 平黄道/平春分点。 EpochJD 与 TpJD 使用 TT/TDB 对应的儒略日。
两种输入形式: 1. 椭圆经典根数:A/E/I/Omega/W/M0(原有形式) 2. 近日点形式:Q/E/I/Omega/W/TpJD,用于高偏心、抛物或双曲轨道
线性 rates 仅作用于经典根数形式,单位均为“每天变化量”。
type PlanetOccultationDiagramFrame ¶ added in v0.2.0
type PlanetOccultationDiagramFrame struct {
// JDE 是 TT 儒略历书日。
// JDE is the TT Julian ephemeris day.
JDE float64
// PlanetXArcsec 和 PlanetYArcsec 是相对月心的切平面偏移,单位为角秒。X 向东为正,Y 向北为正。
// PlanetXArcsec and PlanetYArcsec are tangent-plane offsets from the lunar center. X is positive east and Y is positive north.
PlanetXArcsec float64
PlanetYArcsec float64
// MoonRadiusArcsec 和 PlanetRadiusArcsec 是站心视半径,单位为角秒。
// MoonRadiusArcsec and PlanetRadiusArcsec are topocentric apparent semidiameters.
MoonRadiusArcsec float64
PlanetRadiusArcsec float64
// SeparationArcsec 和 PositionAngleDeg 描述行星中心相对月心的位置。
// SeparationArcsec and PositionAngleDeg describe the planet center relative to the lunar center.
SeparationArcsec float64
PositionAngleDeg float64
// MoonAltitudeDeg 和 MoonAzimuthDeg 是站心地平坐标。
// MoonAltitudeDeg and MoonAzimuthDeg are topocentric horizontal coordinates.
MoonAltitudeDeg float64
MoonAzimuthDeg float64
// DisksOverlap 表示两个视盘面存在正面积交集。
// DisksOverlap is true while the two apparent disks have a positive-area intersection.
DisksOverlap bool
// FullyOcculted 表示行星盘面完全位于月缘内侧。
// FullyOcculted is true while the planet disk lies strictly inside the lunar limb.
FullyOcculted bool
// Label 是主阶段标识;Labels 在掠掩事件中保留重合阶段。
// Label is the primary key phase; Labels retains coincident phases for grazing events.
Label string
Labels []string
}
PlanetOccultationDiagramFrame 描述一个时刻的站心月球与行星几何。 PlanetOccultationDiagramFrame describes topocentric Moon-planet geometry at one instant.
type PlanetOccultationDiagramOptions ¶ added in v0.2.0
type PlanetOccultationDiagramOptions struct {
// StepDays 是请求的轨迹采样步长,单位为日;非正值或非有限值使用两分钟,正值小于一秒时使用一秒。长事件可能增大实际步长,使基础轨迹不超过 2000 个采样点;必要阶段帧仍会额外保留。结果会报告实际采用的值。
// StepDays is the requested track sampling step in days. Non-positive or non-finite values use two minutes, and positive values below one second use one second. Long events may increase the effective step to keep the base track within 2000 samples; required phase frames are retained in addition. The result reports the effective value.
StepDays float64
}
PlanetOccultationDiagramOptions 控制本地行星月掩轨迹采样。 PlanetOccultationDiagramOptions controls local planetary-occultation track sampling.
type PlanetOccultationDiagramResult ¶ added in v0.2.0
type PlanetOccultationDiagramResult struct {
Occultation PlanetOccultationInfo
Frames []PlanetOccultationDiagramFrame
// StepDays 是实际采用的基础轨迹采样步长,单位为日。
// StepDays is the effective base-track sampling step in days.
StepDays float64
}
PlanetOccultationDiagramResult 包含固定地点行星月掩的几何数据。 PlanetOccultationDiagramResult contains geometry for a fixed-site planetary occultation.
func PlanetOccultationDiagram ¶ added in v0.2.0
func PlanetOccultationDiagram( info PlanetOccultationInfo, options PlanetOccultationDiagramOptions, ) PlanetOccultationDiagramResult
PlanetOccultationDiagram 为已求解的固定地点行星月掩计算以月心为原点的切平面轨迹。事件数据无效或不完整时,结果不含帧。 PlanetOccultationDiagram computes a Moon-centered tangent-plane track for an already solved fixed-site planetary occultation. Invalid or incomplete event data produces a result without frames.
type PlanetOccultationFootprint ¶ added in v0.2.0
type PlanetOccultationFootprint struct {
Time time.Time
Polygons [][]OccultationPathPoint
}
PlanetOccultationFootprint 是一个时刻的可见接触足迹。 Polygons 包含接触锥圆弧;当锥面与椭球的交线在朝月半球开放时,沿月球地平线闭合。 PlanetOccultationFootprint is one instantaneous visible contact footprint. Polygons contain contact-cone arcs closed along the lunar horizon when the cone/ellipsoid intersection is open on the Moon-facing hemisphere.
type PlanetOccultationInfo ¶ added in v0.2.0
type PlanetOccultationInfo struct {
Planet OccultationPlanet
TargetID string
Observer Observer
Type OccultationType
ExternalImmersion time.Time
InternalImmersion time.Time
Greatest time.Time
InternalEmersion time.Time
ExternalEmersion time.Time
HasInternalContacts bool
ContactsComplete bool
MinimumSeparationArcsec float64
PositionAngleDeg float64
MoonSemidiameterArcsec float64
PlanetSemidiameterArcsec float64
MoonAltitudeAtGreatest float64
MoonAzimuthAtGreatest float64
VisibleAtGreatest bool
}
PlanetOccultationInfo 描述有限盘面行星月掩。 ExternalImmersion 和 ExternalEmersion 分别是 C1 和 C4;全掩事件的 InternalImmersion 和 InternalEmersion 分别是 C2 和 C3,偏掩和掠掩时为零。 ContactsComplete 表示报告几何适用的所有接触均已求解;目标按赤道半径建模为圆盘,环、大气延伸和扁率不在模型内。 PlanetOccultationInfo describes a finite-disk planetary occultation. ExternalImmersion and ExternalEmersion are C1 and C4. For a total event, InternalImmersion and InternalEmersion are C2 and C3; they are zero for partial and grazing events. ContactsComplete means every contact applicable to the reported geometry was solved. The target is modeled as a circular disk using its equatorial body radius; rings, atmospheric extensions, and oblateness are outside this contact model.
func FindBestPlanetOccultations ¶ added in v0.2.0
func FindBestPlanetOccultations(start, end time.Time, planet OccultationPlanet, options OccultationSearchOptions) ([]PlanetOccultationInfo, error)
FindBestPlanetOccultations 返回窗口内每次有限盘面行星月掩的全球海平面几何掩甚点。 地心数据只用于搜索初值;返回位置与 FindPlanetOccultationPaths 一致,地平线可见性只报告、不参与点选择。距离查询端点 10 ms 内的掩甚时刻也会包含,与数值根精度一致。 FindBestPlanetOccultations returns the global geometric greatest point at sea level for every finite-disk planetary occultation in the window. Geocentric data only seeds the search. The returned location matches FindPlanetOccultationPaths; horizon visibility is reported but does not select the point. A greatest instant within 10 ms of either query endpoint is included, matching the numerical root precision.
func FindPlanetOccultations ¶ added in v0.2.0
func FindPlanetOccultations(start, end time.Time, planet OccultationPlanet, longitude, latitude, height float64, options OccultationSearchOptions) ([]PlanetOccultationInfo, error)
FindPlanetOccultations 搜索固定观测点的有限盘面行星月掩。 经度东为正、纬度北为正,单位为度;高度为平均海平面以上米数。目标位置、视差和视半径会在每次候选、掩甚和接触计算时重新计算。 FindPlanetOccultations searches one finite-disk planet at a fixed observing site. Longitude is east-positive in degrees, latitude is north-positive in degrees, and height is the observer elevation above mean sea level in meters. The target position, parallax, and semidiameter are recomputed at every candidate, greatest, and contact evaluation.
type PlanetOccultationPath ¶ added in v0.2.0
type PlanetOccultationPath struct {
Planet OccultationPlanet
TargetID string
Start OccultationPathPoint
Greatest OccultationPathPoint
End OccultationPathPoint
// Complete 表示 Start 和 End 是全球外接触点。
// Complete is true when Start and End are the global outer contacts.
Complete bool
CenterLine []OccultationPathPoint
NorthernLimit []OccultationPathPoint
SouthernLimit []OccultationPathPoint
// PartialFootprints 是时刻采样的可见外接触区域,其扫掠构成全球偏掩区域;为限制输出和运行时间,采样可能比 Step 更粗,
// 每个足迹携带实际采样时刻。
// PartialFootprints are instantaneous visible outer-contact regions whose sweep forms the global partial-occultation area. To bound output and runtime, sampling may be coarser than Step; each footprint carries its actual sample time.
PartialFootprints []PlanetOccultationFootprint
HasTotalBand bool
// TotalStart 和 TotalEnd 是全球内接触的起止点。
// TotalStart and TotalEnd are the first and last global inner contacts.
TotalStart OccultationPathPoint
TotalEnd OccultationPathPoint
// TotalComplete 表示 TotalStart 和 TotalEnd 未被内部搜索范围截断。
// TotalComplete is true when TotalStart and TotalEnd are not clipped by the internal search span.
TotalComplete bool
NorthernTotalLimit []OccultationPathPoint
SouthernTotalLimit []OccultationPathPoint
// TotalFootprints 是时刻采样的可见内接触区域,其扫掠构成全球全掩区域;采样使用与 PartialFootprints 相同的有界策略。
// TotalFootprints are instantaneous visible inner-contact regions whose sweep forms the global full-coverage area. Their sampling uses the same bounded policy as PartialFootprints.
TotalFootprints []PlanetOccultationFootprint
// GreatestTotalWidthKM 是全球掩甚时的全掩带宽度。
// GreatestTotalWidthKM is the full-coverage band width at global greatest.
GreatestTotalWidthKM float64
Step time.Duration
TargetSpacingKM float64
}
PlanetOccultationPath 包含有限盘面行星月掩的全球掩带。 NorthernLimit 和 SouthernLimit 是行星盘面任意部分被覆盖的外接触边界。 HasTotalBand 为 true 时,NorthernTotalLimit 和 SouthernTotalLimit 是行星圆盘完全被月球覆盖的内接触边界; 环、大气延伸和扁率不在两种接触模型内。 PlanetOccultationPath contains the global footprint of a finite-disk planetary occultation. NorthernLimit and SouthernLimit are the outer-contact boundaries where any part of the planet disk is covered. When HasTotalBand is true, NorthernTotalLimit and SouthernTotalLimit are the inner-contact boundaries where the complete circular planet disk is covered by the Moon. Rings, atmospheric extensions, and oblateness are outside both contact models.
func FindPlanetOccultationPaths ¶ added in v0.2.0
func FindPlanetOccultationPaths(start, end time.Time, planet OccultationPlanet, options OccultationPathOptions) ([]PlanetOccultationPath, error)
FindPlanetOccultationPaths 搜索有限盘面行星月掩的全球外接触和内接触掩带。 查询窗口按全球几何掩甚点选择事件;端点容差 10 ms 与数值根精度一致。求解成功时,每条路径扩展到完整全球起止点。 FindPlanetOccultationPaths searches the global outer- and inner-contact footprints of one finite-disk planet. The query window selects events by global geometric greatest, with a 10 ms endpoint tolerance matching the numerical root precision. Each returned path expands to its complete global start and end when solved.
type PlanetPhysicalInfo ¶
type PlanetPhysicalInfo struct {
// SubEarthLongitude 子地经度,单位度;正方向遵循该天体当前 IAU/Horizons 制图约定。
SubEarthLongitude float64
// SubEarthLatitude 子地纬度,单位度。
SubEarthLatitude float64
// SubSolarLongitude 子日经度,单位度;正方向遵循该天体当前 IAU/Horizons 制图约定。
SubSolarLongitude float64
// SubSolarLatitude 子日纬度,单位度。
SubSolarLatitude float64
// NorthPolePositionAngle 天体北极位置角,单位度。
NorthPolePositionAngle float64
}
PlanetPhysicalInfo 行星物理观测参数 / planetary physical observing parameters.
func JupiterPhysical ¶
func JupiterPhysical(jd float64) PlanetPhysicalInfo
JupiterPhysical 木星物理观测参数 / physical observing parameters of Jupiter.
func JupiterPhysicalN ¶
func JupiterPhysicalN(jd float64, n int) PlanetPhysicalInfo
JupiterPhysicalN 木星物理观测参数(截断版) / truncated physical observing parameters of Jupiter.
func MarsPhysical ¶
func MarsPhysical(jd float64) PlanetPhysicalInfo
MarsPhysical 火星物理观测参数 / physical observing parameters of Mars.
func MarsPhysicalN ¶
func MarsPhysicalN(jd float64, n int) PlanetPhysicalInfo
MarsPhysicalN 火星物理观测参数(截断版) / truncated physical observing parameters of Mars.
func MercuryPhysical ¶
func MercuryPhysical(jd float64) PlanetPhysicalInfo
MercuryPhysical 水星物理观测参数 / physical observing parameters of Mercury.
func MercuryPhysicalN ¶
func MercuryPhysicalN(jd float64, n int) PlanetPhysicalInfo
MercuryPhysicalN 水星物理观测参数(截断版) / truncated physical observing parameters of Mercury.
func NeptunePhysical ¶
func NeptunePhysical(jd float64) PlanetPhysicalInfo
NeptunePhysical 海王星物理观测参数 / physical observing parameters of Neptune.
func NeptunePhysicalN ¶
func NeptunePhysicalN(jd float64, n int) PlanetPhysicalInfo
NeptunePhysicalN 海王星物理观测参数(截断版) / truncated physical observing parameters of Neptune.
func SaturnPhysical ¶
func SaturnPhysical(jd float64) PlanetPhysicalInfo
SaturnPhysical 土星物理观测参数 / physical observing parameters of Saturn.
func SaturnPhysicalN ¶
func SaturnPhysicalN(jd float64, n int) PlanetPhysicalInfo
SaturnPhysicalN 土星物理观测参数(截断版) / truncated physical observing parameters of Saturn.
func UranusPhysical ¶
func UranusPhysical(jd float64) PlanetPhysicalInfo
UranusPhysical 天王星物理观测参数 / physical observing parameters of Uranus.
func UranusPhysicalN ¶
func UranusPhysicalN(jd float64, n int) PlanetPhysicalInfo
UranusPhysicalN 天王星物理观测参数(截断版) / truncated physical observing parameters of Uranus.
func VenusPhysical ¶
func VenusPhysical(jd float64) PlanetPhysicalInfo
VenusPhysical 金星物理观测参数 / physical observing parameters of Venus.
func VenusPhysicalN ¶
func VenusPhysicalN(jd float64, n int) PlanetPhysicalInfo
VenusPhysicalN 金星物理观测参数(截断版) / truncated physical observing parameters of Venus.
type PlanetTransitResult ¶ added in v0.1.1
type PlanetTransitResult struct {
Valid bool
// PlanetIndex 为行星序号,1 表示水星,2 表示金星。
PlanetIndex int
// ExternalIngress / ExternalEgress 为一触 / 四触。
ExternalIngress float64
ExternalEgress float64
// InternalIngress / InternalEgress 为二触 / 三触。掠凌没有内切接触时为 0。
InternalIngress float64
InternalEgress float64
// Greatest 为凌甚,即行星中心最接近太阳中心的时刻。
Greatest float64
MinimumSeparationArcsec float64
SunSemidiameterArcsec float64
PlanetSemidiameterArcsec float64
HasExternal bool
HasInternal bool
}
PlanetTransitResult 表示一次地心行星凌日结果。
Valid 为 false 时表示没有找到有效凌日。所有时刻字段均为 UT 儒略日。 MinimumSeparationArcsec、SunSemidiameterArcsec、PlanetSemidiameterArcsec 的单位均为角秒。
func ClosestMercuryTransit ¶ added in v0.1.1
func ClosestMercuryTransit(jde float64) PlanetTransitResult
ClosestMercuryTransit 返回距给定时刻最近的一次地心水星凌日。
func ClosestVenusTransit ¶ added in v0.1.1
func ClosestVenusTransit(jde float64) PlanetTransitResult
ClosestVenusTransit 返回距给定时刻最近的一次地心金星凌日。
func LastMercuryTransit ¶ added in v0.1.1
func LastMercuryTransit(jde float64) PlanetTransitResult
LastMercuryTransit 返回给定时刻之前的上一次地心水星凌日。
func LastVenusTransit ¶ added in v0.1.1
func LastVenusTransit(jde float64) PlanetTransitResult
LastVenusTransit 返回给定时刻之前的上一次地心金星凌日。
func NextMercuryTransit ¶ added in v0.1.1
func NextMercuryTransit(jde float64) PlanetTransitResult
NextMercuryTransit 返回给定时刻之后的下一次地心水星凌日。
func NextVenusTransit ¶ added in v0.1.1
func NextVenusTransit(jde float64) PlanetTransitResult
NextVenusTransit 返回给定时刻之后的下一次地心金星凌日。
type SolarEclipseCentrality ¶
type SolarEclipseCentrality string
SolarEclipseCentrality 表示中心线进入地球的方式。
const ( // SolarEclipseNonCentral 表示无中心线进入地球。 SolarEclipseNonCentral SolarEclipseCentrality = "non_central" // SolarEclipseCentralOneLimit 表示中心线只形成一侧极限条件。 SolarEclipseCentralOneLimit SolarEclipseCentrality = "central_one_limit" // SolarEclipseCentralTwoLimits 表示中心线完整进入地球,两侧都有界线。 SolarEclipseCentralTwoLimits SolarEclipseCentrality = "central_two_limits" )
type SolarEclipsePartialAreaOptions ¶
type SolarEclipsePartialAreaOptions = SolarEclipsePartialFootprintOptions
SolarEclipsePartialAreaOptions 是 SolarEclipsePartialFootprintOptions 的兼容别名。 SolarEclipsePartialAreaOptions is a compatibility alias for SolarEclipsePartialFootprintOptions.
type SolarEclipsePartialAreaResult ¶
type SolarEclipsePartialAreaResult = SolarEclipsePartialFootprintsResult
SolarEclipsePartialAreaResult 是 SolarEclipsePartialFootprintsResult 的兼容别名。 SolarEclipsePartialAreaResult is a compatibility alias for SolarEclipsePartialFootprintsResult.
func SolarEclipsePartialArea ¶
func SolarEclipsePartialArea(seedJDE float64, options SolarEclipsePartialAreaOptions) SolarEclipsePartialAreaResult
SolarEclipsePartialArea 计算日食偏食半影足迹序列,是 SolarEclipsePartialFootprints 的兼容包装。 SolarEclipsePartialArea computes penumbral footprint samples and is a compatibility wrapper for SolarEclipsePartialFootprints.
func SolarEclipsePartialAreaIAUSingleK ¶
func SolarEclipsePartialAreaIAUSingleK(seedJDE float64, options SolarEclipsePartialAreaOptions) SolarEclipsePartialAreaResult
SolarEclipsePartialAreaIAUSingleK 计算日食偏食半影足迹序列,是 SolarEclipsePartialFootprintsIAUSingleK 的兼容包装。 SolarEclipsePartialAreaIAUSingleK is a compatibility wrapper for SolarEclipsePartialFootprintsIAUSingleK.
func SolarEclipsePartialAreaNASABulletinSplitK ¶
func SolarEclipsePartialAreaNASABulletinSplitK(seedJDE float64, options SolarEclipsePartialAreaOptions) SolarEclipsePartialAreaResult
SolarEclipsePartialAreaNASABulletinSplitK 计算日食偏食半影足迹序列,是 SolarEclipsePartialFootprintsNASABulletinSplitK 的兼容包装。 SolarEclipsePartialAreaNASABulletinSplitK is a compatibility wrapper for SolarEclipsePartialFootprintsNASABulletinSplitK.
type SolarEclipsePartialFootprint ¶
type SolarEclipsePartialFootprint struct {
// JDE 是力学时儒略日, TT Julian ephemeris day.
JDE float64
// Boundaries 是半影边界分段;反经线或无效投影会拆成多段。
// Boundaries are segmented penumbral boundary polylines, split at invalid projections or the antimeridian.
Boundaries [][]SolarEclipsePathPoint
// Closed 表示 Boundaries 是否构成一个闭合边界。
// Closed indicates whether Boundaries form one closed boundary.
Closed bool
}
SolarEclipsePartialFootprint 表示某一时刻的半影足迹边界。 SolarEclipsePartialFootprint is the penumbral footprint boundary at one instant.
type SolarEclipsePartialFootprintOptions ¶
type SolarEclipsePartialFootprintOptions struct {
// StepDays 是基础时间采样步长,单位为日;<=0 时使用 5 分钟。
// StepDays is the base time step in days; values <= 0 use five minutes.
StepDays float64
// BoundaryPoints 是每个瞬时半影边界的角向采样点数;<=0 时使用 180。
// BoundaryPoints is the angular sample count for each instantaneous penumbral boundary; values <= 0 use 180.
BoundaryPoints int
// CentralShadowStepDays 是本影/反本影瞬时足迹的时间步长,单位为日;<=0 时不计算。
// CentralShadowStepDays is the umbral/antumbral footprint step in days; values <= 0 disable it.
CentralShadowStepDays float64
}
SolarEclipsePartialFootprintOptions 控制日食偏食半影足迹采样。 SolarEclipsePartialFootprintOptions controls solar eclipse penumbral footprint sampling.
type SolarEclipsePartialFootprintsResult ¶
type SolarEclipsePartialFootprintsResult struct {
// Eclipse 是对应的全局日食结果, related global solar eclipse result.
Eclipse SolarEclipseResult
// Footprints 是按时间采样的瞬时半影足迹, sampled instantaneous penumbral footprints.
Footprints []SolarEclipsePartialFootprint
// CentralShadowFootprints 是按时间采样的本影/反本影足迹。
// CentralShadowFootprints are sampled umbral/antumbral footprints.
CentralShadowFootprints []SolarEclipsePartialFootprint
// P1-P4 是半影与地球的外切/内切接触点;不存在的内切点保持零值。
// P1-P4 are external/internal penumbral contacts; absent internal contacts remain zero.
P1 SolarEclipsePathPoint
P2 SolarEclipsePathPoint
P3 SolarEclipsePathPoint
P4 SolarEclipsePathPoint
// U1-U4 是本影/反本影与地球的外切/内切接触点;不存在时保持零值。
// U1-U4 are external/internal umbral/antumbral contacts; absent contacts remain zero.
U1 SolarEclipsePathPoint
U2 SolarEclipsePathPoint
U3 SolarEclipsePathPoint
U4 SolarEclipsePathPoint
// StepDays 是实际采用的基础时间采样步长,单位为日。
// StepDays is the effective base time step in days.
StepDays float64
// BoundaryPoints 是实际采用的边界角向采样点数。
// BoundaryPoints is the effective angular sample count for each boundary.
BoundaryPoints int
// CentralShadowStepDays 是本影/反本影足迹的实际采样步长;0 表示未计算。
// CentralShadowStepDays is the effective umbral/antumbral footprint step; zero means disabled.
CentralShadowStepDays float64
}
SolarEclipsePartialFootprintsResult 表示一次日食的偏食半影足迹序列。 SolarEclipsePartialFootprintsResult contains penumbral footprint samples for a solar eclipse.
func SolarEclipsePartialFootprints ¶
func SolarEclipsePartialFootprints(seedJDE float64, options SolarEclipsePartialFootprintOptions) SolarEclipsePartialFootprintsResult
SolarEclipsePartialFootprints 计算给定近朔时刻附近的日食偏食半影足迹序列,默认使用 NASA bulletin Split-K 模型。 SolarEclipsePartialFootprints computes penumbral footprint samples near the given new-moon seed, using NASA bulletin Split-K by default.
func SolarEclipsePartialFootprintsIAUSingleK ¶
func SolarEclipsePartialFootprintsIAUSingleK(seedJDE float64, options SolarEclipsePartialFootprintOptions) SolarEclipsePartialFootprintsResult
SolarEclipsePartialFootprintsIAUSingleK 计算日食偏食半影足迹序列,使用 IAU Single-K 模型。 SolarEclipsePartialFootprintsIAUSingleK computes penumbral footprint samples with the IAU Single-K model.
func SolarEclipsePartialFootprintsNASABulletinSplitK ¶
func SolarEclipsePartialFootprintsNASABulletinSplitK(seedJDE float64, options SolarEclipsePartialFootprintOptions) SolarEclipsePartialFootprintsResult
SolarEclipsePartialFootprintsNASABulletinSplitK 计算日食偏食半影足迹序列,使用 NASA bulletin Split-K 模型。 SolarEclipsePartialFootprintsNASABulletinSplitK computes penumbral footprint samples with the NASA bulletin Split-K model.
type SolarEclipsePathOptions ¶
type SolarEclipsePathOptions struct {
// StepDays 是基础时间采样步长,单位为日;<=0 时使用 1 分钟。
// StepDays is the base time step in days; values <= 0 use one minute.
StepDays float64
// TargetSpacingKM 是相邻中心线点的最大目标地表距离;<=0 时不按距离加密。
// TargetSpacingKM is the target maximum ground spacing between centerline points; values <= 0 disable spacing refinement.
TargetSpacingKM float64
}
SolarEclipsePathOptions 控制日食中心路径采样。 SolarEclipsePathOptions controls central solar eclipse path sampling.
type SolarEclipsePathPoint ¶
type SolarEclipsePathPoint struct {
// JDE 是力学时儒略日, TT Julian ephemeris day.
JDE float64
// Longitude 经度,东正西负, longitude in degrees, east positive.
Longitude float64
// Latitude 纬度,北正南负, latitude in degrees, north positive.
Latitude float64
// SunAltitude 太阳高度角,单位度, Sun altitude in degrees.
SunAltitude float64
// WidthKM 中心食带宽度,单位千米;仅中心线点有意义。
// WidthKM is the central path width in kilometers; meaningful for centerline points.
WidthKM float64
}
SolarEclipsePathPoint 表示日食路径上的一个地理点。 SolarEclipsePathPoint is one geographic point on a solar eclipse path.
type SolarEclipsePathResult ¶
type SolarEclipsePathResult struct {
// Eclipse 是对应的全局日食结果, related global solar eclipse result.
Eclipse SolarEclipseResult
// Greatest 是食甚点/最佳观测点, greatest eclipse point.
Greatest SolarEclipsePathPoint
// CenterLine 是中心线, central line.
CenterLine []SolarEclipsePathPoint
// NorthernLimit 是中心食带北界近似线, approximate northern limit of the central path.
NorthernLimit []SolarEclipsePathPoint
// SouthernLimit 是中心食带南界近似线, approximate southern limit of the central path.
SouthernLimit []SolarEclipsePathPoint
// StepDays 是实际采用的基础时间采样步长,单位为日。
// StepDays is the effective base time step in days.
StepDays float64
// TargetSpacingKM 是实际采用的目标空间采样距离,单位千米。
// TargetSpacingKM is the effective target spacing in kilometers.
TargetSpacingKM float64
}
SolarEclipsePathResult 表示一次中心日食的路径数据。 SolarEclipsePathResult contains central solar eclipse path data.
func SolarEclipseCentralPath ¶
func SolarEclipseCentralPath(seedJDE float64, options SolarEclipsePathOptions) SolarEclipsePathResult
SolarEclipseCentralPath 计算给定近朔时刻附近的日食中心路径,默认使用 NASA bulletin Split-K 模型。 SolarEclipseCentralPath computes the central path near the given new-moon seed, using NASA bulletin Split-K by default.
func SolarEclipseCentralPathIAUSingleK ¶
func SolarEclipseCentralPathIAUSingleK(seedJDE float64, options SolarEclipsePathOptions) SolarEclipsePathResult
SolarEclipseCentralPathIAUSingleK 计算日食中心路径,使用 IAU Single-K 模型。 SolarEclipseCentralPathIAUSingleK computes the central path with the IAU Single-K model.
func SolarEclipseCentralPathNASABulletinSplitK ¶
func SolarEclipseCentralPathNASABulletinSplitK(seedJDE float64, options SolarEclipsePathOptions) SolarEclipsePathResult
SolarEclipseCentralPathNASABulletinSplitK 计算日食中心路径,使用 NASA bulletin Split-K 模型。 SolarEclipseCentralPathNASABulletinSplitK computes the central path with the NASA bulletin Split-K model.
type SolarEclipseRadiusModel ¶
type SolarEclipseRadiusModel string
SolarEclipseRadiusModel 表示日食计算中月亮平均半径 k 的取法。
const ( // SolarEclipseModelIAUSingleK 使用 IAU 单一月亮平均半径 k。 SolarEclipseModelIAUSingleK SolarEclipseRadiusModel = "iau_single_k" // SolarEclipseModelNASABulletinSplitK 使用 NASA bulletin 的 Split-K 口径。 SolarEclipseModelNASABulletinSplitK SolarEclipseRadiusModel = "nasa_bulletin_split_k" )
type SolarEclipseResult ¶
type SolarEclipseResult struct {
Model SolarEclipseRadiusModel
Type SolarEclipseType
Centrality SolarEclipseCentrality
// GreatestEclipse 是全局“影轴最接近地心”的时刻。
GreatestEclipse float64
// PartialBeginOnEarth / PartialEndOnEarth 是地球范围的偏食开始 / 结束时刻。
PartialBeginOnEarth float64
PartialEndOnEarth float64
// CentralBeginOnEarth / CentralEndOnEarth 是中心线进入 / 离开地球的时刻。
CentralBeginOnEarth float64
CentralEndOnEarth float64
// Magnitude 是全局食分。
Magnitude float64
// Gamma 是月影轴到地心的有符号最小距离,单位为地球赤道半径。
Gamma float64
// PathWidthKM 是食甚点处中心食带宽度。非中心食时为 0。
PathWidthKM float64
// GreatestLongitude / GreatestLatitude 是日食食甚点地理坐标,东经为正,西经为负。
GreatestLongitude float64
GreatestLatitude float64
HasPartial bool
HasCentral bool
HasAnnular bool
HasTotal bool
HasHybrid bool
}
SolarEclipseResult 表示一次朔月附近的全局日食几何结果。
所有时刻字段都使用力学时儒略日(JDE, TT)。 输入 seedJDE 只需要落在目标朔月附近,允许相差数天。
func SolarEclipse ¶
func SolarEclipse(seedJDE float64) SolarEclipseResult
SolarEclipse 计算给定近朔时刻附近的一次全局日食,默认使用 NASABulletin Split-K 模型。
func SolarEclipseIAUSingleK ¶
func SolarEclipseIAUSingleK(seedJDE float64) SolarEclipseResult
SolarEclipseIAUSingleK 计算给定近朔时刻附近的一次全局日食,使用 IAU Single-K 模型。
func SolarEclipseNASABulletinSplitK ¶
func SolarEclipseNASABulletinSplitK(seedJDE float64) SolarEclipseResult
SolarEclipseNASABulletinSplitK 计算给定近朔时刻附近的一次全局日食,使用 NASA bulletin Split-K 模型。
type SolarEclipseType ¶
type SolarEclipseType string
SolarEclipseType 表示整场日食的全局食型。
const ( // SolarEclipseNone 表示该次朔月没有发生日食。 SolarEclipseNone SolarEclipseType = "none" // SolarEclipsePartial 表示日偏食。 SolarEclipsePartial SolarEclipseType = "partial" // SolarEclipseAnnular 表示日环食。 SolarEclipseAnnular SolarEclipseType = "annular" // SolarEclipseTotal 表示日全食。 SolarEclipseTotal SolarEclipseType = "total" // SolarEclipseHybrid 表示全环食/混合食。 SolarEclipseHybrid SolarEclipseType = "hybrid" )
type StarCoordinate ¶ added in v0.2.0
type StarCoordinate struct {
ID string
RA float64
Dec float64
Epoch time.Time
Frame CoordinateFrame
ProperMotionRACosDecMasPerYear float64
ProperMotionDecMasPerYear float64
ParallaxMas float64
}
StarCoordinate 是调用者为恒星提供的星表坐标或视位置坐标。 RA 和 Dec 的单位为度;ProperMotionRACosDecMasPerYear 使用星表常见的 dRA*cos(Dec) 约定,单位为毫角秒/年。 StarCoordinate is a catalog or apparent coordinate supplied for a star. RA and Dec are degrees; ProperMotionRACosDecMasPerYear uses the usual catalog convention of dRA*cos(Dec), in milliarcseconds per year.
func StarCoordinateFromStarData ¶ added in v0.2.0
func StarCoordinateFromStarData(star StarData) (StarCoordinate, error)
StarCoordinateFromStarData 将一条内嵌星表记录转换为月掩搜索使用的 J2000 坐标契约。 星表自行从角秒/年转换为毫角秒/年;正的秒差距距离转换为毫角秒年视差。本函数只转换传入值,不会加载星表。 StarCoordinateFromStarData converts one embedded-catalog entry into the J2000 coordinate contract used by lunar-occultation searches. The catalog's proper motions are converted from arcseconds/year to milliarcseconds/year; a positive parsec distance is converted to annual parallax in milliarcseconds. This function only converts the supplied value and never loads the catalog.
func (StarCoordinate) Validate ¶ added in v0.2.0
func (s StarCoordinate) Validate() error
Validate 在构造目标前检查恒星坐标契约。 Validate checks the coordinate contract before a target is constructed.
type StarData ¶
type StarData struct {
InnerStarData
ChineseName string
ChineseAlias string
ChineseBayerName string
CommonName string
CommonAliasName string
Cst string
CstChinese string
}
func StarDataByChinese ¶
func StarDataByHR ¶
type StarOccultationDiagramFrame ¶ added in v0.2.0
type StarOccultationDiagramFrame struct {
// JDE 是 TT 儒略历书日。
// JDE is the TT Julian ephemeris day.
JDE float64
// StarXArcsec 和 StarYArcsec 是相对月心的切平面偏移,单位为角秒。X 向东为正,Y 向北为正。
// StarXArcsec and StarYArcsec are tangent-plane offsets from the lunar center. X is positive east and Y is positive north.
StarXArcsec float64
StarYArcsec float64
// MoonRadiusArcsec 是站心月球视半径,单位为角秒。
// MoonRadiusArcsec is the topocentric apparent lunar semidiameter.
MoonRadiusArcsec float64
// SeparationArcsec 和 PositionAngleDeg 描述恒星相对月心的位置。
// SeparationArcsec and PositionAngleDeg describe the star relative to the lunar center.
SeparationArcsec float64
PositionAngleDeg float64
// MoonAltitudeDeg 和 MoonAzimuthDeg 是站心地平坐标。
// MoonAltitudeDeg and MoonAzimuthDeg are topocentric horizontal coordinates.
MoonAltitudeDeg float64
MoonAzimuthDeg float64
// BehindMoon 表示点光源恒星位于月缘内侧。
// BehindMoon is true while the point-source star lies strictly inside the lunar limb.
BehindMoon bool
// Label 是主阶段标识;Labels 在掠掩事件中保留重合阶段。
// Label is the primary key phase; Labels retains coincident phases for grazing events.
Label string
Labels []string
}
StarOccultationDiagramFrame 描述一个时刻的站心月球与恒星几何。 StarOccultationDiagramFrame describes topocentric Moon-star geometry at one instant.
type StarOccultationDiagramOptions ¶ added in v0.2.0
type StarOccultationDiagramOptions struct {
// StepDays 是请求的轨迹采样步长,单位为日;非正值或非有限值使用两分钟,正值小于一秒时使用一秒。长事件可能增大实际步长,使基础轨迹不超过 2000 个采样点;必要阶段帧仍会额外保留。结果会报告实际采用的值。
// StepDays is the requested track sampling step in days. Non-positive or non-finite values use two minutes, and positive values below one second use one second. Long events may increase the effective step to keep the base track within 2000 samples; required phase frames are retained in addition. The result reports the effective value.
StepDays float64
}
StarOccultationDiagramOptions 控制本地恒星月掩图的轨迹采样。 StarOccultationDiagramOptions controls local stellar-occultation diagram sampling.
type StarOccultationDiagramResult ¶ added in v0.2.0
type StarOccultationDiagramResult struct {
Occultation StarOccultationInfo
Frames []StarOccultationDiagramFrame
// StepDays 是实际采用的基础轨迹采样步长,单位为日。
// StepDays is the effective base-track sampling step in days.
StepDays float64
}
StarOccultationDiagramResult 包含固定地点恒星月掩的几何数据。 StarOccultationDiagramResult contains geometry for a fixed-site stellar occultation.
func StarOccultationDiagram ¶ added in v0.2.0
func StarOccultationDiagram( info StarOccultationInfo, star StarCoordinate, options StarOccultationDiagramOptions, ) StarOccultationDiagramResult
StarOccultationDiagram 为已求解的固定地点恒星月掩计算以月心为原点的切平面轨迹。事件数据无效或不完整时,结果不含帧。 StarOccultationDiagram computes a Moon-centered tangent-plane track for an already solved fixed-site stellar occultation. Invalid or incomplete event data produces a result without frames.
type StarOccultationInfo ¶ added in v0.2.0
type StarOccultationInfo struct {
TargetID string
Observer Observer
Type OccultationType
Immersion time.Time
Greatest time.Time
Emersion time.Time
// ContactsComplete 表示两个月缘接触时刻均已求解。
// ContactsComplete is true when both lunar-limb contacts were solved.
ContactsComplete bool
MinimumSeparationArcsec float64
PositionAngleDeg float64
MoonSemidiameterArcsec float64
MoonAltitudeAtGreatest float64
MoonAzimuthAtGreatest float64
VisibleAtGreatest bool
}
StarOccultationInfo 描述点光源恒星月掩;掩始和掩终是月缘交点。 StarOccultationInfo describes a point-source stellar occultation. The immersion and emersion times are the Moon-limb crossings.
func FindBestStarOccultations ¶ added in v0.2.0
func FindBestStarOccultations(start, end time.Time, star StarCoordinate, options OccultationSearchOptions) ([]StarOccultationInfo, error)
FindBestStarOccultations 返回窗口内每次恒星月掩在地球上的全球几何掩甚点。 返回的 StarOccultationInfo.Observer 是海平面大地测量位置,由月掩几何选择,不使用地平线或可见性评分。
地心数据只用于月周期搜索初值;最终点是与 FindStarOccultationPaths 一致的标准全球掩甚路径点,然后在该处重新进行站心接触和可见性计算。查询端点 10 ms 内的掩甚时刻也会包含,与数值根精度一致。 FindBestStarOccultations returns the global geometric greatest point on Earth for each stellar occultation in the window. The returned StarOccultationInfo.Observer is the geodetic location at sea level; it is selected from the occultation geometry, without a horizon or visibility score. Geocentric data only seeds each lunar-month search. The final point is the canonical global greatest-path point, matching FindStarOccultationPaths; event contacts and visibility are then recomputed topocentrically there. A greatest instant within 10 ms of either query endpoint is included, matching the numerical root precision.
func FindStarOccultations ¶ added in v0.2.0
func FindStarOccultations(start, end time.Time, star StarCoordinate, longitude, latitude, height float64, options OccultationSearchOptions) ([]StarOccultationInfo, error)
FindStarOccultations 搜索单颗点源恒星的月掩星。
输入坐标会从历元传播并转换到当日视坐标系;若提供视差,还会修正观测者的恒星视差。 搜索不会加载内嵌 9100 星表;需要全星表搜索时,调用者必须显式加载并选择恒星。经度东为正、纬度北为正,单位为度;高度为平均海平面以上米数。 FindStarOccultations searches for lunar occultations of one point-source star. The input coordinate is propagated from its epoch, converted to the apparent frame of date, and corrected for the observer's stellar parallax when one is supplied. The search does not load the embedded 9100-star catalog; callers that need a catalog-wide search must load and select stars explicitly. Longitude is east-positive in degrees, latitude is north-positive in degrees, and height is the observer elevation above mean sea level in meters.
type StarOccultationPath ¶ added in v0.2.0
type StarOccultationPath struct {
TargetID string
Start OccultationPathPoint
Greatest OccultationPathPoint
End OccultationPathPoint
// Complete 表示 Start 和 End 是全球月缘外接触点,而不是查询窗口裁剪点。
// Complete is true when Start and End are the global outer-limb contacts rather than query-window clipping points.
Complete bool
CenterLine []OccultationPathPoint
NorthernLimit []OccultationPathPoint
SouthernLimit []OccultationPathPoint
Step time.Duration
TargetSpacingKM float64
}
StarOccultationPath 包含点光源恒星月掩的全球掩带。 中心线是月心与恒星对齐的轨迹;NorthernLimit 和 SouthernLimit 是中心线两侧采样的月缘外边界。 StarOccultationPath contains the global footprint of a point-source stellar occultation. The center line is the locus where the lunar center aligns with the star; NorthernLimit and SouthernLimit are the two outer lunar-limb boundaries sampled beside that line.
func FindStarOccultationPaths ¶ added in v0.2.0
func FindStarOccultationPaths(start, end time.Time, star StarCoordinate, options OccultationPathOptions) ([]StarOccultationPath, error)
FindStarOccultationPaths 搜索单颗点源恒星月掩的全球掩带。 查询窗口按全球几何掩甚点选择事件,端点容差为 10 ms,与数值根精度一致。返回路径扩展到完整全球起止点;函数不会加载内嵌星表,调用者需显式提供坐标。 FindStarOccultationPaths searches the global lunar-occultation footprint of one point-source star. The query window selects events by global geometric greatest, with a 10 ms endpoint tolerance matching the numerical root precision. Each returned path expands to its complete global start and end; the function does not load the embedded catalog.
type SunPhysicalInfo ¶
type SunPhysicalInfo struct {
// P 太阳北极位置角,单位度 / position angle of the solar north pole in degrees.
P float64
// B0 日面中心太阳纬度,单位度 / heliographic latitude of the disk center in degrees.
B0 float64
// L0 日面中心卡林顿经度,单位度 / Carrington heliographic longitude of the disk center in degrees.
L0 float64
}
SunPhysicalInfo 太阳物理观测参数 / physical observing parameters of the Sun.
func SunPhysical ¶
func SunPhysical(jd float64) SunPhysicalInfo
SunPhysical 太阳物理观测参数 / physical observing parameters of the Sun.
func SunPhysicalN ¶
func SunPhysicalN(jd float64, n int) SunPhysicalInfo
SunPhysicalN 太阳物理观测参数(截断版) / truncated physical observing parameters of the Sun.
type Vector3 ¶
type Vector3 [3]float64
三维向量
func OrbitAstrometricGeocentricXYZJ2000 ¶
func OrbitAstrometricGeocentricXYZJ2000(jd float64, elements OrbitElements) Vector3
OrbitAstrometricGeocentricXYZJ2000 返回光行时修正后的地心 J2000 平黄道直角坐标,单位 AU。
func OrbitGeocentricXYZ ¶
func OrbitGeocentricXYZ(jd float64, elements OrbitElements) Vector3
OrbitGeocentricXYZ 返回地心历元黄道直角坐标,单位 AU。
func OrbitGeocentricXYZJ2000 ¶
func OrbitGeocentricXYZJ2000(jd float64, elements OrbitElements) Vector3
OrbitGeocentricXYZJ2000 返回地心 J2000 平黄道直角坐标,单位 AU。
func OrbitHeliocentricXYZ ¶
func OrbitHeliocentricXYZ(jd float64, elements OrbitElements) Vector3
OrbitHeliocentricXYZ 返回日心历元黄道直角坐标,单位 AU。
func OrbitHeliocentricXYZJ2000 ¶
func OrbitHeliocentricXYZJ2000(jd float64, elements OrbitElements) Vector3
OrbitHeliocentricXYZJ2000 返回日心 J2000 平黄道直角坐标,单位 AU。
Source Files
¶
- angle_units.go
- apsis.go
- constellation.go
- constellation_meta.go
- coordinate.go
- delta_t.go
- diameter.go
- earth.go
- event_boundary.go
- event_refine.go
- inner_event_window.go
- julian.go
- jupiter.go
- jupiter_events.go
- jupiter_physical.go
- jupiter_satellite_contact_events.go
- jupiter_satellite_events.go
- jupiter_satellite_l1_data.go
- jupiter_satellite_phenomena.go
- jupiter_satellites.go
- lunar_eclipse.go
- lunar_eclipse_diagram.go
- lunisolar.go
- mars.go
- mars_events.go
- mercury.go
- mercury_events.go
- moon.go
- moon_bright_limb.go
- moon_max_declination.go
- moon_observation.go
- moon_phase.go
- moon_physical.go
- moon_planet_conjunction.go
- moon_precision.go
- neptune.go
- neptune_events.go
- nutation.go
- occultation.go
- occultation_path.go
- occultation_planet.go
- occultation_planet_diagram.go
- occultation_planet_footprint.go
- occultation_planet_path.go
- occultation_star.go
- occultation_star_diagram.go
- orbit_coordinates.go
- orbit_elements.go
- orbit_kepler.go
- orbit_magnitude.go
- orbit_observation.go
- orbit_phase.go
- orbital_nodes.go
- parallactic.go
- planet_apparent.go
- planet_phase.go
- planet_physical.go
- planet_transit.go
- planet_truncated.go
- precession.go
- refraction.go
- rise_set.go
- saturn.go
- saturn_events.go
- saturn_ring.go
- solar_eclipse.go
- solar_eclipse_diagram.go
- solar_eclipse_local.go
- solar_eclipse_path.go
- solar_terms.go
- star.go
- star_catalog.go
- star_catalog_data.go
- sun.go
- sun_observation.go
- sun_physical.go
- traditional_calendar.go
- uranus.go
- uranus_events.go
- venus.go
- venus_events.go