Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Skyfield 可以计算行星、太阳或月球的表观直径吗?
类似于以下内容:
place.at(utc).observe(moon).appparent().angular_diameter
如果你知道物体的半径,你可以用简单的三角法计算出表观直径:
from numpy import arcsin MOON_RADIUS = 1737.1 # km appdiam = 360 / pi * arcsin(MOON_RADIUS / place.at(utc).observe(moon).distance().km)