Exemple #1
0
    def __init__(self):
                
        #----Load libraries:
        
        #For treating files
        File_Manager.__init__(self)
        
        #For generating graphs
        Plot_Conf.__init__(self)
                
        #Scientific operations
        Fitter.__init__(self)

        #Astro_libraries
        ReddeningLaws.__init__(self)
        Chemical_Analysis_pyneb.__init__(self)
        #spectra_reduction.__init__(self) #WARNING: I need a new place to put this
        
        #Load user configuration
        ImportConfiguration.__init__(self)
        LineMesurer.__init__(self, self.Conf_Folder, self.LinesLogHeader_Name)        
        
        #Extra functions
        vitools.__init__(self)
        Error_manager.__init__(self)
Exemple #2
0
    def __init__(self):
        
        #Import the data catalogue and GUI conf
        ImportConfiguration.__init__(self)
        
        #Getting the data
        File_Manager.__init__(self)
        
        #For generating graphs
        Plot_Conf.__init__(self)
        
        #Tools to measure lines
        LineMesurer.__init__(self, self.Conf_Folder, self.LinesLogHeader_Name)
        
        #Spectra properties        
        self.Wave                       = None
        self.Int                        = None
        self.ExtraData                  = None
        self.Selections                 = []

        #This is a list with the lines indexes of the emission lines on the plot.
        self.EM_in_plot                 = []

        #This list contains the number of screens available
        self.ScreenCodes                = ['OBJECTS',  'TREATMENT',  'LINEMESURER']
        
        #This variable details the current screen (its value should be one from those in the self.ScreenCodes variable)
        self.CurrentScreen              = None
        
        #These indexes detail the current screen we should display
        self.Folder_i                   = None
        self.Treatment_i                = None
        self.EmLine_i                   = None
        
        #These are the names of the files which are obtained from the previous indexes and which are feed into the line mesurer
        self.Current_Folder             = None
        self.Current_Treatment          = None
        self.Current_Spec               = None
        self.Current_Code               = None