package
0.0.0-20240927105425-f6cbe64b58da
Repository: https://github.com/gxde-os/golang-gxde-dev.git
Documentation: pkg.go.dev
# Functions
计算某时刻的黄经章动干扰量 T 儒略世纪数 返回弧度.
计算某时刻的黄赤交角章动干扰量 dt 是儒略世纪数 返回弧度.
计算月球地心黄经周期项的和*/.
计算金星摄动,木星摄动以及地球扁率摄动对月球地心黄经的影响, T 是儒略世纪数,Lp和F单位是弧度*/ A1 = 119.75 + 131.849 * T (4.13式) A2 = 53.09 + 479264.290 * T (4.14式) A3 = 313.45 + 481266.484 * T (4.15式).
DmsToDegrees 把度分秒表示的角度换算成度.
DmsToRadians 把度分秒表示的角度换算成弧度(rad).
DmsToSeconds 把度分秒表示的角度换算成角秒(arcsecond).
GetDayGanZhi 计算日干支.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
T 是 儒略世纪数 返回 弧度.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
计算月球地心黄经*/ jd 儒略日 返回 弧度.
参数 T 儒略世纪数 返回 弧度.
GetSolarTermJD 使用牛顿迭代法计算24节气的时间 f(x) = Vsop87dEarthUtil.getEarthEclipticLongitudeForSun(x) - angle = 0 year 年 order 节气序号 返回 节气的儒略日力学时间 TD.
GetSolarTermName 获取二十四节气名.
No description provided by the author
No description provided by the author
*
* 按照儒略日计算地球和太阳的距离
*
* 参数 jd 儒略日
* 返回 地球和太阳的距离,单位是天文单位(au)
*/.
GetYearGanZhi 计算年份的干支.
GetYearZodiac 计算年份的生肖.
Mod2Pi 把角度限制在[0, 2π]之间.
ModPi 把角度限制在[-π, π]之间.
New 从缓存获取 Calendar 对象,没有则先创建.
NewtonIteration 牛顿迭代法求解方程的根.
SecondsToDegrees 把角秒换算成角度.
SecondsToRadians 把角秒换算成弧度.
ToDegrees 弧度转换为角度.
ToRadians 角度转换为弧度.
*
* 用于把vsop87理论算出来的经度转换成fk5目视系统的经度的修正值,参考 Jean Meeus 的 Astronomical
* Algorithms 第二版(1998)第32章219页(32.3)式
*
* 参数 l
* vsop87经度(rad)
* 参数 b
* vsop87纬度(rad)
* 参数 jd
* 儒略日
* 返回 修正量(rad)
*/.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
十二生肖.
天干.
月球黄经周期项(ΣI)及距离(Σr).
No description provided by the author
地支.
# Structs
Calendar 保存公历年内计算农历所需的信息.
Day 保存农历日信息.
Month 保存农历月信息.
月地心黄经系数.
天体章动系数类型变量.