Skyfield: Elegant Astronomy for Python
rhodesmill.org
rhodesmill.org
I then got them engraved onto cufflinks https://imgur.com/bhxJVGo
They were super happy with the result, and we all looked great on the day. I wonder if there's a market for these but it feels a little niche, I'm glad skyfield exists to help projects like these.
I make multispectral Sun images (https://imgur.com/UMQhcw6) for people occasionally based on a time & date, I started messing around with the idea for my son, and then as a gift for a friend and she then helped me get a page up https://www.theremarkablz.com/thesun
It's often for sciency people who have just had a kid, because with the SDO images you can get really close to the specific time of birth.
While not exactly the same, I got my wife a framed print of the stars over our wedding day as an anniversary gift a few years after we were married. It may be a little niche, but I think there is a market for that kind of thing.
I've used astropy for a couple things: 1) to automatically locate the angle of the sun in the sky in alt and az, and send motor commands to keep my telescope pointed at it for hours
2) to compute the moon and sun locations around a solar eclipse so I could simulate an eclipse in blender
When you use libraries like this you realize you are taking advantage of hundreds, if not thousands of years of technological development and discovery, turbocharged by modern math and software engineering.
> While Skyfield itself has no dependency on the AstroPy library, it’s willing to accept AstroPy time objects as input and return results in native AstroPy units
For anyone that could offer thoughts:
I have a ~1985 celestron c8 with the skysensor computer.
The skysensor uses and 1950 epoch and is definitely not y2k compliant :D
What is the best way to find a 19xx year that closely matches 202x so i can use the GOTO mode? I have been adjusting bright stars by some crude guesstimates by looking at average change in times between 1950 and 1990 and then again between 1990 and 2023 and working out the RA and Dec which can get me close.
But it would be nice to figure out if there is a year that would match real close. Maybe i can use this library to do a brute force search.
IIRC the C8 was often sold with a Super Polaris mount, or something similar. There are many builds for this mount.[1]
If you're not in to DIYing a solution there are companies that sell pre-built conversion kits.
I LOVE the retro feel of chonky skysensor so I would love to figure out how to keep the original motors and 5 pin plug. I have the original manuals and since the circuits are chonky too I suspect it would not be hard to make something compatible even without a bench scope.
This is a great link, I will dig through and see if someone has done what I want already.
I appreciate the link since that gives me more to research. I am going to have to tear down the mount and see if the motors are marked with their ratios and such based on what I am reading this morning.
Brandon showed me how to use skyfield to solve the problem for a robot on Earth, and then he went back and forth via email to show me how to solve the problem on the moon.
In the end, we used skyfield to generate lookup tables for the places and times that we cared about, and it worked out great!
(DE430 got published in 2014 and most current version is DE440, released in 2021.
Then the results (e.g. planet centroid as a function of time) are encoded in a file, as noted above.
That file is then read by the ephemeris software to obtain the position at the desired time.
I haven’t checked in a few years, but there used to be multiple files to choose from depending on the time range you needed to cover.
It’s free — “your taxpayer dollars at work.”
(see Chap.16 "Of Sky and Time" in "When They Severed Earth From Sky", esp. Table 2, for the prevalence of —or at least ascription to— mentions of precession of the equinoxes in ancient mythology)
This looks cool, and most of the code would look nearly right at home in a modern code base!
I switched a few toys I'd written from pyephem to skyfield, and it felt like a large improvement. (Must note that they really were toys though, so the amount of work wasn't huge in my case).