Difference between revisions of "PythonsOnSHIPs"

From CoolWiki
Jump to navigationJump to search
Line 4: Line 4:
 
Based on our requirements of Windows+MacOS+Linux, the choice is Anaconda python.
 
Based on our requirements of Windows+MacOS+Linux, the choice is Anaconda python.
 
* [http://continuum.io/downloads.html  http://continuum.io/downloads.html]
 
* [http://continuum.io/downloads.html  http://continuum.io/downloads.html]
 +
 +
 +
===Using Python===
 +
Some, but not all, operations for which we will use Python for:
 +
* Read an APT output table file.
 +
* Write a DS9 region file.
 +
* Read SHIPs ASCII format data table.
 +
* Write SHIPs ASCII format data table.
 +
* Merge photometry tables.
 +
* Create 2-dimensional plots of various types: scatter plots, line plots, histograms.  These plots may have multiple data sets on them.
 +
* Save plots to a JPG, PNG or similar graphic format file.

Revision as of 16:30, 15 May 2013

The Python programming environment is a relatively easy to use tool that has gained considerable acceptance and use in astronomical data processing. We will use Python on an experimental basis to cover some basic work for SHIPs work.

Python distribution to use

Based on our requirements of Windows+MacOS+Linux, the choice is Anaconda python.


Using Python

Some, but not all, operations for which we will use Python for:

  • Read an APT output table file.
  • Write a DS9 region file.
  • Read SHIPs ASCII format data table.
  • Write SHIPs ASCII format data table.
  • Merge photometry tables.
  • Create 2-dimensional plots of various types: scatter plots, line plots, histograms. These plots may have multiple data sets on them.
  • Save plots to a JPG, PNG or similar graphic format file.