Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@GuLinux
Latest commit c1ddb52 Nov 24, 2018 History
2 contributors

Users who have contributed to this file

@codebox @GuLinux
import sky_area
from input_file import InputFile
from diagram import Diagram
from coord_calc import CoordCalc
f = InputFile('stardata.csv')
area = sky_area.SKY_AREA_ORION
star_data_list = f.get_stars(area)
cc = CoordCalc(star_data_list, area, 500)
cc.process()
d = Diagram('My Star Map', area, star_data_list)
list(map(d.add_curve, cc.calc_curves()))
d.render_svg('star-chart.svg')