##// END OF EJS Templates
VoltageIO.py...
VoltageIO.py Clase para la lectura y escritura de Voltajes. Valentino - martes 27 de Marzo de 2012

File last commit:

r26:0d3203b6912d
r37:00fd38b85cf6
Show More
Voltage.py
68 lines | 1.6 KiB | text/x-python | PythonLexer
'''
Created on Feb 7, 2012
@author $Author$
@version $Id$
'''
import os, sys
path = os.path.split(os.getcwd())[0]
sys.path.append(path)
from Model.Data import Data
from IO.HeaderIO import *
class Voltage(Data):
'''
classdocs
'''
def __init__(self):
'''
Constructor
'''
self.m_RadarControllerHeader= RadarControllerHeader()
self.m_ProcessingHeader= ProcessingHeader()
self.m_SystemHeader= SystemHeader()
self.m_BasicHeader= BasicHeader()
#data es un numpy array de 3 dmensiones (perfiles, alturas y canales)
self.data = None
self.heights = None
self.flagNoData = True
self.nProfiles = None
self.idProfile = None
self.dataType = None
self.flagResetProcessing = False
self.noise = noise
def copy(self):
obj = Voltage()
obj.m_BasicHeader = self.m_BasicHeader.copy()
obj.m_SystemHeader = self.m_SystemHeader.copy()
obj.m_RadarControllerHeader = self.m_RadarControllerHeader.copy()
obj.m_ProcessingHeader = self.m_ProcessingHeader.copy()
obj.data = self.data
obj.heights = self.heights
obj.flagNoData = self.flagNoData
obj.nProfiles = self.nProfiles
obj.idProfile = self.idProfile
obj.dataType = self.dataType
obj.flagResetProcessing = self.flagResetProcessing
obj.noise = self.noise
return obj