Code Monkey home page Code Monkey logo

starmap-svg's Introduction

Requirements
Python > 3.2
pip install svgwrite
Usage
python starmap.py
arguments description
-h show help message and exit
-cons show constellations True/False
-coords coordinates in format nortern,eastern
-date date in format day.month.year
-guides draw guides True/False
-height height in mm
-info text displayed above coordinates
-magn magnitude limit 0.1-12.0
-output output file
-summer if it is summertime on the specified date
-time time in format hour.minute.second
-utc utc offset of location -12 to +12
-width width in mm
Example 1
python starmap.py -coord 60.186,24.959 -time 12.00.00 -date 01.01.2000 -utc +2 -constellation True

image

Example 2
python starmap.py -coord 35.684,139.728 -time 20.00.00 -date 15.07.2018 -utc +9 -info TOKYO -guides True -magn 10.0 -width 150 -height 220

image

Info

Stars data: "Yale Bright Star Catalog ver5" http://tdc-www.harvard.edu/catalogs/bsc5.html

starmap-svg's People

Contributors

skeletor-git avatar heygirardi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.