Changes between Version 7 and Version 8 of 802.11/wlan_exp/log/util


Ignore:
Timestamp:
Mar 22, 2014, 5:21:02 PM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

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

    v7 v8  
    7070== Saving numpy Arrays to HDF5 Files ==
    7171After log data is translated to numpy record arrays, these arrays can be processed by Python code or saved to file for processing by other tools. The HDF5 file format is well suited to storing this kind of named and typed data. The {{{np_arrays_to_hdf5}}} method will write a group of numpy arrays to an HDF5 file. The arrays should be organized into a dictionary (such as that returned by {{{log_data_to_np_arrays}}}). The dictionary keys will be used as the HDF5 dataset names. The {{{np_arrays_to_hdf5}}} method will traverse a hierarchy of dictionaries, creating HDF5 groups per top-level key. This is a good approach to aggregate processed log data from many nodes into a single file for processing by other tools (like MATLAB).
     72
     73Refer to the {{{warpnet_example_wlan_chan_est_to_HDF5.py}}} script for an example of saving numpy arrays to an HDF5 file for processing by MATLAB.