pfits
index
/usr/lib/python2.5/site-packages/pfits.so

This is a hand-written Python wrapper.

 
Classes
       
__builtin__.object
FITS
HDU

 
class FITS(__builtin__.object)
    This class provides the basic interfaces to FITS files.  FITS(filename)
 
  Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
get_hdus(...)
get_hdus()
Return the number of FITSs in the file.

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x2b6a8cc86960>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class HDU(__builtin__.object)
    This class provides the basic interfaces to HDUs in FITS files.  HDU(filename)
 
  Methods defined here:
__getitem__(...)
x.__getitem__(y) <==> x[y]
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__len__(...)
x.__len__() <==> len(x)
__str__(...)
x.__str__() <==> str(x)
get_data(...)
get_data()
Return this HDU's data as a tuple with an entry for the data in each column.  Each column may contain a numpy array or a tuple of strings.
has_key(...)
has_key(key)
Return if key is a keyword in this HDU's header.
keys(...)
keys()
Return a list of keywords in this HDU's header.

Data descriptors defined here:
cards
type

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x2b6a8cc86ae0>
T.__new__(S, ...) -> a new object with type S, a subtype of T