Table of Contents

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

import PySBIG
 
sbig = PySBIG.PySBIG("mysbigfile.st9")
 
data = sbig.getData()  #two dimentional array
headers = sbig.getHeaders() #dictionary

OR

import cPySBIG
 
sbig = cPySBIG.cPySBIG("mysbigfile.st9")
 
data = sbig.getData()  #two dimentional array
headers = sbig.getHeaders() #dictionary

Download

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 06:47 by russ