Skip to content

A tool to decode star spectrum images using OpenCV to make predictions about its charatestics.

License

Notifications You must be signed in to change notification settings

Blackcipher101/Spaceye

Repository files navigation

Badge

Spaceye 🌌

Spaceye is something hit my mind 🧠 when I was reading 📘 "Introductation to Astrophsics" by Baidyanath Basu which said we can get informatation about some celestial bodies from thier spectrum.So I set out to make a tool that extract this informatation from the spectrum.

Spectrum is basically a collection of all the colors in the image split up this can be taken from spectrometers u can make a spectrometer at home for 10$
It looks like:

What Does Space Do ☑️

It takes a spectrum image finds the color-graph find the adsorption lines the does some data crunching to find the corresponding elements, then also uses doppler shift to find the speed(radial velocity) 🏎️ , and matches with the star type to find an Idea about temperarture 🌡️ and wieght

It also has a feature where we can take in video of celestial 🪐 body to find its rotation time

This all is packaged in a simple GUI.

How to use ⚙️

Step 1: clone the repo

git clone https://github.com/Blackcipher101/Spaceye.git

Step 2: install required packages

pip install opencv-python
pip install PySimpleGUI

Step3: Showtime

python3 main.py

🥳 Ça suffit! 🥳

Workflow

Startup

Selection of file

Color graph

Adsoption lines

Here can adjust the amount of accuracy you want the set in such a way you don't have many lines but some promient lines.

Final

Enter your start and end frquency of the spectrometer try looking up spectralbench if you don't know

Note: - sign stands for going away from us

Yaah its all done that simple right,

I have cross-verified the elements with what are mostly find in those type of stars and it matches up 90% of the time and also the speed and weight numbers.

Rotation

Enter the duration of the video an leave it

I missed the accurate rotation time by 0.74 days which is 27 days Disclamer:Only gives rotation of the middle part as in some celestial bodies different regions have differnt times

Contribution 🤝

Feel Free to make issues and send PRs 😇

License

All the images used were from spectral bench provided by public lab and the video was picked from SOHO webisite

About

A tool to decode star spectrum images using OpenCV to make predictions about its charatestics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages