Documentation
¶
Index ¶
- Variables
- func Altitude(date time.Time, lon, lat float64) float64
- func ApparentAltitude(date time.Time, lon, lat, pressureHPa, temperatureC float64) float64
- func ApparentDec(date time.Time, lon, lat float64) float64
- func ApparentLo(date time.Time) float64
- func ApparentRa(date time.Time, lon, lat float64) float64
- func ApparentRaDec(date time.Time, lon, lat float64) (float64, float64)
- func ApparentZenith(date time.Time, lon, lat, pressureHPa, temperatureC float64) float64
- func AscendingNode(date time.Time) float64
- func AscendingNodeN(date time.Time, n int) float64
- func Azimuth(date time.Time, lon, lat float64) float64
- func BrightLimbPositionAngle(date time.Time) float64
- func BrightLimbPositionAngleN(date time.Time, n int) float64
- func ClosestFirstQuarter(date time.Time) time.Time
- func ClosestFullMoon(date time.Time) time.Time
- func ClosestLastQuarter(date time.Time) time.Time
- func ClosestNewMoon(date time.Time) time.Time
- func ClosestShangXianYue(date time.Time) time.Time
- func ClosestShuoYue(date time.Time) time.Time
- func ClosestWangYue(date time.Time) time.Time
- func ClosestXiaXianYue(date time.Time) time.Time
- func CulminationTime(date time.Time, lon, lat float64) time.Time
- func DescendingNode(date time.Time) float64
- func DescendingNodeN(date time.Time, n int) float64
- func Diameter(date time.Time) float64
- func DiameterN(date time.Time, n int) float64
- func DownTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)deprecated
- func EarthDistance(date time.Time) float64
- func FirstQuarter(year float64) time.Time
- func FullMoon(year float64) time.Time
- func HourAngle(date time.Time, lon, lat float64) float64
- func LastFirstQuarter(date time.Time) time.Time
- func LastFullMoon(date time.Time) time.Time
- func LastLastQuarter(date time.Time) time.Time
- func LastNewMoon(date time.Time) time.Time
- func LastQuarter(year float64) time.Time
- func LastShangXianYue(date time.Time) time.Time
- func LastShuoYue(date time.Time) time.Time
- func LastWangYue(date time.Time) time.Time
- func LastXiaXianYue(date time.Time) time.Time
- func NewMoon(year float64) time.Time
- func NextFirstQuarter(date time.Time) time.Time
- func NextFullMoon(date time.Time) time.Time
- func NextLastQuarter(date time.Time) time.Time
- func NextNewMoon(date time.Time) time.Time
- func NextShangXianYue(date time.Time) time.Time
- func NextShuoYue(date time.Time) time.Time
- func NextWangYue(date time.Time) time.Time
- func NextXiaXianYue(date time.Time) time.Time
- func ParallacticAngle(date time.Time, lon, lat float64) float64
- func Phase(date time.Time) float64
- func PhaseDesc(date time.Time) string
- func RiseTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)
- func Semidiameter(date time.Time) float64
- func SemidiameterN(date time.Time, n int) float64
- func SetTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)
- func ShangXianYue(year float64) time.Time
- func ShuoYue(year float64) time.Time
- func SunMoonLoDiff(date time.Time) float64
- func TopocentricBrightLimbPositionAngle(date time.Time, observerLon, observerLat, height float64) float64
- func TopocentricBrightLimbPositionAngleN(date time.Time, observerLon, observerLat, height float64, n int) float64
- func TrueBo(date time.Time) float64
- func TrueBoN(date time.Time, n int) float64
- func TrueDec(date time.Time) float64
- func TrueLo(date time.Time) float64
- func TrueLoN(date time.Time, n int) float64
- func TrueRa(date time.Time) float64
- func TrueRaDec(date time.Time) (float64, float64)
- func WangYue(year float64) time.Time
- func XiaXianYue(year float64) time.Time
- func Zenith(date time.Time, lon, lat float64) float64
- type ApsisInfo
- type MaximumDeclinationInfo
- func ClosestMaximumNorthDeclination(date time.Time) MaximumDeclinationInfo
- func ClosestMaximumSouthDeclination(date time.Time) MaximumDeclinationInfo
- func LastMaximumNorthDeclination(date time.Time) MaximumDeclinationInfo
- func LastMaximumSouthDeclination(date time.Time) MaximumDeclinationInfo
- func MaximumNorthDeclinationsInMonth(year int, month time.Month) []MaximumDeclinationInfo
- func MaximumSouthDeclinationsInMonth(year int, month time.Month) []MaximumDeclinationInfo
- func NextMaximumNorthDeclination(date time.Time) MaximumDeclinationInfo
- func NextMaximumSouthDeclination(date time.Time) MaximumDeclinationInfo
- type PhysicalInfo
Constants ¶
This section is empty.
Variables ¶
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
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
ApparentAltitude 月亮视高度角 / apparent lunar altitude.
func ApparentDec ¶
ApparentDec 月亮站心视赤纬 / apparent topocentric declination.
参数与 ApparentRa 相同,返回月亮站心视赤纬,单位度。 Uses the same inputs as ApparentRa and returns the Moon's apparent topocentric declination in degrees.
func ApparentLo ¶
ApparentLo 月亮地心视黄经 / apparent geocentric ecliptic longitude.
返回月亮在 date 对应绝对时刻的地心视黄经,单位度。 Returns the Moon's apparent geocentric ecliptic longitude at the instant represented by date, in degrees.
func ApparentRa ¶
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 ¶
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
ApparentZenith 月亮视天顶距 / apparent lunar zenith distance.
func AscendingNode ¶ added in v0.1.0
AscendingNode 月球升交点黄经 / ascending node longitude of the Moon.
func AscendingNodeN ¶ added in v0.1.0
AscendingNodeN 月球升交点黄经(截断版) / truncated ascending node longitude of the Moon.
func Azimuth ¶
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
BrightLimbPositionAngle 月亮明亮边缘位置角,单位度 / position angle of the Moon's bright limb in degrees.
func BrightLimbPositionAngleN ¶ added in v0.1.0
BrightLimbPositionAngleN 月亮明亮边缘位置角(截断版),单位度 / truncated position angle of the Moon's bright limb in degrees.
func ClosestFirstQuarter ¶ added in v0.1.0
ClosestFirstQuarter 最近上弦英文别名 / English alias for ClosestShangXianYue.
func ClosestFullMoon ¶ added in v0.1.0
ClosestFullMoon 最近望月英文别名 / English alias for ClosestWangYue.
func ClosestLastQuarter ¶ added in v0.1.0
ClosestLastQuarter 最近下弦英文别名 / English alias for ClosestXiaXianYue.
func ClosestNewMoon ¶ added in v0.1.0
ClosestNewMoon 最近朔月英文别名 / English alias for ClosestShuoYue.
func ClosestShangXianYue ¶
ClosestShangXianYue 最近上弦 / closest first quarter.
返回离 date 最近的上弦时刻,结果保持 date 的时区。 Returns the first quarter nearest to date, keeping date's time zone.
func ClosestShuoYue ¶
ClosestShuoYue 最近朔月 / closest new moon.
返回离 date 最近的朔月时刻,结果保持 date 的时区。 Returns the new moon nearest to date, keeping date's time zone.
func ClosestWangYue ¶
ClosestWangYue 最近望月 / closest full moon.
返回离 date 最近的望月时刻,结果保持 date 的时区。 Returns the full moon nearest to date, keeping date's time zone.
func ClosestXiaXianYue ¶
ClosestXiaXianYue 最近下弦 / closest last quarter.
返回离 date 最近的下弦时刻,结果保持 date 的时区。 Returns the last quarter nearest to date, keeping date's time zone.
func CulminationTime ¶
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
DescendingNode 月球降交点黄经 / descending node longitude of the Moon.
func DescendingNodeN ¶ added in v0.1.0
DescendingNodeN 月球降交点黄经(截断版) / truncated descending node longitude of the Moon.
func DiameterN ¶ added in v0.1.0
DiameterN 月亮视直径(截断版),单位角秒 / truncated apparent lunar diameter in arcseconds.
func EarthDistance ¶
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
FirstQuarter 上弦英文别名 / English alias for ShangXianYue.
func HourAngle ¶
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
LastFirstQuarter 上一次上弦英文别名 / English alias for LastShangXianYue.
func LastFullMoon ¶ added in v0.1.0
LastFullMoon 上一次望月英文别名 / English alias for LastWangYue.
func LastLastQuarter ¶ added in v0.1.0
LastLastQuarter 上一次下弦英文别名 / English alias for LastXiaXianYue.
func LastNewMoon ¶ added in v0.1.0
LastNewMoon 上一次朔月英文别名 / English alias for LastShuoYue.
func LastQuarter ¶ added in v0.1.0
LastQuarter 下弦英文别名 / English alias for XiaXianYue.
func LastShangXianYue ¶
LastShangXianYue 上一次上弦 / previous first quarter.
返回 date 之前最近一次上弦时刻,结果保持 date 的时区。 Returns the previous first quarter before date, keeping date's time zone.
func LastShuoYue ¶
LastShuoYue 上一次朔月 / previous new moon.
返回 date 之前最近一次朔月时刻,结果保持 date 的时区。 Returns the previous new moon before date, keeping date's time zone.
func LastWangYue ¶
LastWangYue 上一次望月 / previous full moon.
返回 date 之前最近一次望月时刻,结果保持 date 的时区。 Returns the previous full moon before date, keeping date's time zone.
func LastXiaXianYue ¶
LastXiaXianYue 上一次下弦 / previous last quarter.
返回 date 之前最近一次下弦时刻,结果保持 date 的时区。 Returns the previous last quarter before date, keeping date's time zone.
func NextFirstQuarter ¶ added in v0.1.0
NextFirstQuarter 下一次上弦英文别名 / English alias for NextShangXianYue.
func NextFullMoon ¶ added in v0.1.0
NextFullMoon 下一次望月英文别名 / English alias for NextWangYue.
func NextLastQuarter ¶ added in v0.1.0
NextLastQuarter 下一次下弦英文别名 / English alias for NextXiaXianYue.
func NextNewMoon ¶ added in v0.1.0
NextNewMoon 下一次朔月英文别名 / English alias for NextShuoYue.
func NextShangXianYue ¶
NextShangXianYue 下一次上弦 / next first quarter.
返回 date 之后最近一次上弦时刻,结果保持 date 的时区。 Returns the next first quarter after date, keeping date's time zone.
func NextShuoYue ¶
NextShuoYue 下一次朔月 / next new moon.
返回 date 之后最近一次朔月时刻,结果保持 date 的时区。 Returns the next new moon after date, keeping date's time zone.
func NextWangYue ¶
NextWangYue 下一次望月 / next full moon.
返回 date 之后最近一次望月时刻,结果保持 date 的时区。 Returns the next full moon after date, keeping date's time zone.
func NextXiaXianYue ¶
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
ParallacticAngle 月亮视差角(天顶方向角) / lunar parallactic angle.
对月亮使用现有站心视时角和站心视赤纬链路,因此会显式依赖观测者经纬度。
func Phase ¶
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 ¶
PhaseDesc 月相文字描述 / textual lunar phase description.
基于 SunMoonLoDiff 的分段结果返回中文月相名称。 Returns a Chinese phase name derived from the segmented Moon-Sun longitude difference.
func RiseTime ¶
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
Semidiameter 月亮视半径,单位角秒 / apparent lunar semidiameter in arcseconds.
func SemidiameterN ¶ added in v0.1.0
SemidiameterN 月亮视半径(截断版),单位角秒 / truncated apparent lunar semidiameter in arcseconds.
func SetTime ¶
SetTime 月落时刻 / moonset time.
参数与 RiseTime 相同,返回给定当地日期内的月落时刻。 Uses the same inputs as RiseTime and returns the moonset time on the corresponding local civil day.
func ShangXianYue ¶
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 ¶
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 ¶
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 ¶
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
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 ¶
TrueDec 月亮地心真赤纬 / true geocentric declination.
返回月亮在 date 对应绝对时刻的地心真赤纬,单位度。 Returns the Moon's geocentric true declination at the instant represented by date, in degrees.
func TrueLo ¶
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
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 ¶
TrueRa 月亮地心真赤经 / true geocentric right ascension.
返回月亮在 date 对应绝对时刻的地心真赤经,单位度。 Returns the Moon's geocentric true right ascension at the instant represented by date, in degrees.
func TrueRaDec ¶
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 ¶
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 ¶
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.
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
ApogeesInMonth 指定年月内的所有月球远地点 / all lunar apogees 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.