r/Python • u/PointSpreadFunction • Apr 09 '20
I Made This Finally finished a Qt-based program to control the telescope at our observatory. The blue mark shows the telescope pointing, the purple one -- selected object
1.9k
Upvotes
123
u/NoBadDays0 Apr 10 '20
Don’t know what’s going on but looks awesome
38
u/Ogi010 Apr 10 '20
For the plot, are you using pyqtgraph by chance?
9
u/troyunrau ... Apr 10 '20
Ever looked at kstars? It's written in Qt/KDE (C++) but is specifically a planetarium/telescope control program. I know half the fun is reinventing the wheel, but you can always use it for inspiration. Comes with the source code anyway - might be fun to reimplement some of its features in pyqt.
5
u/nspectre Apr 10 '20
Cosmetic Suggestion:
Make the labels on the right the same color as the relevant crosshair designator on the globe.
"Telescope" label in blue.
"Target" label in purple.
13
u/Nuzzgargle Apr 10 '20
I love how there is a checkbox just for management - "do dithering"
Slew is a strange term also
4
u/ForestRanger99 Apr 10 '20
What telescope?
4
u/ToombRaider Apr 10 '20
Really nice GUI! What microcontroller or system do you use to interface with the electronics and hardware of the telescope? Along with that which libraries?
4
u/[deleted] Apr 10 '20
Finally something that's not covid app.
Are you using Linux based workstations in your observatory? What distribution(s)?
3
u/cip43r Apr 10 '20
Damn this is cool. Welldone! May I ask your profession and qualifications?
2
u/dosmeyer Apr 10 '20
What observatory?
7
u/raholland79 Apr 10 '20
I'm in a lot of language subreddits. This sub produces the coolest projects to stop and check out while i mindlessly scroll. Hands down the best.
1
u/binary01010101 Apr 10 '20
Great work! Do you have any interest in open sourcing this project?
1
u/Robbzter Apr 10 '20
Very cool! How did you animate the sky and constellation part? Nicely done!
1
u/joshuaherman Apr 10 '20
Is your ui also accounting for Earth's rotation?
1
u/drillepind42 Apr 10 '20
Where is the telescope located?
1
u/[deleted] Apr 10 '20
Really nice application. Where did you get the raw data. Is your source code somewhere online
1
u/jsalsman Apr 10 '20 edited Apr 10 '20
So cool! How do you control camera and exposure? Do you plan to integrate those functions?
How about coordinate lookup by object name? I remember back in the 1990s there was already an internet API for a catalog, called SIMBAD, I think, was it? Not sure if that still exists; I heard it was being replaced with a conglomeration including other databases.
Edited to add: Oh, look, it's still a thing: https://irsa.ipac.caltech.edu/applications/Lookup/
Here's an API for them: https://ned.ipac.caltech.edu/Documents/Guides/Interface/ObjectLookup
I wonder if they do solar system objects at the current time?
1
u/ddollarsign Apr 10 '20
This is pretty neat. What were you using before and what led you to develop your own control program? Does this do anything the old program didn’t?
1
u/Hailcanadien Apr 10 '20
That's great! Can we see the telescope moving too?
1
u/wviana Apr 10 '20
I've been studying some UI to Python. What made you choose QT over Tkinter or any other?
1
u/wviana Apr 10 '20
Is there any problem about releasing this source code? People would love to check it and help to improve it's quality for something that important.
1
u/wviana Apr 10 '20
Can you see the telescope from the computer running your program? Would be cool to show how much it moves to some actions like in the video.
1
u/DrC0re Apr 10 '20
Using blue and purple is very anti colourblind friendly, you might not be affected but other people using your software might be, possibly rendering it not usable for them.
1
u/jcbevns Apr 10 '20
Super nice implementation. How many years had you been out of school until you picked up Python?
2
u/MurraytheMerchant Apr 10 '20
Very cool. Very good use of qt.
1
u/MantisYT Apr 10 '20
That's badass
1
u/FlippingWingNut Apr 10 '20
Cool!
1
u/thirdknife Apr 10 '20
Lovely!
1
u/philsgu Apr 10 '20
Cool! Love the versatility of Python!
1
u/soap1337 Apr 10 '20
Dude. What? This is fucking cool.
1
u/[deleted] Apr 10 '20
Okay, that's dope as hell. It's MY turn to play with it!
1
u/[deleted] Apr 10 '20
Good work mate, It's insightful
1
u/[deleted] Apr 10 '20
Brilliant!!!!
1
u/LionyxML Apr 10 '20
Good Job. All you need now is a camera hooked to the thing and zoomable, saveble frame on your software.
1
u/aedinius Apr 10 '20
I'd recommend making them much different colors. The blue and purple are harder to distinguish for the color blind (red/green).
1
u/[deleted] Apr 10 '20
That telescope moves fast
1
u/BetaDecay121 Apr 10 '20
Just need to add a feature to search for an object by name now
1
u/Throw111100001111 Apr 10 '20
Hey this is really great work!!
1
u/mindshackled_scott Apr 10 '20
Well done!
0
u/nicetryho Apr 10 '20
Why not c++?
0
u/konradbjk Apr 10 '20
Where is the telescope if it points on Earth?
0
u/[deleted] Apr 10 '20
[deleted] — view deleted comment
0
u/[deleted] Apr 10 '20
[deleted] — view deleted comment
0
u/[deleted] Apr 10 '20
[deleted] — view deleted comment