| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Format
Abstract class for SOLVCON intrinsic I/O format Each of the concrete derived classes represents a version of format. Public interface method is read_meta(). read_meta() method uses _parse_meta() private method to report the meta-data of the format, which is defined in META_* class attributes (as tuples). The default _parse_meta() and _save_meta() use SPEC_OF_META to determine the order and converter the each field of the META section.
The supported intrisic formats must consist of two parts: (i) text part and (ii) binary part. Compression is OK for the binary part. The text part starts at the beginneg of the file and ends after BINARY_MARKER, which the binary part starts after BINARY_MARKER and ends with the file.
|
|||
|
__metaclass__ Sum the length of all META_ entries of bases and derived classes; only collect from 1 level of parents. |
|||
|
|||
| solvcon.gendata.AttributeDict |
|
||
|
Inherited from |
|||
|
|||
| tuple |
|
||
| solvcon.gendata.AttributeDict |
|
||
|
|||
|
|||
| numpy.ndarray |
|
||
|
|||
|
Inherited from |
|||
|
|||
Read meta-data from stream.
|
|
Retrieve the text part from the stream.
|
Parse meta information from the file.
|
Read data from the input stream and convert it to ndarray with given shape and dtype.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed May 18 11:57:31 2011 | http://epydoc.sourceforge.net |