Documentation
¶
Index ¶
- Constants
- Variables
- func Altitude(date time.Time, lon, lat float64) float64
- func AltitudeN(date time.Time, lon, lat float64, n int) float64
- func ApparentBo(date time.Time) float64
- func ApparentBoN(date time.Time, n int) float64
- func ApparentDec(date time.Time) float64
- func ApparentDecN(date time.Time, n int) float64
- func ApparentLo(date time.Time) float64
- func ApparentLoN(date time.Time, n int) float64
- func ApparentMagnitude(date time.Time) float64
- func ApparentMagnitudeN(date time.Time, n int) float64
- func ApparentRa(date time.Time) float64
- func ApparentRaDec(date time.Time) (float64, float64)
- func ApparentRaDecN(date time.Time, n int) (float64, float64)
- func ApparentRaN(date time.Time, n int) 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 AzimuthN(date time.Time, lon, lat float64, n int) float64
- func BrightLimbPositionAngle(date time.Time) float64
- func BrightLimbPositionAngleN(date time.Time, n int) float64
- func CulminationTime(date time.Time, lon float64) time.Time
- func CulminationTimeN(date time.Time, lon float64, n int) 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 DownTimeN(date time.Time, lon, lat, height float64, aero bool, n int) (time.Time, error)
- func EarthDistance(date time.Time) float64
- func EarthDistanceN(date time.Time, n int) float64
- func HourAngle(date time.Time, lon float64) float64
- func HourAngleN(date time.Time, lon float64, n int) float64
- func IlluminatedFraction(date time.Time) float64
- func IlluminatedFractionN(date time.Time, n int) float64
- func LastConjunction(date time.Time) time.Time
- func LastEasternQuadrature(date time.Time) time.Time
- func LastOpposition(date time.Time) time.Time
- func LastProgradeToRetrograde(date time.Time) time.Time
- func LastRetrogradeToPrograde(date time.Time) time.Time
- func LastWesternQuadrature(date time.Time) time.Time
- func NextConjunction(date time.Time) time.Time
- func NextEasternQuadrature(date time.Time) time.Time
- func NextOpposition(date time.Time) time.Time
- func NextProgradeToRetrograde(date time.Time) time.Time
- func NextRetrogradeToPrograde(date time.Time) time.Time
- func NextWesternQuadrature(date time.Time) time.Time
- func ParallacticAngle(date time.Time, lon, lat float64) float64
- func ParallacticAngleN(date time.Time, lon, lat float64, n int) float64
- func Phase(date time.Time) float64
- func PhaseAngle(date time.Time) float64
- func PhaseAngleN(date time.Time, n int) float64
- func PhaseN(date time.Time, n int) float64
- func RiseTime(date time.Time, lon, lat, height float64, aero bool) (time.Time, error)
- func RiseTimeN(date time.Time, lon, lat, height float64, aero bool, n int) (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 SetTimeN(date time.Time, lon, lat, height float64, aero bool, n int) (time.Time, error)
- func SunDistance(date time.Time) float64
- func SunDistanceN(date time.Time, n int) float64
- func Zenith(date time.Time, lon, lat float64) float64
- func ZenithN(date time.Time, lon, lat float64, n int) float64
- type CentralMeridianInfo
- type GalileanPhenomenaInfo
- type GalileanPhenomenonContact
- type GalileanPhenomenonContactEvent
- func ClosestGalileanPhenomenonContactEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonContactEvent
- func LastGalileanPhenomenonContactEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonContactEvent
- func NextGalileanPhenomenonContactEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonContactEvent
- type GalileanPhenomenonContactPhase
- type GalileanPhenomenonEvent
- func ClosestGalileanPhenomenonEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonEvent
- func LastGalileanPhenomenonEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonEvent
- func NextGalileanPhenomenonEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonEvent
- type GalileanPhenomenonType
- type GalileanSatellitePhenomenon
- type GalileanSatellitePosition
- type GalileanSatellitesInfo
- type PhysicalInfo
Constants ¶
const ( // GalileanSatelliteIo 木卫一 / Io. GalileanSatelliteIo = 1 // GalileanSatelliteEuropa 木卫二 / Europa. GalileanSatelliteEuropa = 2 // GalileanSatelliteGanymede 木卫三 / Ganymede. GalileanSatelliteGanymede = 3 // GalileanSatelliteCallisto 木卫四 / Callisto. GalileanSatelliteCallisto = 4 )
Variables ¶
var ( ERR_JUPITER_NEVER_RISE = errors.New("ERROR:极夜,木星今日永远在地平线下!") ERR_JUPITER_NEVER_SET = errors.New("ERROR:极昼,木星今日永远在地平线上!") // ERR_JUPITER_NEVER_DOWN deprecated: -- use ERR_JUPITER_NEVER_SET instead ERR_JUPITER_NEVER_DOWN = ERR_JUPITER_NEVER_SET )
Functions ¶
func Altitude ¶
Altitude 高度角 / altitude.
date 表示观测时刻,会读取其时区参与地方时计算;lon 为观测者经度,东正西负;lat 为观测者纬度,北正南负。返回值单位度。 date is the observing instant and its zone offset participates in local-time calculations. lon is east-positive longitude, lat is north-positive latitude, and the result is in degrees.
func ApparentBo ¶
ApparentBo 视黄纬 / apparent ecliptic latitude.
返回木星在 date 对应绝对时刻的瞬时视黄纬,单位度。 Returns the apparent ecliptic latitude of Jupiter at the instant represented by date, in degrees.
func ApparentBoN ¶
ApparentBoN 视黄纬(截断版) / truncated apparent ecliptic latitude.
func ApparentDec ¶
ApparentDec 视赤纬 / apparent declination.
返回木星在 date 对应绝对时刻的瞬时视赤纬,单位度。 Returns the apparent declination of Jupiter at the instant represented by date, in degrees.
func ApparentDecN ¶
ApparentDecN 视赤纬(截断版) / truncated apparent declination.
func ApparentLo ¶
ApparentLo 视黄经 / apparent ecliptic longitude.
返回木星在 date 对应绝对时刻的瞬时视黄经,单位度。 Returns the apparent ecliptic longitude of Jupiter at the instant represented by date, in degrees.
func ApparentLoN ¶
ApparentLoN 视黄经(截断版) / truncated apparent ecliptic longitude.
func ApparentMagnitude ¶
ApparentMagnitude 视星等 / apparent magnitude.
返回木星在 date 对应绝对时刻的视星等。 Returns the apparent visual magnitude of Jupiter at the instant represented by date.
func ApparentMagnitudeN ¶
ApparentMagnitudeN 视星等(截断版) / truncated apparent magnitude.
func ApparentRa ¶
ApparentRa 视赤经 / apparent right ascension.
返回木星在 date 对应绝对时刻的瞬时视赤经,单位度。 Returns the apparent right ascension of Jupiter at the instant represented by date, in degrees.
func ApparentRaDec ¶
ApparentRaDec 视赤经、视赤纬 / apparent right ascension and declination.
返回木星在 date 对应绝对时刻的瞬时视赤经与视赤纬,单位度。 Returns the apparent right ascension and declination of Jupiter at the instant represented by date, in degrees.
func ApparentRaDecN ¶
ApparentRaDecN 视赤经赤纬(截断版) / truncated apparent right ascension and declination.
func ApparentRaN ¶
ApparentRaN 视赤经(截断版) / truncated apparent right ascension.
func AscendingNode ¶
AscendingNode 木星升交点黄经 / ascending node longitude of Jupiter.
func AscendingNodeN ¶
AscendingNodeN 木星升交点黄经(截断版) / truncated ascending node longitude of Jupiter.
func Azimuth ¶
Azimuth 方位角 / azimuth.
date 表示观测时刻,会读取其时区参与地方时计算;lon 为观测者经度,东正西负;lat 为观测者纬度,北正南负。返回值按正北为 0°、向东增加。 date is the observing instant and its zone offset participates in local-time calculations. lon is east-positive longitude, lat is north-positive latitude, and azimuth is measured from north toward east.
func BrightLimbPositionAngle ¶
BrightLimbPositionAngle 亮面中心位置角,单位度 / bright limb position angle in degrees.
func BrightLimbPositionAngleN ¶
BrightLimbPositionAngleN 亮面中心位置角(截断版),单位度 / truncated bright limb position angle in degrees.
func CulminationTime ¶
CulminationTime 中天时刻 / culmination time.
date 取其所在时区的当地日期,返回值保持相同时区;lon 为观测者经度,东正西负。 date is interpreted on its local civil day and the result keeps the same time zone. lon is east-positive longitude.
func CulminationTimeN ¶
CulminationTimeN 中天时间(截断版) / truncated culmination time.
func DescendingNode ¶
DescendingNode 木星降交点黄经 / descending node longitude of Jupiter.
func DescendingNodeN ¶
DescendingNodeN 木星降交点黄经(截断版) / truncated descending node longitude of Jupiter.
func EarthDistance ¶
EarthDistance 地心距离 / Earth distance.
返回木星在 date 对应绝对时刻到地球的距离,单位 AU。 Returns the distance from Jupiter to Earth at the instant represented by date, in astronomical units.
func EarthDistanceN ¶
EarthDistanceN 地球距离(截断版) / truncated Earth distance.
func HourAngle ¶
HourAngle 时角 / hour angle.
date 表示观测时刻,会读取其时区参与地方时计算;lon 为观测者经度,东正西负。返回值单位度。 date is the observing instant and its zone offset participates in local-time calculations. lon is east-positive longitude and the returned hour angle is in degrees.
func HourAngleN ¶
HourAngleN 时角(截断版) / truncated hour angle.
func IlluminatedFraction ¶
IlluminatedFraction 被照亮比例 / illuminated fraction.
func IlluminatedFractionN ¶
IlluminatedFractionN 被照亮比例(截断版) / truncated illuminated fraction.
func LastConjunction ¶
LastConjunction 上一次合日 / previous conjunction with the Sun.
返回 date 当前或之前最近一次与太阳的合日时刻,结果保持 date 的时区。 Returns the nearest conjunction with the Sun at or before date, keeping date's time zone.
func LastEasternQuadrature ¶
LastEasternQuadrature 上一次东方照 / previous eastern quadrature.
返回 date 当前或之前最近一次东方照时刻,结果保持 date 的时区。 Returns the nearest eastern quadrature at or before date, keeping date's time zone.
func LastOpposition ¶
LastOpposition 上一次冲日 / previous opposition.
返回 date 当前或之前最近一次冲日时刻,结果保持 date 的时区。 Returns the nearest opposition at or before date, keeping date's time zone.
func LastProgradeToRetrograde ¶
LastProgradeToRetrograde 上一次顺行转逆行留 / previous station from prograde to retrograde.
返回 date 当前或之前最近一次由顺行转为逆行的留时刻,结果保持 date 的时区。 Returns the nearest station at or before date where motion changes from prograde to retrograde, keeping date's time zone.
func LastRetrogradeToPrograde ¶
LastRetrogradeToPrograde 上一次逆行转顺行留 / previous station from retrograde to prograde.
返回 date 当前或之前最近一次由逆行转为顺行的留时刻,结果保持 date 的时区。 Returns the nearest station at or before date where motion changes from retrograde to prograde, keeping date's time zone.
func LastWesternQuadrature ¶
LastWesternQuadrature 上一次西方照 / previous western quadrature.
返回 date 当前或之前最近一次西方照时刻,结果保持 date 的时区。 Returns the nearest western quadrature at or before date, keeping date's time zone.
func NextConjunction ¶
NextConjunction 下一次合日 / next conjunction with the Sun.
返回 date 当前或之后最近一次与太阳的合日时刻,结果保持 date 的时区。 Returns the nearest conjunction with the Sun at or after date, keeping date's time zone.
func NextEasternQuadrature ¶
NextEasternQuadrature 下一次东方照 / next eastern quadrature.
返回 date 当前或之后最近一次东方照时刻,结果保持 date 的时区。 Returns the nearest eastern quadrature at or after date, keeping date's time zone.
func NextOpposition ¶
NextOpposition 下一次冲日 / next opposition.
返回 date 当前或之后最近一次冲日时刻,结果保持 date 的时区。 Returns the nearest opposition at or after date, keeping date's time zone.
func NextProgradeToRetrograde ¶
NextProgradeToRetrograde 下一次顺行转逆行留 / next station from prograde to retrograde.
返回 date 当前或之后最近一次由顺行转为逆行的留时刻,结果保持 date 的时区。 Returns the nearest station at or after date where motion changes from prograde to retrograde, keeping date's time zone.
func NextRetrogradeToPrograde ¶
NextRetrogradeToPrograde 下一次逆行转顺行留 / next station from retrograde to prograde.
返回 date 当前或之后最近一次由逆行转为顺行的留时刻,结果保持 date 的时区。 Returns the nearest station at or after date where motion changes from retrograde to prograde, keeping date's time zone.
func NextWesternQuadrature ¶
NextWesternQuadrature 下一次西方照 / next western quadrature.
返回 date 当前或之后最近一次西方照时刻,结果保持 date 的时区。 Returns the nearest western quadrature at or after date, keeping date's time zone.
func ParallacticAngle ¶
ParallacticAngle 木星视差角(天顶方向角) / Jupiter parallactic angle.
func ParallacticAngleN ¶
ParallacticAngleN 截断项木星视差角(天顶方向角) / truncated Jupiter parallactic angle.
func PhaseAngle ¶
PhaseAngle 相位角,单位度 / phase angle in degrees.
func PhaseAngleN ¶
PhaseAngleN 相位角(截断版),单位度 / truncated phase angle in degrees.
func RiseTime ¶
RiseTime 升起时间 / rise time.
date 取其所在时区的当地日期,返回值保持相同时区;lon 为东正西负经度,lat 为北正南负纬度;height 为观测点海拔高度(米);aero 为 true 时加入标准大气折射。 date is interpreted on its local civil day and the result keeps the same time zone. lon is east-positive longitude, lat is north-positive latitude, height is observer elevation in meters, and aero enables standard atmospheric refraction.
func Semidiameter ¶
Semidiameter 木星视半径,单位角秒 / apparent Jupiter semidiameter in arcseconds.
func SemidiameterN ¶
SemidiameterN 木星视半径(截断版),单位角秒 / truncated apparent Jupiter semidiameter in arcseconds.
func SetTime ¶
SetTime 落下时间 / set time.
参数与 RiseTime 相同,返回给定当地日期内的落下时刻。 Uses the same inputs as RiseTime and returns the set time on the corresponding local civil day.
func SunDistance ¶
SunDistance 日心距离 / Sun distance.
返回木星在 date 对应绝对时刻到太阳的距离,单位 AU。 Returns the distance from Jupiter to the Sun at the instant represented by date, in astronomical units.
func SunDistanceN ¶
SunDistanceN 太阳距离(截断版) / truncated Sun distance.
Types ¶
type CentralMeridianInfo ¶
type CentralMeridianInfo struct {
// SystemI 木星 System I 照亮盘中央经线,单位度,西经为正。
SystemI float64
// SystemII 木星 System II 照亮盘中央经线,单位度,西经为正。
SystemII float64
// SystemIII 木星 System III 盘面中央经线,单位度,西经为正。
SystemIII float64
}
CentralMeridianInfo 木星 System I/II/III 中央经线 / Jupiter System I/II/III central meridians.
func CentralMeridians ¶
func CentralMeridians(date time.Time) CentralMeridianInfo
CentralMeridians 木星 System I/II/III 中央经线 / Jupiter System I/II/III central meridians.
func CentralMeridiansN ¶
func CentralMeridiansN(date time.Time, n int) CentralMeridianInfo
CentralMeridiansN 木星 System I/II/III 中央经线(截断版) / truncated Jupiter System I/II/III central meridians.
type GalileanPhenomenaInfo ¶
type GalileanPhenomenaInfo struct {
Io GalileanSatellitePhenomenon
Europa GalileanSatellitePhenomenon
Ganymede GalileanSatellitePhenomenon
Callisto GalileanSatellitePhenomenon
}
GalileanPhenomenaInfo 四颗伽利略卫星瞬时现象 / instantaneous phenomena of the four Galilean satellites.
func SatellitePhenomena ¶
func SatellitePhenomena(date time.Time) GalileanPhenomenaInfo
SatellitePhenomena 木星四颗伽利略卫星瞬时现象 / instantaneous phenomena of Jupiter's four Galilean satellites.
date 表示观测绝对时刻;内部使用该时刻对应的 TT/TDB 历元求值。 date is the observing instant; internally the corresponding TT/TDB epoch is used.
type GalileanPhenomenonContact ¶
type GalileanPhenomenonContact struct {
Valid bool
Phase GalileanPhenomenonContactPhase
Start time.Time
ModelCrossing time.Time
End time.Time
Duration time.Duration
}
GalileanPhenomenonContact 伽利略卫星接触窗口 / 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 GalileanPhenomenonContactEvent ¶
type GalileanPhenomenonContactEvent struct {
Valid bool
Satellite int
Type GalileanPhenomenonType
Disappearance GalileanPhenomenonContact
Greatest time.Time
Reappearance GalileanPhenomenonContact
GreatestState GalileanSatellitePhenomenon
}
GalileanPhenomenonContactEvent IMCCE 风格的 D/F 接触事件 / IMCCE-style D/F contact event.
这个 API 返回有限圆盘/有限影斑的接触窗口,适合和 IMCCE 的 `TR.D/TR.F/OC.D/OC.F/EC.D/EC.F/SH.D/SH.F` 对齐; 现有 `GalileanPhenomenonEvent` 返回的是零半径几何模型保持 active 的整段区间,两者语义不同。 其中 `shadow_transit` 先用半影/本影边界求部分相持续时间,再把这段持续时间中心放在旧影轴过盘时刻上。 This API returns finite-disk / finite-shadow contact windows and is intended to align with IMCCE `TR.D/TR.F/OC.D/OC.F/EC.D/EC.F/SH.D/SH.F` rows. The existing `GalileanPhenomenonEvent` returns the whole active interval of the zero-radius geometric model, so the semantics are different. 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 ClosestGalileanPhenomenonContactEvent ¶
func ClosestGalileanPhenomenonContactEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonContactEvent
ClosestGalileanPhenomenonContactEvent 最近一次 IMCCE 风格接触事件 / closest IMCCE-style contact event.
func LastGalileanPhenomenonContactEvent ¶
func LastGalileanPhenomenonContactEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonContactEvent
LastGalileanPhenomenonContactEvent 上一次 IMCCE 风格接触事件 / previous IMCCE-style contact event.
func NextGalileanPhenomenonContactEvent ¶
func NextGalileanPhenomenonContactEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonContactEvent
NextGalileanPhenomenonContactEvent 下一次 IMCCE 风格接触事件 / next IMCCE-style contact event.
type GalileanPhenomenonContactPhase ¶
type GalileanPhenomenonContactPhase string
GalileanPhenomenonContactPhase 接触阶段 / contact phase.
const ( // GalileanPhenomenonContactDisappearance 初亏/初入接触阶段 / disappearance ingress contact. GalileanPhenomenonContactDisappearance GalileanPhenomenonContactPhase = "disappearance" // GalileanPhenomenonContactReappearance 复圆/复出接触阶段 / reappearance egress contact. GalileanPhenomenonContactReappearance GalileanPhenomenonContactPhase = "reappearance" )
type GalileanPhenomenonEvent ¶
type GalileanPhenomenonEvent struct {
Valid bool
Satellite int
Type GalileanPhenomenonType
Start time.Time
Greatest time.Time
End time.Time
Duration time.Duration
GreatestState GalileanSatellitePhenomenon
}
GalileanPhenomenonEvent 伽利略卫星整场现象 / full Galilean-satellite event.
Start、Greatest、End 都保持调用者输入的时区。 GreatestState 是食甚/现象最深时刻对应的瞬时现象标志与影心偏移。 这里的 Start/End 基于零半径几何模型是否 active,不是 IMCCE 年表中的 D/F 接触时刻; 如果需要有限圆盘/有限影斑的接触窗口,请改用 `GalileanPhenomenonContactEvent`。 Start, Greatest, and End preserve the caller's timezone. GreatestState contains the instantaneous phenomenon flags and shadow offsets at greatest event depth. Start/End here are based on whether the zero-radius geometric model is active, not the IMCCE D/F contact times. Use `GalileanPhenomenonContactEvent` when you need finite-disk or finite-shadow contact windows.
func ClosestGalileanPhenomenonEvent ¶
func ClosestGalileanPhenomenonEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonEvent
ClosestGalileanPhenomenonEvent 最近一次伽利略卫星现象 / closest Galilean-satellite event.
func LastGalileanPhenomenonEvent ¶
func LastGalileanPhenomenonEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonEvent
LastGalileanPhenomenonEvent 上一次伽利略卫星现象 / previous Galilean-satellite event.
date 表示查询绝对时刻;satellite 取 `1=Io, 2=Europa, 3=Ganymede, 4=Callisto`; phenomenonType 取 `transit/occultation/eclipse/shadow_transit` 中之一。 date is the query instant; satellite is `1=Io, 2=Europa, 3=Ganymede, 4=Callisto`; phenomenonType is one of `transit/occultation/eclipse/shadow_transit`.
func NextGalileanPhenomenonEvent ¶
func NextGalileanPhenomenonEvent(date time.Time, satellite int, phenomenonType GalileanPhenomenonType) GalileanPhenomenonEvent
NextGalileanPhenomenonEvent 下一次伽利略卫星现象 / next Galilean-satellite event.
type GalileanPhenomenonType ¶
type GalileanPhenomenonType string
GalileanPhenomenonType 伽利略卫星现象类型 / Galilean-satellite phenomenon type.
const ( // GalileanPhenomenonTransit 凌日 / satellite transit across Jupiter. GalileanPhenomenonTransit GalileanPhenomenonType = "transit" // GalileanPhenomenonOccultation 掩蔽 / occultation behind Jupiter. GalileanPhenomenonOccultation GalileanPhenomenonType = "occultation" // GalileanPhenomenonEclipse 食 / eclipse in Jupiter's shadow. GalileanPhenomenonEclipse GalileanPhenomenonType = "eclipse" // GalileanPhenomenonShadowTransit 影凌 / shadow transit across Jupiter. GalileanPhenomenonShadowTransit GalileanPhenomenonType = "shadow_transit" )
type GalileanSatellitePhenomenon ¶
type GalileanSatellitePhenomenon struct {
Transit bool
Occultation bool
Eclipse bool
ShadowTransit bool
ShadowOffsetXArcsec float64
ShadowOffsetYArcsec float64
ShadowOffsetXJupiterR float64
ShadowOffsetYJupiterR float64
}
GalileanSatellitePhenomenon 木星伽利略卫星瞬时现象 / instantaneous Galilean-satellite phenomena.
Transit 为凌日,Occultation 为掩蔽,Eclipse 为进入木星本影,ShadowTransit 为卫星影子落在可见木星盘面上。 ShadowOffset* 仅在 ShadowTransit 为 true 时有意义。 Transit means a transit across Jupiter's disk, Occultation means hidden behind Jupiter, Eclipse means inside Jupiter's umbra, and ShadowTransit means the shadow falls on the visible Jovian disk. ShadowOffset* are meaningful only when ShadowTransit is true.
type GalileanSatellitePosition ¶
type GalileanSatellitePosition struct {
JovicentricX float64
JovicentricY float64
JovicentricZ float64
JovicentricVX float64
JovicentricVY float64
JovicentricVZ float64
ApparentRA float64
ApparentDec float64
EarthDistance float64
OffsetXArcsec float64
OffsetYArcsec float64
OffsetXJupiterR float64
OffsetYJupiterR float64
OffsetZJupiterR float64
InFrontOfJupiter bool
}
GalileanSatellitePosition 木星伽利略卫星视位置 / apparent position of a Galilean satellite.
Jovicentric* 为木心 J2000 平赤道直角坐标与速度,单位 AU / AU-day。 ApparentRA/Dec 为该卫星的地心天体测量赤经赤纬,单位度。 OffsetX/OffsetY 以木星中心为原点,分别沿天球东、北方向为正。 Jovicentric* are Jovicentric J2000 mean-equatorial coordinates and velocities in AU / AU-day. ApparentRA/Dec are geocentric astrometric right ascension and declination in degrees. OffsetX/OffsetY are measured from Jupiter's center, positive to celestial east and north.
type GalileanSatellitesInfo ¶
type GalileanSatellitesInfo struct {
Io GalileanSatellitePosition
Europa GalileanSatellitePosition
Ganymede GalileanSatellitePosition
Callisto GalileanSatellitePosition
}
GalileanSatellitesInfo 四颗伽利略卫星视位置 / apparent positions of the four Galilean satellites.
func Satellites ¶
func Satellites(date time.Time) GalileanSatellitesInfo
Satellites 木星四颗伽利略卫星视位置 / apparent positions of Jupiter's four Galilean satellites.
date 表示观测绝对时刻;内部使用该时刻对应的 TT/TDB 历元做 L1 星历求值。 date is the observing instant; internally the corresponding TT/TDB epoch is used for the L1 ephemeris evaluation.
type PhysicalInfo ¶
type PhysicalInfo struct {
// SubEarthLongitude 子地经度,单位度;采用 Jupiter 当前 IAU/Horizons 西经为正约定。
SubEarthLongitude float64
// SubEarthLatitude 子地纬度,单位度。
SubEarthLatitude float64
// SubSolarLongitude 子日经度,单位度;采用 Jupiter 当前 IAU/Horizons 西经为正约定。
SubSolarLongitude float64
// SubSolarLatitude 子日纬度,单位度。
SubSolarLatitude float64
// NorthPolePositionAngle 木星北极位置角,单位度。
NorthPolePositionAngle float64
// DS 太阳相对木星赤道的行星中心赤纬,单位度。
DS float64
// DE 地球相对木星赤道的行星中心赤纬,单位度。
DE float64
// CentralMeridianSystemI 木星 System I 照亮盘中央经线,单位度,西经为正。
CentralMeridianSystemI float64
// CentralMeridianSystemII 木星 System II 照亮盘中央经线,单位度,西经为正。
CentralMeridianSystemII float64
// CentralMeridianSystemIII 木星 System III 盘面中央经线,单位度,西经为正。
CentralMeridianSystemIII float64
}
PhysicalInfo 木星物理观测参数 / physical observing parameters of Jupiter.
func Physical ¶
func Physical(date time.Time) PhysicalInfo
Physical 木星物理观测参数 / physical observing parameters of Jupiter.