You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
astro/neptune/neptune.go

71 lines
1.2 KiB
Go

5 years ago
package neptune
import (
"b612.me/astro/basic"
"b612.me/astro/planet"
)
/*
jde: UTC
*/
func SeeLo(jde float64) float64 {
return basic.NeptuneSeeLo(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func SeeBo(jde float64) float64 {
return basic.NeptuneSeeBo(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func SeeRa(jde float64) float64 {
return basic.NeptuneSeeRa(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func SeeDec(jde float64) float64 {
return basic.NeptuneSeeDec(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func SeeRaDec(jde float64) (float64, float64) {
return basic.NeptuneSeeRaDec(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func SeeMag(jde float64) float64 {
return basic.NeptuneMag(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func EarthAway(jde float64) float64 {
return basic.EarthNeptuneAway(basic.TD2UT(jde, true))
}
/*
jde: UTC
*/
func SunAway(jde float64) float64 {
return planet.WherePlanet(1, 2, basic.TD2UT(jde, true))
}