Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the angular distance between astronomical entities
ResourceFunction["AstroAngularDistance"][entity1,entity2] computes the current angular distance between entity1 and entity2. | |
ResourceFunction["AstroAngularDistance"][entity1,entity2,date] computes the angular distance between entity1 and entity2 on the specified date. | |
ResourceFunction["AstroAngularDistance"][entity1,entity2,{date1,date2,…,daten}] computes the angular distance between entity1 and entity2 on multiple dates. |
Compute the current angular distance between two objects:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
Compute the angular distance between two objects on a specified date:
In[3]:= | ![]() |
Out[3]= | ![]() |
Compute the angular distance between two objects over a range of dates:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
Entities can be in different domains:
In[6]:= | ![]() |
Out[6]= | ![]() |
The units returned by AstroAngularDistance can be chosen using the option TargetUnits:
In[7]:= | ![]() |
Out[7]= | ![]() |
Since angles are measures as viewed from Earth, Earth itself cannot be included as one of the entities:
In[8]:= | ![]() |
Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License