forked from zonca/pycfitsio
-
Notifications
You must be signed in to change notification settings - Fork 0
keskitalo/pycfitsio
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
pycfitsio: Python ctypes wrapper for cfitsio Features: * read binary tables using hdu and column names into simple dictionaries of arrays * write FITS files incrementally 1 HDU at a time Example: import pycfitsio f = pycfitsio.open("test/data.fits") hdulist = f.HDUs print(hdulist) OrderedDict([('DATA', HDU: DATA)]) hdu = f['DATA'] column_array = f['DATA'].read_column('signal') all_columns = f['DATA'].read_all() print(all_columns) OrderedDict([('signal', array([ 0., 1. ....])), 'flag', array([1, 1, ....])])
About
python ctypes wrapper for cfitsio
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published