add star fn

This commit is contained in:
2022-05-06 12:42:01 +08:00
parent 9b50cfff3f
commit c5f34d3ab8
11 changed files with 9691 additions and 322 deletions
-1
View File
@@ -8,7 +8,6 @@ import (
// Constellation
// 计算date对应UTC世界时给定Date坐标赤经、赤纬所在的星座
func Constellation(ra, dec float64, date time.Time) string {
jde := basic.Date2JDE(date.UTC())
return basic.WhichCst(ra, dec, jde)