Hermes DRS  6.0
reduction software
 All Classes Namespaces Functions Variables Pages
Functions | Variables
iraf2lines Namespace Reference

Functions

def readHansFile
 
def readIrafLogFile
 
def writeToFitsTable
 write in a fits table
 
def printUsage
 give help when command line is empty
 

Variables

tuple tbhdu = pyfits.new_table(coldefs)
 TTYPE = 'MODEL ' / Table type.
 
 args = sys.argv
 command line arguments
 
string fInput = "NONE"
 default input file
 
string fOutput = "NONE"
 default output file
 
list options = []
 
tuple table = readIrafLogFile(fInput)
 get data from input file
 

Detailed Description

Created on 3 Feb 2010

@author: yfremat (ROB)

The input files needs to have the following format:

NOTE: HERE INDENTIFY WAS RUN ON THE FULL SP. RANGE!
#
Fri 09:25:37 29-Jan-2010
Features identified in image 00272344_HRF_TH_40.
      Pixel        Fit       User   Residual Fwidth Wt Label
 1  1448.48  8868.7114   8868.833 -0.1215767   4.00  1 
#
...