An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# HR-Diagram
[![DOI](https://zenodo.org/badge/91554541.svg)](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