moon

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2026 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ERR_MOON_NEVER_RISE = errors.New("ERROR:极夜,月亮在今日永远在地平线下!")
	ERR_MOON_NEVER_SET  = errors.New("ERROR:极昼,月亮在今日永远在地平线上!")
	// ERR_MOON_NEVER_DOWN deprecated: -- use ERR_MOON_NEVER_SET instead
	ERR_MOON_NEVER_DOWN = ERR_MOON_NEVER_SET
	ERR_NOT_TODAY       = errors.New("ERROR:月亮已在(昨日/明日)(升起/降下)")
)

Functions

func Altitude added in v0.1.0

func Altitude(date time.Time, lon, lat float64) float64

Altitude 月亮高度角 / lunar altitude.

date 为观测时刻,会读取其时区参与地方时计算;lon/lat 为观测者经纬度,东正西负、北正南负;返回值单位度。 date is the observing instant and its zone offset participates in local-time calculations. lon/lat are east-positive and north-positive; the result is in degrees.

func ApparentAltitude added in v0.1.0

func ApparentAltitude(date time.Time, lon, lat, pressureHPa, temperatureC float64) float64

ApparentAltitude 月亮视高度角 / apparent lunar altitude.

func ApparentDec

func ApparentDec(date time.Time, lon, lat float64) float64

ApparentDec 月亮站心视赤纬 / apparent topocentric declination.

参数与 ApparentRa 相同,返回月亮站心视赤纬,单位度。 Uses the same inputs as ApparentRa and returns the Moon's apparent topocentric declination in degrees.

func ApparentLo

func ApparentLo(date time.Time) float64

ApparentLo 月亮地心视黄经 / apparent geocentric ecliptic longitude.

返回月亮在 date 对应绝对时刻的地心视黄经,单位度。 Returns the Moon's apparent geocentric ecliptic longitude at the instant represented by date, in degrees.

func ApparentRa

func ApparentRa(date time.Time, lon, lat float64) float64

ApparentRa 月亮站心视赤经 / apparent topocentric right ascension.

date 为观测时刻,会读取其时区参与地方时计算;lon/lat 为观测者经纬度,东正西负、北正南负;返回值单位度。 date is the observing instant and its zone offset participates in local-time calculations. lon/lat are east-positive and north-positive; the result is in degrees.

func ApparentRaDec

func ApparentRaDec(date time.Time, lon, lat float64) (float64, float64)

ApparentRaDec 月亮站心视赤经、视赤纬 / apparent topocentric right ascension and declination.

参数与 ApparentRa 相同,返回月亮站心视赤经与视赤纬,单位度。 Uses the same inputs as ApparentRa and returns the Moon's apparent topocentric right ascension and declination in degrees.

func ApparentZenith added in v0.1.0

func ApparentZenith(date time.Time, lon, lat, pressureHPa, temperatureC float64) float64

ApparentZenith 月亮视天顶距 / apparent lunar zenith distance.

func AscendingNode added in v0.1.0

func AscendingNode(date time.Time) float64

AscendingNode 月球升交点黄经 / ascending node longitude of the Moon.

func AscendingNodeN added in v0.1.0

func AscendingNodeN(date time.Time, n int) float64

AscendingNodeN 月球升交点黄经(截断版) / truncated ascending node longitude of the Moon.

func Azimuth

func Azimuth(date time.Time, lon, lat float64) float64

Azimuth 月亮方位角 / azimuth.

date 为观测时刻,会读取其时区参与地方时计算;lon/lat 为观测者经纬度,东正西负、北正南负;返回值按正北为 0°、向东增加。 date is the observing instant and its zone offset participates in local-time calculations. lon/lat are east-positive and north-positive; azimuth is measured from north toward east.

func BrightLimbPositionAngle added in v0.1.0

func BrightLimbPositionAngle(date time.Time) float64

BrightLimbPositionAngle 月亮明亮边缘位置角,单位度 / position angle of the Moon's bright limb in degrees.

func BrightLimbPositionAngleN added in v0.1.0

func BrightLimbPositionAngleN(date time.Time, n int) float64

