How Do You Calculate Angular Separation of Stars Using Different Coordinates?

AI Thread Summary
The discussion focuses on calculating the angular separation of stars using different coordinate systems, specifically Right Ascension (RA) and Declination (DEC) versus Hour Angle (HA) and Declination, as well as Altitude (ALT) and Azimuth (AZ). It confirms that HA can be substituted for RA in the angular separation formula, as both represent angles in a spherical coordinate system. The participants agree that using ALT and AZ should yield the same angular separation results as RA and DEC for the same stars. Additionally, it is noted that the angular distance calculated using ALT and AZ may change over time due to the stars' apparent motion. The discussion concludes with a successful application of the same formula across both coordinate systems, yielding similar results.
TheSource007
Messages
14
Reaction score
0
Hi all.
I have been looking for a formula that gives me the angular separation of two stars.
So far I just found this one :http://www.skythisweek.info/angsep.pdf
but it uses the RA and DEC of the 2 stars, and I need to use the hour angle and DEC. Is it the same thing? Do I just replace HA by RA?

Also I need the equation that gives me the angular separation given the altitude and azimuth of two stars. Can I use the same equation by replacing RA by azimuth and so on?

My goals is to see if the angular distance between two stars given the RA, DEC is different from the angular distance given the ALT, AZ. I think it should be the same but I want to prove it. Also I want to know how that distance (given the ALT, AZ) changes over time. Does it stay the same or does it change?
I would appreciate answers but I really need the equations for a computer code.
Thank you
 
Astronomy news on Phys.org
HA is Hour Angle. RA is Right Ascension. LMST is the Local Mean Sidereal Time. d is the time in days since Jan 1,2000.

HA = LMST - RA

where LMST = 24*( 18.697374558 + 24.0657098244191 * d - longitude / 15)
and d = (Julian Date - 2451545)
 
Yes, you can use any pair of spherical coordinates in place of right ascension and declination, as long as the alpha coordinate in the equation you cite is the angle measured in the reference plane (equator) of the coordinate system and the delta coordinate is the angle measured from the reference plane and up, that is, delta is an elevation angle. As you can see, the alpha coordinates do only appear as an difference in angle and in addition in a way that makes the sign of the difference irrelevant, so the two alphas can be replaced by the angle subtended in the reference plane by the two objects.

You should very much end up with the same angular separation when you apply right ascension and declination as when you apply azimuth and elevation for the same two stars.

You can see a bit more about formulas for angular separation on [1]. Depending on what language you are using, it should be fairly straight forward to turn this into code. Note the comment on the wiki-page regarding the benefit of using the atan2 function to calculate inverse tangent [2].


[1] http://en.wikipedia.org/wiki/Great-circle_distance
[2] http://en.wikipedia.org/wiki/Atan2
 
Last edited:
Thanks a lot. I used the same formula for both coordinate systems and I got approximately the same result.
 
Publication: Redox-driven mineral and organic associations in Jezero Crater, Mars Article: NASA Says Mars Rover Discovered Potential Biosignature Last Year Press conference The ~100 authors don't find a good way this could have formed without life, but also can't rule it out. Now that they have shared their findings with the larger community someone else might find an explanation - or maybe it was actually made by life.
TL;DR Summary: In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect alien signals, it will further expand the radius of the so-called silence (or rather, radio silence) of the Universe. Is there any sense in this or is blissful ignorance better? In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect...
This thread is dedicated to the beauty and awesomeness of our Universe. If you feel like it, please share video clips and photos (or nice animations) of space and objects in space in this thread. Your posts, clips and photos may by all means include scientific information; that does not make it less beautiful to me (n.b. the posts must of course comply with the PF guidelines, i.e. regarding science, only mainstream science is allowed, fringe/pseudoscience is not allowed). n.b. I start this...
Back
Top