Changes between Initial Version and Version 1 of 802.11/wlan_exp/log/util


Ignore:
Timestamp:
Mar 21, 2014, 3:28:48 PM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/wlan_exp/log/util

    v1 v1  
     1Future home of wlan_exp_log.log_util documentation.
     2
     3== Log Index Filtering ==
     4The
     5
     6{{{#!python
     7import warpnet.wlan_exp_log.log_util as log_util
     8
     9#No filtering, just map entry_type_id values (log_index_raw keys) to entry type classes (log_index keys)
     10log_index = log_util.filter_log_index(log_index_raw)
     11
     12#Create index with only RX_OFDM entries
     13log_index = log_util.filter_log_index(log_index_raw, include_only=['RX_OFDM'])
     14
     15#Create index with only RX_OFDM and TX entries
     16log_index = log_util.filter_log_index(log_index_raw, include_only=['RX_OFDM', 'TX'])
     17
     18#Create index for type RX_ALL composed of all RX_OFDM and RX_DSSS entries
     19log_index = log_util.filter_log_index(log_index_raw, merge={'RX_ALL':['RX_OFDM', 'RX_DSSS']})
     20
     21#Create index for all TX and RX entries, with RX_OFDM and RX_DSSS entries merged into RX_ALL
     22log_index = log_util.filter_log_index(log_index_raw, include_only=['RX_ALL', 'TX'], merge={'RX_ALL':['RX_OFDM', 'RX_DSSS']})
     23}}}