from pylidar.lidarformats import pulsewaves
from pylidar.lidarformats import generic
header = pw.getHeader()
tot_pulses = pw.getTotalNumberPulses()
with pulsewaves.PulseWavesFile(inFile, generic.READ, 'test','test' ) as pw:
>>>otherArgs.allWaveInfo[0][:,id]
masked_array(data = [(0L, 0L, 48L, 84016L, 0.0, 0, 1.0, 0.0, 1.0, 0.0)
(72L, 94504L, 0L, 0L, 7253.0, 0, 1.0, 0.0, 1.0, 0.0)
(--, --, --, --, --, --, --, --, --, --)],
mask = [(False, False, False, False, False, False, False, False, False, False)
(False, False, False, False, False, False, False, False, False, False)
(True, True, True, True, True, True, True, True, True, True)],
fill_value = (999999L, 999999L, 999999L, 999999L, 1e+20, 63, 1.0000000200408773e+20, 1.0000000200408773e+20, 1.0000000200408773e+20, 1.0000000200408773e+20),
dtype = [('NUMBER_OF_WAVEFORM_RECEIVED_BINS', '<u4'), ('RECEIVED_START_IDX', '<u8'), ('NUMBER_OF_WAVEFORM_TRANSMITTED_BINS', '<u4'), ('TRANSMITTED_START_IDX', '<u8'), ('RANGE_TO_WAVEFORM_START', '<f8'), ('CHANNEL', 'u1'), ('RECEIVE_WAVE_GAIN', '<f4'), ('RECEIVE_WAVE_OFFSET', '<f4'), ('TRANS_WAVE_GAIN', '<f4'), ('TRANS_WAVE_OFFSET', '<f4')])