![]() |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hi everyone.
Can anyone suggest any reasonable astronomical ephemeris libraries? Preferably ones suitable for linking to from C code, and ideally free. I'm hoping to write some code behind a database to do certain things. Essentially I'd need to be able to predict positions of planets and asteroids (after providing orbital elements for the latter). I'd probably also want to calculate altitude/azimuth, map a position in the sky to a particular constellation, calculate moon phase, and so on. The actual calculations for doing this are a bit beyond me, at least to the point where I'd rather not spend time focusing on them. I'd assumed there would be at least one open source library available, and although there are some open source planetarium programs (such as kstars), I haven't managed to find any nicely packaged libraries. libastro, distributed with xephem, looks alright, but it's not well documented and the licence seems very daunting. Even if I were to get permission to use it for something other than compiling xephem, I might still want to distribute my own source in the future, and that could make things complicated. I'd appreciate any suggestions. Thanks. Mike. |
#2
|
|||
|
|||
![]()
Mike McGavin wrote:
Hi everyone. Can anyone suggest any reasonable astronomical ephemeris libraries? Preferably ones suitable for linking to from C code, and ideally free. I'm hoping to write some code behind a database to do certain things. Essentially I'd need to be able to predict positions of planets and asteroids (after providing orbital elements for the latter). I'd probably also want to calculate altitude/azimuth, map a position in the sky to a particular constellation, calculate moon phase, and so on. The actual calculations for doing this are a bit beyond me, at least to the point where I'd rather not spend time focusing on them. I'd assumed there would be at least one open source library available, and although there are some open source planetarium programs (such as kstars), I haven't managed to find any nicely packaged libraries. libastro, distributed with xephem, looks alright, but it's not well documented and the licence seems very daunting. Even if I were to get permission to use it for something other than compiling xephem, I might still want to distribute my own source in the future, and that could make things complicated. I'd appreciate any suggestions. Thanks. Mike. Perhaps the following will be useful: http://www.willbell.com/math/fundephcomp.htm Al |
#3
|
|||
|
|||
![]() Mike McGavin wrote: Hi everyone. Can anyone suggest any reasonable astronomical ephemeris libraries? Preferably ones suitable for linking to from C code, and ideally free. Try Astrolabe: http://astrolabe.sourceforge.net/ I haven't used it myself, but from the description, it sounds like what you are looking for. |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sedna, space probes?, colonies? what's next? | TKalbfus | Policy | 265 | July 13th 04 12:00 AM |
Benefits of Membership in the Astronomical League | EFLASPO | Amateur Astronomy | 9 | February 4th 04 09:02 PM |
Astronomical Observations - Parts 1 & 2 | Fact Finder | Astronomy Misc | 3 | August 25th 03 03:52 PM |
Astronomical Observations - Parts 1 & 2 | Fact Finder | CCD Imaging | 3 | August 25th 03 03:52 PM |
Astronomical ephemeris | Peter Hayes | UK Astronomy | 0 | July 28th 03 10:24 PM |