Hermes DRS  6.0
reduction software
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
hermes.pipeline.run.firstLook.firstLook Class Reference

This is the first look chain. More...

Public Member Functions

def __init__
 This is the first look chain. More...
 
def hereLine
 just draw a line, print current time and module name
 
def doTheChain
 proceed
 
def doSomeGui
 here begins the gui
 
def yesItsAFile
 set the variable self.inFile to a real file name
 
def doRun
 launch the program
 
def searchFile
 run again on another file
 
def evnmt_delete
 close or end
 
def destroy
 finish program
 

Public Attributes

 inFile
 remember time of begin More...
 
 dobackground
 by default, dobackground is False
 
 weHaveTheGUI
 by default, weHaveTheGUI is False More...
 
 figurDrawn
 by default, figurDrawn is False
 
 results
 self.results is a new resultDict (with all its default values)
 
 optioncontainer
 optioncontainer is a new OptionDict
 
 fenetre
 we have no gui, give help More...
 
 boiteV
 positional box
 
 checkBack
 positional box More...
 
 checkDivFF
 checkbox to let the user choose to do divide by the FF
 
 bouton
 launch button
 
 bouton2
 next run
 
 chooser
 positional box More...
 
 frame2
 we want to apply filters to select files here a FITS files filter More...
 
 frame3
 a frame for the information labels
 
 labelFile
 self.labelFile is changed when user picks another input file . More...
 
 labelOut
 self.labelOut is changed for another output file
 
 figur
 initiate the resulting graphic
 

Static Public Attributes

tuple computebiasprescan = computeBiasPrescan( self.results )
 
tuple cutPre = cutPrescanRegion( self.results )
 
tuple subBiasCCD = subtractBiasCCD( self.results )
 
tuple convertADU = convertADUtoPhotonUnits( self.results )
 
int maxOrderOffset = 14
 
tuple estimatePos = estimateOrderPosition( self.results )
 
list resultingShift = self.results[ "shiftEstimateOrderModel" ]
 
tuple h = strftime( "%H:%M:%S", localtime ( ) )
 
tuple checkImageSanity = checkImageSanity( self.results )
 
tuple bckMeasure = measureBackground( self.results )
 create a place to draw on More...
 
tuple modelBckg = modelBackground( )
 
list a = self.results[ "modelBackgroundImage" ]
 
tuple fn1 = buildPath( self.results [ "DebugPath" ], self.results [ "fileindex" ] + '_bck.png' )
 
tuple fn2 = buildPath( self.results [ "DebugPath" ], self.results [ "fileindex" ] + '_bck2.png' )
 
tuple subBckg = subtractBackground( self.results )
 
string inShortName = shortname+"_inputImage"
 
tuple extOrd = extractOrders( self.results )
 
list sn = self.results[ "extractedImageSimpleSum" ]
 
list snpp = sn[ instrumentModel.middleRow, : ]
 
string extractedName = shortname+"_extracted"
 

Detailed Description

This is the first look chain.

Constructor & Destructor Documentation

def hermes.pipeline.run.firstLook.firstLook.__init__ (   self)

This is the first look chain.

Member Data Documentation

tuple hermes.pipeline.run.firstLook.firstLook.bckMeasure = measureBackground( self.results )
static

create a place to draw on

add the usefull toolbar

hermes.pipeline.run.firstLook.firstLook.checkBack

positional box

frame for options checkbox to let the user choose to do the background

hermes.pipeline.run.firstLook.firstLook.chooser

positional box

a clean resultdict with its usefull default values a file chooser set on the configured input folder

hermes.pipeline.run.firstLook.firstLook.fenetre

we have no gui, give help

We have the GTK engine, we may GUI. fenetre is the main window

hermes.pipeline.run.firstLook.firstLook.frame2

we want to apply filters to select files here a FITS files filter

here an any file filter a frame for the file chooser

hermes.pipeline.run.firstLook.firstLook.inFile

remember time of begin

set the variable self.inFile to a real file name

search for argument following "-i"

ar is the number of command-line arguments we are receiving If we do NOT receive any, we show a GUI to get them. args is the list of arguments. by default, inFile is empty

build a clean path for filename list all files with that part

hermes.pipeline.run.firstLook.firstLook.labelFile

self.labelFile is changed when user picks another input file .

hermes.pipeline.run.firstLook.firstLook.weHaveTheGUI

by default, weHaveTheGUI is False

Lets the drawing programs know that they do not have to create their own canvas.


The documentation for this class was generated from the following file: