##// END OF EJS Templates
Spectra.py:...
Spectra.py: Se declaro e inicializo la variable channelList dentro del constructor __init__ de la clase Spectra.

File last commit:

r81:d69a019dbc20
r88:9ee1f8476c59
Show More
JROData.py
71 lines | 1.4 KiB | text/x-python | PythonLexer
'''
Created on Feb 7, 2012
@author $Author$
@version $Id$
'''
import copy
from JROHeader import RadarControllerHeader, ProcessingHeader, SystemHeader, BasicHeader
class Data:
'''
classdocs
'''
type = None
def __init__(self):
'''
Constructor
'''
raise ValueError, "This class has not been implemented"
def copy(self, objIn=None):
if objIn == None:
return copy.deepcopy(self)
for key in objIn.__dict__.keys():
self.__dict__[key] = objIn.__dict__[key]
def deepcopy(self):
return copy.deepcopy(self)
class Noise(Data):
'''
classdocs
'''
def __init__(self):
'''
Constructor
'''
pass
class JROData(Data):
'''
classdocs
'''
m_RadarControllerHeader = RadarControllerHeader()
m_ProcessingHeader = ProcessingHeader()
m_SystemHeader = SystemHeader()
m_BasicHeader = BasicHeader()
m_NoiseObj = Noise()
data = None
dataType = None
nProfiles = None
nHeights = None
nChannels = None
heightList = None
channelList = None
flagNoData = False
flagResetProcessing = False
def __init__(self):
'''
Constructor
'''
raise ValueError, "This class has not been implemented"