RENEWLab  1.1.0
RENEW project
data_recorder.DataRecorder Class Reference

Public Member Functions

def __init__ (self, tag, serial, freq, lna, pga, tia, lna1, lna2, attn, numSamps, latitude, longitude, elevation)
 
def init_h5file (self, filename=None, init_datasets=True)
 
def init_datasets (self, group=None)
 
def save_frame (self, frame, timestamp)
 
def stop (self)
 
def close (self)
 

Public Attributes

 num_frame
 
 frame_number
 
 numSamps
 
 tag
 
 serial
 
 tia
 
 pga
 
 lna
 
 lna1
 
 lna2
 
 attn
 
 freq
 
 latitude
 
 longitude
 
 elevation
 
 filename
 
 h5file
 
 h5group
 
 samples
 
 timeref
 

Constructor & Destructor Documentation

◆ __init__()

def data_recorder.DataRecorder.__init__ (   self,
  tag,
  serial,
  freq,
  lna,
  pga,
  tia,
  lna1,
  lna2,
  attn,
  numSamps,
  latitude,
  longitude,
  elevation 
)

Member Function Documentation

◆ close()

def data_recorder.DataRecorder.close (   self)
Here is the caller graph for this function:

◆ init_datasets()

def data_recorder.DataRecorder.init_datasets (   self,
  group = None 
)

◆ init_h5file()

def data_recorder.DataRecorder.init_h5file (   self,
  filename = None,
  init_datasets = True 
)
Initialize a new h5file with the correct data structure and attributes.
We do this outside of __init__ so that multiple files can be collected without reinitializing.
Here is the caller graph for this function:

◆ save_frame()

def data_recorder.DataRecorder.save_frame (   self,
  frame,
  timestamp 
)
Here is the call graph for this function:

◆ stop()

def data_recorder.DataRecorder.stop (   self)
Here is the call graph for this function:

Member Data Documentation

◆ attn

data_recorder.DataRecorder.attn

◆ elevation

data_recorder.DataRecorder.elevation

◆ filename

data_recorder.DataRecorder.filename

◆ frame_number

data_recorder.DataRecorder.frame_number

◆ freq

data_recorder.DataRecorder.freq

◆ h5file

data_recorder.DataRecorder.h5file

◆ h5group

data_recorder.DataRecorder.h5group

◆ latitude

data_recorder.DataRecorder.latitude

◆ lna

data_recorder.DataRecorder.lna

◆ lna1

data_recorder.DataRecorder.lna1

◆ lna2

data_recorder.DataRecorder.lna2

◆ longitude

data_recorder.DataRecorder.longitude

◆ num_frame

data_recorder.DataRecorder.num_frame

◆ numSamps

data_recorder.DataRecorder.numSamps

◆ pga

data_recorder.DataRecorder.pga

◆ samples

data_recorder.DataRecorder.samples

◆ serial

data_recorder.DataRecorder.serial

◆ tag

data_recorder.DataRecorder.tag

◆ tia

data_recorder.DataRecorder.tia

◆ timeref

data_recorder.DataRecorder.timeref

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