====== 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 ====== 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.