Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:pysbig [2010/10/08 01:47] (current)
russ created
Line 1: Line 1:
 +====== About ======
 + ​PySBIG can read SBIG CCD files and give you a Numeric array for the data and a dictionary for the headers. There is cPySBIG (since version 0.02) which is 40 times faster than the pure PySBIG module, also included. Version 0.03 now works with numpy instead of Numeric.
  
 +===== Example Usage =====
 +<code python>
 +import PySBIG
 +
 +sbig = PySBIG.PySBIG("​mysbigfile.st9"​)
 +
 +data = sbig.getData() ​ #two dimentional array
 +headers = sbig.getHeaders() #dictionary
 +</​code>​
 +
 +OR
 +
 +<code python>
 +import cPySBIG
 +
 +sbig = cPySBIG.cPySBIG("​mysbigfile.st9"​)
 +
 +data = sbig.getData() ​ #two dimentional array
 +headers = sbig.getHeaders() #dictionary
 +</​code>​
 +
 +====== Download ======
 +Version 0.04 files:
 +  * [[http://​coldstonelabs.org/​files/​PySBIG-0.04.tar.bz2|PySBIG-0.04.tar.bz2]]
 +  * [[http://​coldstonelabs.org/​files/​PySBIG-0.04.tar.bz2.asc|Signature]]
 +  * [[http://​coldstonelabs.org/​files/​PySBIG-ebuild.tar|Gentoo ebuild]]
 +  * [[http://​coldstonelabs.org/​files/​|Older versions]]
 +
 +====== TODO ======
 +  * Write/save SBIG files.
 +  * Have less same code in both cPySBIG and PySBIG (share from pure).
 +  * Optimize the pure python version.

software/pysbig.txt ยท Last modified: 2010/10/08 01:47 by russ