get_STATS_ASCII_data_block¶
-
Data_Reduction.DSN.STATS.
get_STATS_ASCII_data_block
(fd, nchan, nsamps)¶ This reads data for one block from the data file.
This should sit and wait until data are available, line by line. When the required number of lines have been read it returns the data as a tuple of arrays.
:param fd : file descriptor
- :param nchanint
Number of data channels processed
- :param nsampsint
Number of samples in a block
- Returns
tuple The tuple consists of five arrays (means,rootmeansquare,kurtosis,skewness,sec) Each array shape is (nsamps,nchan).