Coder Social home page Coder Social logo

procstars's Introduction

Star Catalog Processor and Image Generator
By Tom Lechner, tomlechner.com
2013


This will process the Tycho 2 Star Catalog, and also the Principal
Galaxy Catalog to create an equirectangular image of the things therein.


You will need to download the catalogs yourself, as Tycho, for instance,
is about 500 megabytes.

For Tycho, you might try:
   http://cdsarc.u-strasbg.fr/viz-bin/Cat?target=http&cat=I%2F259&
For the PGC, you might try:
   http://cdsarc.u-strasbg.fr/viz-bin/Cat?VII/119



------------------------- Procstars-gui ---------------------------

Procstars-gui currently uses the Laxkit for gui elements. You will have to 
download the Laxkit seperately.

To do so, you need to do a couple of things.
First, make sure build dependencies are present:
  sudo apt-get install g++ pkg-config libgraphicsmagick++1-dev libpng12-dev libx11-dev libxi-dev libxft-dev libcups2-dev libimlib2-dev libfontconfig-dev libfreetype6-dev libssl-dev xutils-dev

Next, from this directory:
  svn co svn://svn.code.sf.net/p/laxkit/code/laxkit/trunk laxkit
  cd laxkit
  ./configure
  make depends
  make hidegarbage
  make
  cd ..

Now you should be able to simply do:
  make procstars-gui

...and run!


------------------ (older) Procstars, command line version ------------------------

Usage:
  ./procstars -S 6 -m 12 -s 12 -w 32768
  ./procstars -S 6 -m 12 -s 6 -w 16384
  ./procstars -c Tycho.cat -o stars.tif
  ./procstars --help



It is written in plain old C++, and is contained all in procstars.cc.
You will need GraphicsMagick development files available. That will
be something like:
  sudo apt-get install libgraphicsmagick++1-dev

Compiling is supposed to be easy, but you might have to modify where some 
header files are in the Makefile.

When you are ready:
  make depends
  make procstars
...and run!




--------------------------- TODO ----------------------------------
Apparently, there is a newer galaxy catalog, but haven't coded for it yet:
  http://cdsarc.u-strasbg.fr/viz-bin/Cat?VII/237
What the heck are those giant red splotches in the sky?? need to approximate
Fake big things like LMC and SMC?
This should be a gimp plugin

procstars's People

Contributors

tomlechner avatar

Stargazers

Fust Kilas avatar

Watchers

James Cloos avatar  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.