PyNeb  1.1.2
PyNeb Reference Manua
Hdr Class Reference

Inherits object.

Public Member Functions

def __init__ (self, fitsFile, ext)
 
def show (self)
 
def up (self, key, value)
 
def delete (self, key)
 
def cheb (self, orderFile)
 
def save (self)
 

Public Attributes

 fitsFile
 
 hdu
 
 ext
 

Detailed Description

Explore and update headers of fits files

Parameters:
    - fitsFile  name of the fits file
    - ext       file extension

Examples:
    f=hdr('o_iii.fits', 2)
    f.show()
    f.up('ATOM', 'kriptonyte')
    f.up('NATURE', 'invented')
    f.save

Constructor & Destructor Documentation

def __init__ (   self,
  fitsFile,
  ext 
)

Member Function Documentation

def cheb (   self,
  orderFile 
)
Update the Chebyshev order of a coll fits file.

Parameters:
    - orderFile    ascii file with upper level, lower level, order
def delete (   self,
  key 
)
def save (   self)
def show (   self)
def up (   self,
  key,
  value 
)
This will be changed to header.set at some point

Member Data Documentation

ext
fitsFile
hdu