Documentation ¶
Overview ¶
Jupiter: Chapter 43, Ephemeris for Physical Observations of Jupiter.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Physical ¶
Physical computes quantities for physical observations of Jupiter.
Results:
DS Planetocentric declination of the Sun. DE Planetocentric declination of the Earth. ω1 Longitude of the System I central meridian of the illuminated disk, as seen from Earth. ω2 Longitude of the System II central meridian of the illuminated disk, as seen from Earth. P Geocentric position angle of Jupiter's northern rotation pole.
Example ¶
package main import ( "fmt" "github.com/soniakeys/meeus/v3/jupiter" pp "github.com/soniakeys/meeus/v3/planetposition" ) func main() { // Example 43.a, p. 295 e, err := pp.LoadPlanet(pp.Earth) if err != nil { fmt.Println(err) return } j, err := pp.LoadPlanet(pp.Jupiter) if err != nil { fmt.Println(err) return } DS, DE, ω1, ω2, P := jupiter.Physical(2448972.50068, e, j) fmt.Printf("DS = %+.2f\n", DS.Deg()) fmt.Printf("DE = %+.2f\n", DE.Deg()) fmt.Printf("ω1 = %.2f\n", ω1.Deg()) fmt.Printf("ω2 = %.2f\n", ω2.Deg()) fmt.Printf("P = %.2f\n", P.Deg()) }
Output: DS = -2.20 DE = -2.48 ω1 = 268.06 ω2 = 72.74 P = 24.80
func Physical2 ¶
Physical2 computes quantities for physical observations of Jupiter.
Results are less accurate than with Physical().
Results:
DS Planetocentric declination of the Sun. DE Planetocentric declination of the Earth. ω1 Longitude of the System I central meridian of the illuminated disk, as seen from Earth. ω2 Longitude of the System II central meridian of the illuminated disk, as seen from Earth.
All angular results in radians.
Example ¶
package main import ( "fmt" "github.com/soniakeys/meeus/v3/jupiter" ) func main() { // Example 43.b, p. 299 DS, DE, ω1, ω2 := jupiter.Physical2(2448972.50068) fmt.Printf("DS = %+.3f\n", DS.Deg()) fmt.Printf("DE = %+.2f\n", DE.Deg()) fmt.Printf("ω1 = %.2f\n", ω1.Deg()) fmt.Printf("ω2 = %.2f\n", ω2.Deg()) }
Output: DS = -2.194 DE = -2.50 ω1 = 268.12 ω2 = 72.79
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.