25 March 2013

Writing out arrays and linked lists with pysces.write.*

PySCeS array export facilities have been expanded with a new set of array export functions. This includes exporting arrays and linked lists (lists of lists) to various flavours of text file.

These methods are either fully customizable and generic or specifically tailored for writing CSV (comma) and Text (<tab> delimited) files that include the array data and optionally row/col labels. They are all available in the ''pysces.write.*'' module (see documentation/docstrings for details).
In [3]: pysces.write.
pysces.write.exportArray2CSV
pysces.write.exportArray2TXT
pysces.write.exportLabelledArray
pysces.write.exportLabelledArray2CSV
pysces.write.exportLabelledArray2TXT
pysces.write.exportLabelledArrayWithHeader
pysces.write.exportLabelledArrayWithHeader2CSV
pysces.write.exportLabelledArrayWithHeader2TXT
pysces.write.exportLabelledLinkedList

 

No comments:

Post a Comment