NDArrIO Namespace Reference


Functions

def save_txt
def list_of_comments
def load_txt_v2
def load_txt
def test_save_txt
def test_load_txt

Variables

string __version__ = "$Revision: 12322 $"


Function Documentation

def NDArrIO::save_txt (   fname = 'nda.txt',
  arr = None,
  cmts = (),
  fmt = '%.1f',
  verbos = False,
  addmetad = True 
)

Save n-dimensional numpy array to text file with metadata.
   - fname - file name for text file,
   - arr - numpy array,
   - cmts -list of comments which will be saved in the file header.

Definition at line 66 of file NDArrIO.py.

def NDArrIO::list_of_comments (   fname  ) 

Returns list of str objects - comment records from file.
   - fname - file name for text file.

Definition at line 145 of file NDArrIO.py.

def NDArrIO::load_txt_v2 (   fname  ) 

Reads n-dimensional numpy array from text file with metadata.
   - fname - file name for text file.

Definition at line 168 of file NDArrIO.py.

def NDArrIO::load_txt (   fname  ) 

Reads n-dimensional numpy array from text file with metadata.
   - fname - file name for text file.

Definition at line 191 of file NDArrIO.py.

def NDArrIO::test_save_txt (  ) 

Definition at line 235 of file NDArrIO.py.

def NDArrIO::test_load_txt (  ) 

Definition at line 252 of file NDArrIO.py.


Variable Documentation

string NDArrIO::__version__ = "$Revision: 12322 $" [static]

Definition at line 56 of file NDArrIO.py.


Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7