BrightLimbPositionAngleN 月亮明亮边缘位置角(截断版),单位度 / truncated position angle of the Moon's bright limb in degrees.

func ClosestFirstQuarter added in v0.1.0

func ClosestFirstQuarter(date time.Time) time.Time

ClosestFirstQuarter 最近上弦英文别名 / English alias for ClosestShangXianYue.

func ClosestFullMoon added in v0.1.0

func ClosestFullMoon(date time.Time) time.Time

ClosestFullMoon 最近望月英文别名 / English alias for ClosestWangYue.

func ClosestLastQuarter added in v0.1.0

func ClosestLastQuarter(date time.Time) time.Time

ClosestLastQuarter 最近下弦英文别名 / English alias for ClosestXiaXianYue.

func ClosestNewMoon added in v0.1.0

func ClosestNewMoon(date time.Time) time.Time

ClosestNewMoon 最近朔月英文别名 / English alias for ClosestShuoYue.

func ClosestShangXianYue

func ClosestShangXianYue(date time.Time) time.Time

ClosestShangXianYue 最近上弦 / closest first quarter.

返回离 date 最近的上弦时刻,结果保持 date 的时区。 Returns the first quarter nearest to date, keeping date's time zone.

func ClosestShuoYue

func ClosestShuoYue(date time.Time) time.Time

ClosestShuoYue 最近朔月 / closest new moon.

返回离 date 最近的朔月时刻,结果保持 date 的时区。 Returns the new moon nearest to date, keeping date's time zone.

func ClosestWangYue

func ClosestWangYue(date time.Time) time.Time

ClosestWangYue 最近望月 / closest full moon.

返回离 date 最近的望月时刻,结果保持 date 的时区。 Returns the full moon nearest to date, keeping date's time zone.

func ClosestXiaXianYue

func ClosestXiaXianYue(date time.Time) time.Time

ClosestXiaXianYue 最近下弦 / closest last quarter.

返回离 date 最近的下弦时刻,结果保持 date 的时区。 Returns the last quarter nearest to date, keeping date's time zone.

func CulminationTime

func CulminationTime(date time.Time, lon, lat float64) time.Time

CulminationTime 月亮中天时刻 / culmination time.

date 取其所在时区的当地日期,返回值保持相同时区;lon/lat 为观测者经纬度,东正西负、北正南负。 date is interpreted on its local civil day and the result keeps the same time zone. lon/lat are east-positive and north-positive.

func DescendingNode added in v0.1.0

func DescendingNode(date time.Time) float64

DescendingNode 月球降交点黄经 / descending node longitude of the Moon.

func DescendingNodeN added in v0.1.0

func DescendingNodeN(date time.Time, n int) float64

DescendingNodeN 月球降交点黄经(截断版) / truncated descending node longitude of the Moon.

func Diameter added in v0.1.0

func Diameter(date time.Time) float64

Diameter 月亮视直径,单位角秒 / apparent lunar diameter in arcseconds.

func DiameterN added in v0.1.0

func DiameterN(date time.Time, n int) float64

DiameterN 月亮视直径(截断版),单位角秒 / truncated apparent lunar diameter in arcseconds.

func DownTime deprecated

func DownTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)

DownTime 月落时刻别名 / deprecated moonset alias.

Deprecated: use SetTime instead.

参数与 SetTime 相同,仅为兼容旧接口保留。 Same as SetTime and kept only for backward compatibility.

func EarthDistance

func EarthDistance(date time.Time) float64

EarthDistance 地月距离 / Earth-Moon distance.

返回月亮在 date 对应绝对时刻到地球质心的距离,单位千米。 Returns the distance from the Moon to Earth's center at the instant represented by date, in kilometers.

func FirstQuarter added in v0.1.0

func FirstQuarter(year float64) time.Time

FirstQuarter 上弦英文别名 / English alias for ShangXianYue.

func FullMoon added in v0.1.0

func FullMoon(year float64) time.Time

FullMoon 望月英文别名 / English alias for WangYue.

func HourAngle

func HourAngle(date time.Time, lon, lat float64) float64

HourAngle 月亮时角 / hour angle.

date 为观测时刻,会读取其时区参与地方时计算;lon/lat 为观测者经纬度,东正西负、北正南负;返回值单位度。 date is the observing instant and its zone offset participates in local-time calculations. lon/lat are east-positive and north-positive; the result is in degrees.

func LastFirstQuarter added in v0.1.0

func LastFirstQuarter(date time.Time) time.Time

LastFirstQuarter 上一次上弦英文别名 / English alias for LastShangXianYue.

func LastFullMoon added in v0.1.0

func LastFullMoon(date time.Time) time.Time

LastFullMoon 上一次望月英文别名 / English alias for LastWangYue.

func LastLastQuarter added in v0.1.0

func LastLastQuarter(date time.Time) time.Time

LastLastQuarter 上一次下弦英文别名 / English alias for LastXiaXianYue.

func LastNewMoon added in v0.1.0

func LastNewMoon(date time.Time) time.Time

LastNewMoon 上一次朔月英文别名 / English alias for LastShuoYue.

func LastQuarter added in v0.1.0

func LastQuarter(year float64) time.Time

LastQuarter 下弦英文别名 / English alias for XiaXianYue.

func LastShangXianYue

func LastShangXianYue(date time.Time) time.Time

LastShangXianYue 上一次上弦 / previous first quarter.

返回 date 之前最近一次上弦时刻,结果保持 date 的时区。 Returns the previous first quarter before date, keeping date's time zone.

func LastShuoYue

func LastShuoYue(date time.Time) time.Time

LastShuoYue 上一次朔月 / previous new moon.

返回 date 之前最近一次朔月时刻,结果保持 date 的时区。 Returns the previous new moon before date, keeping date's time zone.

func LastWangYue

func LastWangYue(date time.Time) time.Time

LastWangYue 上一次望月 / previous full moon.

返回 date 之前最近一次望月时刻,结果保持 date 的时区。 Returns the previous full moon before date, keeping date's time zone.

func LastXiaXianYue

func LastXiaXianYue(date time.Time) time.Time

LastXiaXianYue 上一次下弦 / previous last quarter.

返回 date 之前最近一次下弦时刻,结果保持 date 的时区。 Returns the previous last quarter before date, keeping date's time zone.

func NewMoon added in v0.1.0

func NewMoon(year float64) time.Time

NewMoon 朔月英文别名 / English alias for ShuoYue.

func NextFirstQuarter added in v0.1.0

func NextFirstQuarter(date time.Time) time.Time

NextFirstQuarter 下一次上弦英文别名 / English alias for NextShangXianYue.

func NextFullMoon added in v0.1.0

func NextFullMoon(date time.Time) time.Time

NextFullMoon 下一次望月英文别名 / English alias for NextWangYue.

func NextLastQuarter added in v0.1.0

func NextLastQuarter(date time.Time) time.Time

NextLastQuarter 下一次下弦英文别名 / English alias for NextXiaXianYue.

func NextNewMoon added in v0.1.0

func NextNewMoon(date time.Time) time.Time

NextNewMoon 下一次朔月英文别名 / English alias for NextShuoYue.

func NextShangXianYue

func NextShangXianYue(date time.Time) time.Time

NextShangXianYue 下一次上弦 / next first quarter.

返回 date 之后最近一次上弦时刻,结果保持 date 的时区。 Returns the next first quarter after date, keeping date's time zone.

func NextShuoYue

func NextShuoYue(date time.Time) time.Time

NextShuoYue 下一次朔月 / next new moon.

返回 date 之后最近一次朔月时刻,结果保持 date 的时区。 Returns the next new moon after date, keeping date's time zone.

func NextWangYue

func NextWangYue(date time.Time) time.Time

NextWangYue 下一次望月 / next full moon.

返回 date 之后最近一次望月时刻,结果保持 date 的时区。 Returns the next full moon after date, keeping date's time zone.

func NextXiaXianYue

func NextXiaXianYue(date time.Time) time.Time

NextXiaXianYue 下一次下弦 / next last quarter.

返回 date 之后最近一次下弦时刻,结果保持 date 的时区。 Returns the next last quarter after date, keeping date's time zone.

func ParallacticAngle added in v0.1.0

func ParallacticAngle(date time.Time, lon, lat float64) float64

ParallacticAngle 月亮视差角(天顶方向角) / lunar parallactic angle.

对月亮使用现有站心视时角和站心视赤纬链路,因此会显式依赖观测者经纬度。

func Phase

func Phase(date time.Time) float64

Phase 月面受照比例 / illuminated fraction.

返回月亮在 date 对应绝对时刻的受照比例,范围 [0, 1]。 Returns the Moon's illuminated fraction at the instant represented by date, in the range [0, 1].

func PhaseDesc

func PhaseDesc(date time.Time) string

PhaseDesc 月相文字描述 / textual lunar phase description.

基于 SunMoonLoDiff 的分段结果返回中文月相名称。 Returns a Chinese phase name derived from the segmented Moon-Sun longitude difference.

func RiseTime

func RiseTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)

RiseTime 月出时刻 / moonrise time.

date 取其所在时区的当地日期,返回值保持相同时区;lon/lat 为观测者经纬度,东正西负、北正南负; height 为海拔高度,单位米;aero 为 true 时加入标准大气折射。 date is interpreted on its local civil day and the result keeps the same time zone. lon/lat are east-positive and north-positive; height is observer elevation in meters, and aero enables standard atmospheric refraction.

func Semidiameter added in v0.1.0

func Semidiameter(date time.Time) float64

Semidiameter 月亮视半径,单位角秒 / apparent lunar semidiameter in arcseconds.

func SemidiameterN added in v0.1.0

func SemidiameterN(date time.Time, n int) float64

SemidiameterN 月亮视半径(截断版),单位角秒 / truncated apparent lunar semidiameter in arcseconds.

func SetTime

func SetTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)

SetTime 月落时刻 / moonset time.

参数与 RiseTime 相同,返回给定当地日期内的月落时刻。 Uses the same inputs as RiseTime and returns the moonset time on the corresponding local civil day.

func ShangXianYue

func ShangXianYue(year float64) time.Time

ShangXianYue 上弦锚点解 / first-quarter solution near a decimal year anchor.

year 为公历小数年锚点,例如 2025.0 或 2025.5;返回以该锚点求得的一次上弦时刻,结果为 UTC。 year is a decimal Gregorian-year anchor such as 2025.0 or 2025.5. The returned time is one first-quarter solution near that anchor, in UTC.

func ShuoYue

func ShuoYue(year float64) time.Time

ShuoYue 朔月锚点解 / new-moon solution near a decimal year anchor.

year 为公历小数年锚点,例如 2025.0 或 2025.5;返回以该锚点求得的一次朔月时刻,结果为 UTC。 year is a decimal Gregorian-year anchor such as 2025.0 or 2025.5. The returned time is one new moon solved near that anchor, in UTC.

func SunMoonLoDiff

func SunMoonLoDiff(date time.Time) float64

SunMoonLoDiff 日月黄经差 / Moon-Sun longitude difference.

返回月亮视黄经减去太阳视黄经的结果,单位度,取值范围 [0, 360);新月附近接近 0°,满月附近接近 180°。 Returns apparent lunar longitude minus apparent solar longitude in degrees, normalized to [0, 360). It is near 0° at new moon and near 180° at full moon.

func TopocentricBrightLimbPositionAngle added in v0.1.0

func TopocentricBrightLimbPositionAngle(date time.Time, observerLon, observerLat, height float64) float64

TopocentricBrightLimbPositionAngle 月亮站心明亮边缘位置角,单位度 / topocentric position angle of the Moon's bright limb in degrees.

date 为观测时刻;observerLon/observerLat 为观测者经纬度,东正西负、北正南负;height 为海拔高度,单位米。 date is the observing instant; observerLon/observerLat are east-positive and north-positive; height is observer elevation in meters.

func TopocentricBrightLimbPositionAngleN added in v0.1.0

func TopocentricBrightLimbPositionAngleN(date time.Time, observerLon, observerLat, height float64, n int) float64

TopocentricBrightLimbPositionAngleN 月亮站心明亮边缘位置角(截断版),单位度 / truncated topocentric position angle of the Moon's bright limb in degrees.

func TrueBo

func TrueBo(date time.Time) float64

TrueBo 月亮真黄纬 / true ecliptic latitude.

返回月亮在 date 对应绝对时刻的地心真黄纬,单位度。 Returns the Moon's geocentric true ecliptic latitude at the instant represented by date, in degrees.

func TrueBoN added in v0.1.0

func TrueBoN(date time.Time, n int) float64

TrueBoN 截断项月亮真黄纬 / truncated true ecliptic latitude.

参数与 TrueBo 相同;n<0 使用当前仓库内嵌的全部 ELP 项,其余值用于截断月球级数。 Uses the same inputs as TrueBo. n<0 keeps all embedded ELP terms in this repository; other values truncate the lunar series.

func TrueDec

func TrueDec(date time.Time) float64

TrueDec 月亮地心真赤纬 / true geocentric declination.

返回月亮在 date 对应绝对时刻的地心真赤纬,单位度。 Returns the Moon's geocentric true declination at the instant represented by date, in degrees.

func TrueLo

func TrueLo(date time.Time) float64

TrueLo 月亮真黄经 / true ecliptic longitude.

返回月亮在 date 对应绝对时刻的地心真黄经,单位度。 Returns the Moon's geocentric true ecliptic longitude at the instant represented by date, in degrees.

func TrueLoN added in v0.1.0

func TrueLoN(date time.Time, n int) float64

TrueLoN 截断项月亮真黄经 / truncated true ecliptic longitude.

参数与 TrueLo 相同;n<0 使用当前仓库内嵌的全部 ELP 项,其余值用于截断月球级数。 Uses the same inputs as TrueLo. n<0 keeps all embedded ELP terms in this repository; other values truncate the lunar series.

func TrueRa

func TrueRa(date time.Time) float64

TrueRa 月亮地心真赤经 / true geocentric right ascension.

返回月亮在 date 对应绝对时刻的地心真赤经,单位度。 Returns the Moon's geocentric true right ascension at the instant represented by date, in degrees.

func TrueRaDec

func TrueRaDec(date time.Time) (float64, float64)

TrueRaDec 月亮地心真赤经、真赤纬 / true geocentric right ascension and declination.

返回月亮在 date 对应绝对时刻的地心真赤经与真赤纬,单位度。 Returns the Moon's geocentric true right ascension and declination at the instant represented by date, in degrees.

func WangYue

func WangYue(year float64) time.Time

WangYue 望月锚点解 / full-moon solution near a decimal year anchor.

year 为公历小数年锚点,例如 2025.0 或 2025.5;返回以该锚点求得的一次望月时刻,结果为 UTC。 year is a decimal Gregorian-year anchor such as 2025.0 or 2025.5. The returned time is one full moon solved near that anchor, in UTC.

func XiaXianYue

func XiaXianYue(year float64) time.Time

XiaXianYue 下弦锚点解 / last-quarter solution near a decimal year anchor.

year 为公历小数年锚点,例如 2025.0 或 2025.5;返回以该锚点求得的一次下弦时刻,结果为 UTC。 year is a decimal Gregorian-year anchor such as 2025.0 or 2025.5. The returned time is one last-quarter solution near that anchor, in UTC.

func Zenith

func Zenith(date time.Time, lon, lat float64) float64

Zenith 月亮天顶距 / lunar zenith distance.

参数与 Altitude 相同,返回值为对应时刻的天顶距,单位度。 Uses the same inputs as Altitude and returns the zenith distance in degrees.

Types

type ApsisInfo added in v0.1.0

type ApsisInfo struct {
	// Time 事件时刻,UTC / event time in UTC.
	Time time.Time
	// Distance 极值距离,单位 km / extremum distance in km.
	Distance float64
}

ApsisInfo 轨道极值事件 / orbital distance extremum event.

func ApogeesInMonth added in v0.1.0

func ApogeesInMonth(year int, month time.Month) []ApsisInfo

ApogeesInMonth 指定年月内的所有月球远地点 / all lunar apogees in the given Gregorian month.

func PerigeesInMonth added in v0.1.0

func PerigeesInMonth(year int, month time.Month) []ApsisInfo

PerigeesInMonth 指定年月内的所有月球近地点 / all lunar perigees in the given Gregorian month.

type MaximumDeclinationInfo added in v0.1.0

type MaximumDeclinationInfo struct {
	// Time 事件时刻,UTC / event time in UTC.
	Time time.Time
	// Declination 该时刻的地心赤纬,单位度 / geocentric declination at the event, in degrees.
	Declination float64
}

MaximumDeclinationInfo 月球最大赤纬事件 / maximum lunar declination event.

func ClosestMaximumNorthDeclination added in v0.1.0

func ClosestMaximumNorthDeclination(date time.Time) MaximumDeclinationInfo

ClosestMaximumNorthDeclination 离指定时刻最近一次月球最大北赤纬 / closest maximum northern lunar declination to date.

func ClosestMaximumSouthDeclination added in v0.1.0

func ClosestMaximumSouthDeclination(date time.Time) MaximumDeclinationInfo

ClosestMaximumSouthDeclination 离指定时刻最近一次月球最大南赤纬 / closest maximum southern lunar declination to date.

func LastMaximumNorthDeclination added in v0.1.0

func LastMaximumNorthDeclination(date time.Time) MaximumDeclinationInfo

LastMaximumNorthDeclination 指定时刻之前最近一次月球最大北赤纬 / last maximum northern lunar declination at or before date.

func LastMaximumSouthDeclination added in v0.1.0

func LastMaximumSouthDeclination(date time.Time) MaximumDeclinationInfo

LastMaximumSouthDeclination 指定时刻之前最近一次月球最大南赤纬 / last maximum southern lunar declination at or before date.

func MaximumNorthDeclinationsInMonth added in v0.1.0

func MaximumNorthDeclinationsInMonth(year int, month time.Month) []MaximumDeclinationInfo

MaximumNorthDeclinationsInMonth 指定年月内的所有月球最大北赤纬事件 / all maximum northern lunar declination events in the given Gregorian month.

func MaximumSouthDeclinationsInMonth added in v0.1.0

func MaximumSouthDeclinationsInMonth(year int, month time.Month) []MaximumDeclinationInfo

MaximumSouthDeclinationsInMonth 指定年月内的所有月球最大南赤纬事件 / all maximum southern lunar declination events in the given Gregorian month.

func NextMaximumNorthDeclination added in v0.1.0

func NextMaximumNorthDeclination(date time.Time) MaximumDeclinationInfo

NextMaximumNorthDeclination 指定时刻之后最近一次月球最大北赤纬 / next maximum northern lunar declination after date.

func NextMaximumSouthDeclination added in v0.1.0

func NextMaximumSouthDeclination(date time.Time) MaximumDeclinationInfo

NextMaximumSouthDeclination 指定时刻之后最近一次月球最大南赤纬 / next maximum southern lunar declination after date.

type PhysicalInfo added in v0.1.0

type PhysicalInfo 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
}

PhysicalInfo 月球物理观测参数 / physical observing parameters of the Moon.

func Physical added in v0.1.0

func Physical(date time.Time) PhysicalInfo

Physical 月球物理观测参数 / physical observing parameters of the Moon.

func PhysicalN added in v0.1.0

func PhysicalN(date time.Time, n int) PhysicalInfo

PhysicalN 月球物理观测参数(截断版) / truncated physical observing parameters of the Moon.

func TopocentricPhysical added in v0.1.0

func TopocentricPhysical(date time.Time, observerLon, observerLat, height float64) PhysicalInfo

TopocentricPhysical 月球站心物理观测参数 / topocentric physical observing parameters of the Moon.

date 为观测时刻;observerLon/observerLat 为观测者经纬度,东正西负、北正南负;height 为海拔高度,单位米。 date is the observing instant; observerLon/observerLat are east-positive and north-positive; height is observer elevation in meters.

func TopocentricPhysicalN added in v0.1.0

func TopocentricPhysicalN(date time.Time, observerLon, observerLat, height float64, n int) PhysicalInfo

TopocentricPhysicalN 月球站心物理观测参数(截断版) / truncated topocentric physical observing parameters of the Moon.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL