jupiter

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GalileanSatelliteIo 木卫一 / Io.
	GalileanSatelliteIo = 1
	// GalileanSatelliteEuropa 木卫二 / Europa.
	GalileanSatelliteEuropa = 2
	// GalileanSatelliteGanymede 木卫三 / Ganymede.
	GalileanSatelliteGanymede = 3
	// GalileanSatelliteCallisto 木卫四 / Callisto.
	GalileanSatelliteCallisto = 4
)

Variables

View Source
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

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

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 AltitudeN

func AltitudeN(date time.Time, lon, lat float64, n int) float64

AltitudeN 高度角(截断版) / truncated altitude angle.

func ApparentBo

func ApparentBo(date time.Time) float64

ApparentBo 视黄纬 / apparent ecliptic latitude.

返回木星在 date 对应绝对时刻的瞬时视黄纬,单位度。 Returns the apparent ecliptic latitude of Jupiter at the instant represented by date, in degrees.

func ApparentBoN

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

ApparentBoN 视黄纬(截断版) / truncated apparent ecliptic latitude.

func ApparentDec

func ApparentDec(date time.Time) float64

ApparentDec 视赤纬 / apparent declination.

返回木星在 date 对应绝对时刻的瞬时视赤纬,单位度。 Returns the apparent declination of Jupiter at the instant represented by date, in degrees.

func ApparentDecN

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

ApparentDecN 视赤纬(截断版) / truncated apparent declination.

func ApparentLo

func ApparentLo(date time.Time) float64

ApparentLo 视黄经 / apparent ecliptic longitude.

返回木星在 date 对应绝对时刻的瞬时视黄经,单位度。 Returns the apparent ecliptic longitude of Jupiter at the instant represented by date, in degrees.

func ApparentLoN

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

ApparentLoN 视黄经(截断版) / truncated apparent ecliptic longitude.

func ApparentMagnitude

func ApparentMagnitude(date time.Time) float64

ApparentMagnitude 视星等 / apparent magnitude.

返回木星在 date 对应绝对时刻的视星等。 Returns the apparent visual magnitude of Jupiter at the instant represented by date.

func ApparentMagnitudeN

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

ApparentMagnitudeN 视星等(截断版) / truncated apparent magnitude.

func ApparentRa

func ApparentRa(date time.Time) float64

ApparentRa 视赤经 / apparent right ascension.

返回木星在 date 对应绝对时刻的瞬时视赤经,单位度。 Returns the apparent right ascension of Jupiter at the instant represented by date, in degrees.

func ApparentRaDec

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

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

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

ApparentRaDecN 视赤经赤纬(截断版) / truncated apparent right ascension and declination.

func ApparentRaN

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

ApparentRaN 视赤经(截断版) / truncated apparent right ascension.

func AscendingNode

func AscendingNode(date time.Time) float64

AscendingNode 木星升交点黄经 / ascending node longitude of Jupiter.

func AscendingNodeN

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

AscendingNodeN 木星升交点黄经(截断版) / truncated ascending node longitude of Jupiter.

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 is east-positive longitude, lat is north-positive latitude, and azimuth is measured from north toward east.

func AzimuthN

func AzimuthN(date time.Time, lon, lat float64, n int) float64

AzimuthN 方位角(截断版) / truncated azimuth angle.

func BrightLimbPositionAngle

func BrightLimbPositionAngle(date time.Time) float64

BrightLimbPositionAngle 亮面中心位置角,单位度 / bright limb position angle in degrees.

func BrightLimbPositionAngleN

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

BrightLimbPositionAngleN 亮面中心位置角(截断版),单位度 / truncated bright limb position angle in degrees.

func CulminationTime

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

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

func CulminationTimeN(date time.Time, lon float64, n int) time.Time

CulminationTimeN 中天时间(截断版) / truncated culmination time.

func DescendingNode

func DescendingNode(date time.Time) float64

DescendingNode 木星降交点黄经 / descending node longitude of Jupiter.

func DescendingNodeN

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

DescendingNodeN 木星降交点黄经(截断版) / truncated descending node longitude of Jupiter.

func Diameter

func Diameter(date time.Time) float64

Diameter 木星视直径,单位角秒 / apparent Jupiter diameter in arcseconds.

func DiameterN

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

DiameterN 木星视直径(截断版),单位角秒 / truncated apparent Jupiter diameter in arcseconds.

func DownTime deprecated

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

DownTime 落下时间别名 / deprecated set-time alias.

Deprecated: use SetTime instead.

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

func DownTimeN

func DownTimeN(date time.Time, lon, lat, height float64, aero bool, n int) (time.Time, error)

DownTimeN 落下时间别名(截断版) / truncated down-time alias.

func EarthDistance

func EarthDistance(date time.Time) float64

EarthDistance 地心距离 / Earth distance.

返回木星在 date 对应绝对时刻到地球的距离,单位 AU。 Returns the distance from Jupiter to Earth at the instant represented by date, in astronomical units.

func EarthDistanceN

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

EarthDistanceN 地球距离(截断版) / truncated Earth distance.

func HourAngle

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

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

func HourAngleN(date time.Time, lon float64, n int) float64

HourAngleN 时角(截断版) / truncated hour angle.

func IlluminatedFraction

func IlluminatedFraction(date time.Time) float64

IlluminatedFraction 被照亮比例 / illuminated fraction.

func IlluminatedFractionN

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

IlluminatedFractionN 被照亮比例(截断版) / truncated illuminated fraction.

func LastConjunction

func LastConjunction(date time.Time) time.Time

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

func LastEasternQuadrature(date time.Time) time.Time

LastEasternQuadrature 上一次东方照 / previous eastern quadrature.

返回 date 当前或之前最近一次东方照时刻,结果保持 date 的时区。 Returns the nearest eastern quadrature at or before date, keeping date's time zone.

func LastOpposition

func LastOpposition(date time.Time) time.Time

LastOpposition 上一次冲日 / previous opposition.

返回 date 当前或之前最近一次冲日时刻,结果保持 date 的时区。 Returns the nearest opposition at or before date, keeping date's time zone.

func LastProgradeToRetrograde

func LastProgradeToRetrograde(date time.Time) time.Time

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

func LastRetrogradeToPrograde(date time.Time) time.Time

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

func LastWesternQuadrature(date time.Time) time.Time

LastWesternQuadrature 上一次西方照 / previous western quadrature.

返回 date 当前或之前最近一次西方照时刻,结果保持 date 的时区。 Returns the nearest western quadrature at or before date, keeping date's time zone.

func NextConjunction

func NextConjunction(date time.Time) time.Time

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

func NextEasternQuadrature(date time.Time) time.Time

NextEasternQuadrature 下一次东方照 / next eastern quadrature.

返回 date 当前或之后最近一次东方照时刻,结果保持 date 的时区。 Returns the nearest eastern quadrature at or after date, keeping date's time zone.

func NextOpposition

func NextOpposition(date time.Time) time.Time

NextOpposition 下一次冲日 / next opposition.

返回 date 当前或之后最近一次冲日时刻,结果保持 date 的时区。 Returns the nearest opposition at or after date, keeping date's time zone.

func NextProgradeToRetrograde

func NextProgradeToRetrograde(date time.Time) time.Time

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

func NextRetrogradeToPrograde(date time.Time) time.Time

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

func NextWesternQuadrature(date time.Time) time.Time

NextWesternQuadrature 下一次西方照 / next western quadrature.

返回 date 当前或之后最近一次西方照时刻,结果保持 date 的时区。 Returns the nearest western quadrature at or after date, keeping date's time zone.

func ParallacticAngle

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

ParallacticAngle 木星视差角(天顶方向角) / Jupiter parallactic angle.

func ParallacticAngleN

func ParallacticAngleN(date time.Time, lon, lat float64, n int) float64

ParallacticAngleN 截断项木星视差角(天顶方向角) / truncated Jupiter parallactic angle.

func Phase

func Phase(date time.Time) float64

Phase 相位,被照亮比例 / phase, illuminated fraction.

func PhaseAngle

func PhaseAngle(date time.Time) float64

PhaseAngle 相位角,单位度 / phase angle in degrees.

func PhaseAngleN

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

PhaseAngleN 相位角(截断版),单位度 / truncated phase angle in degrees.

func PhaseN

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

PhaseN 相位(截断版),被照亮比例 / truncated phase, illuminated fraction.

func RiseTime

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

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 RiseTimeN

func RiseTimeN(date time.Time, lon, lat, height float64, aero bool, n int) (time.Time, error)

RiseTimeN 升起时间(截断版) / truncated rise time.

func Semidiameter

func Semidiameter(date time.Time) float64

Semidiameter 木星视半径,单位角秒 / apparent Jupiter semidiameter in arcseconds.

func SemidiameterN

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

SemidiameterN 木星视半径(截断版),单位角秒 / truncated apparent Jupiter semidiameter in arcseconds.

func SetTime

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

SetTime 落下时间 / set time.

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

func SetTimeN

func SetTimeN(date time.Time, lon, lat, height float64, aero bool, n int) (time.Time, error)

SetTimeN 落下时间(截断版) / truncated set time.

func SunDistance

func SunDistance(date time.Time) float64

SunDistance 日心距离 / Sun distance.

返回木星在 date 对应绝对时刻到太阳的距离,单位 AU。 Returns the distance from Jupiter to the Sun at the instant represented by date, in astronomical units.

func SunDistanceN

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

SunDistanceN 太阳距离(截断版) / truncated Sun distance.

func Zenith

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

Zenith 天顶距 / zenith distance.

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

func ZenithN

func ZenithN(date time.Time, lon, lat float64, n int) float64

ZenithN 天顶距(截断版) / truncated zenith 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

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.

func PhysicalN

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

PhysicalN 木星物理观测参数(截断版) / truncated physical observing parameters of Jupiter.

Jump to

Keyboard shortcuts

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