Replies: 3 comments 5 replies
-
Hi Clifford! That is a great idea. I did not know that backyard radioastronomy was a thing. Cool! It sounds like the specific use case is to convert from galactic coordinates of a distant radio source to horizontal coordinates for an observer at a given location on the Earth. I suppose this is for the purpose of aiming a radio dish? Here are my initial thoughts for an approach I would be willing to implement. Astronomy Engine already supports four different orientation systems:
Astronomy Engine also provides functions for converting coordinates from any of these orientations back and forth to any of the others. I can add support for galactic coordinates (GAL), although I don't think I want to keep adding a complete set of conversions from every orientation to every other, because it would greatly expand the number of functions to document and translate among the supported programming languages. Fortunately, GAL and EQJ are both invariant systems, meaning they are fixed and do not vary with time or location on the Earth. I think the best approach would be for Astronomy Engine to provide the fixed rotation matrix that converts from GAL to EQJ and back. Then I will provide some demo code that shows the following conversion sequence:
And I would include another demo to do the inverse. Such a demo would also allow people to figure out how to convert back and forth between galactic coordinates and the other systems. What do you think? |
Beta Was this translation helpful? Give feedback.
-
I have updated the master branch with new functions to assist converting between galactic coordinates and all the other coordinate systems. I provided a C demo program and a Python demo program to illustrate converting from galactic coordinates to horizontal coordinates for an observer at a given time and geographic location. I verified these demos using the JPL Horizons online tool. @cjheath : The demos do not correct for atmospheric refraction because the formulas I have assume visible light. I have no idea what refraction effect the atmosphere has on radio wavelengths, so these demos calculate without any refraction correction. Do you know if there is a model for atmospheric refraction in radio astronomy? |
Beta Was this translation helpful? Give feedback.
-
That's great news, Don. Many thanks. I don't think refraction will affect radio astronomy, and if it does, it's only noticeable at the shortest wavelengths on the largest dishes, not amateur ones. Nevertheless I have posted a message to the Facebook group to see if anyone knows the answer. |
Beta Was this translation helpful? Give feedback.
-
With the rise in popularity of backyard radioastronomy, it would be wonderful to be able to calculate galactic coordinates. Especially the alt-az of specific extra-solar-system objects for a given place and time on Earth.
Beta Was this translation helpful? Give feedback.
All reactions