RENEWLab  1.1.0
RENEW project
file_rdwr Namespace Reference

Functions

def write_to_file (name, arr, num_bits=12)
 
def read_from_file (name, leng, offset, num_bits=12)
 

Detailed Description

 file_rdwr.py

---------------------------------------------------------------------
 Copyright © 2018-2019. Rice University.
 RENEW OPEN SOURCE LICENSE: http://renew-wireless.org/license
---------------------------------------------------------------------

Function Documentation

◆ read_from_file()

def file_rdwr.read_from_file (   name,
  leng,
  offset,
  num_bits = 12 
)
Read complex numpy array from file prefixed with name in twos-complement binary format with num_bits.

◆ write_to_file()

def file_rdwr.write_to_file (   name,
  arr,
  num_bits = 12 
)
Save complex numpy array val to files prefixed with name in twos-complement binary format with num_bits.
Here is the caller graph for this function: