https://github.com/seungwonpark/hr-diagram
Software for drawing H-R Diagram
https://github.com/seungwonpark/hr-diagram
Last synced: 3 months ago
JSON representation
Software for drawing H-R Diagram
- Host: GitHub
- URL: https://github.com/seungwonpark/hr-diagram
- Owner: seungwonpark
- License: mit
- Created: 2017-05-17T08:50:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T14:49:52.000Z (about 8 years ago)
- Last Synced: 2025-03-15T20:57:05.879Z (3 months ago)
- Language: Python
- Homepage:
- Size: 769 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HR-Diagram
[](https://zenodo.org/badge/latestdoi/91554541)- Software for drawing H-R diagram.
- Crawls data from [SDSS DR7 Navigate Tool](http://skyserver.sdss.org/dr7/sp/tools/chart/navi.asp).
- Uses 'g'(green), 'r'(red) filter.
- Strictly speaking, it's called as 'Color-Magnitude Diagram(CMD)'.
- Based on Python3.## Instructions
- Fill out the form at `ClusterInfo.ini`.
- If you change only the threshold, then it will skip crawling data and plot directly.
- Run `main.py`.
> python main.py## Examples
![]()
## File name format
```
datafilename = 'data/%g-%g-%g-%g-%g.csv' % (ra_0, ra_1, dec_0, dec_1, interval)
plotfilename = 'diagrams/%s_%g_%s.pdf' % (clustername, threshold, datafilename[:-4].split('/')[1])
```## TODOs
- Multithreaded crawling
- GUI