PyNeb  1.1.2
PyNeb Reference Manua
pyneb.utils.fits Namespace Reference

Classes

class  Hdr
 

Functions

def writeAtom (input_file)
 
def writeColl
 

Function Documentation

def pyneb.utils.fits.writeAtom (   input_file)
Write the Es and As read from an ascii file into a fits file in PyNeb format.
The bibliographic references are read from comment lines in the file.
    
Parameters:
    - input_file    name of the ascii input file containing the energy levels (in 1/A or eV) and the Aij,
                    in the format elem_spec_atom_REF-STRING.dat

Example: 
writeAtom('o_iii_atom_AB01-CD02-EFG03.dat')
def pyneb.utils.fits.writeColl (   input_file,
  temp_in_cols = True,
  chebOrder = None 
)
Write the Omegas read from an ascii file into a fits file in PyNeb format.
The bibliographic references are read from comment lines in the file.
    
Parameters:
    - input_file    name of the ascii input file containing the Omegas,
                    in the format elem_spec_coll_REF-STRING.dat
    - temp_in_cols  If True, each column of the input file corresponds to a given Te, 
                     otherwise each rows corresponds to a given Te (a transposition is 
                     thus applied to the data)
Example: 
writeColl('o_iii_coll_AB01-CD02-EFG03.dat')