Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias Assign NameStore NameLoad Import alias identifier ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias Import alias identifier Import alias identifier Import alias identifier Import alias identifier FunctionDef arguments args defaults body For NameStore TupleLoad Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpSub Num BinOpMod NameLoad Num Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Str NameLoad orelse Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpSub Num NameLoad If CompareEq NameLoad Str body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad orelse Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num keyword NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Num AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Index Str Num Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Num AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore TupleLoad TupleLoad Str Num AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr body For NameStore TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr CompareEq NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr CompareNotEq NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Num AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num keyword NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Num Expr Call NameLoad NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Call NameLoad Str Assign SubscriptStore NameLoad Index Str Num Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad BinOpMult ListLoad Call NameLoad Str Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A  Testing mio5_utils Cython module

 __future__ division print_function absolute_import N/A sys io BytesIO N/A cStringIO BytesIO N/A numpy np nose.tools assert_true assert_equal assert_raises numpy.testing assert_array_equal run_module_suite scipy._lib.six u N/A scipy.io.matlab.byteordercodes boc N/A scipy.io.matlab.streams streams N/A scipy.io.matlab.mio5_params mio5p N/A scipy.io.matlab.mio5_utils m5u test_byteswap N/A N/A N/A N/A N/A val N/A 1 256 65536 N/A N/A a N/A N/A np array val dtype N/A np uint32 N/A b N/A N/A a byteswap N/A c N/A N/A m5u byteswap_u4 a N/A N/A assert_equal N/A N/A b item c N/A d N/A N/A m5u byteswap_u4 c N/A N/A assert_equal N/A N/A a item d N/A _make_tag N/A N/A base_dt val mdtype sde N/A False N/A N/A  Makes a simple matlab tag, full or sde  N/A base_dt N/A N/A np dtype base_dt N/A bo N/A N/A boc to_numpy_code N/A base_dt byteorder N/A byte_count N/A base_dt itemsize N/A N/A sde N/A N/A udt N/A bo u4 N/A padding N/A 8 N/A byte_count 8 N/A all_dt N/A N/A mdtype udt N/A byte_count udt N/A val base_dt N/A padding N/A N/A N/A N/A all_dt append N/A padding u1 padding N/A N/A udt N/A bo u2 N/A padding N/A 4 byte_count N/A N/A bo < N/A N/A all_dt N/A N/A mdtype udt N/A byte_count udt N/A val base_dt N/A N/A all_dt N/A N/A byte_count udt N/A mdtype udt N/A val base_dt N/A padding N/A N/A N/A N/A all_dt append N/A padding u1 padding N/A tag N/A N/A np zeros N/A 1 dtype all_dt N/A N/A tag N/A mdtype mdtype N/A N/A tag N/A byte_count byte_count N/A N/A tag N/A val val N/A tag N/A _write_stream N/A N/A stream N/A strings N/A N/A N/A N/A stream truncate 0 N/A N/A N/A stream seek 0 N/A s strings N/A N/A N/A N/A stream write s N/A N/A N/A stream seek 0 N/A _make_readerlike N/A N/A stream byte_order N/A N/A boc native_code N/A R N/A object N/A N/A N/A N/A r N/A R N/A N/A r mat_stream stream N/A N/A r byte_order byte_order N/A N/A r struct_as_record True N/A N/A r uint16_codec N/A N/A sys getdefaultencoding N/A N/A r chars_as_strings False N/A N/A r mat_dtype False N/A N/A r squeeze_me False N/A r N/A test_read_tag N/A N/A N/A N/A N/A str_io N/A BytesIO N/A r N/A _make_readerlike str_io N/A c_reader N/A N/A m5u VarReader5 r N/A N/A assert_raises IOError N/A c_reader read_tag N/A tag N/A _make_tag i4 1 N/A mio5p miINT32 sde True N/A N/A tag N/A byte_count 5 N/A N/A _write_stream str_io N/A N/A tag tostring N/A N/A assert_raises ValueError N/A c_reader read_tag N/A test_read_stream N/A N/A N/A N/A N/A tag N/A _make_tag i4 1 N/A mio5p miINT32 sde True N/A tag_str N/A N/A tag tostring N/A str_io N/A cStringIO tag_str N/A st N/A N/A streams make_stream str_io N/A s N/A N/A streams _read_into st N/A tag itemsize N/A N/A assert_equal s N/A N/A tag tostring N/A test_read_numeric N/A N/A N/A N/A N/A str_io N/A cStringIO N/A r N/A _make_readerlike str_io N/A N/A base_dt val mdtype N/A N/A u2 30 N/A mio5p miUINT16 N/A i4 1 N/A mio5p miINT32 N/A i2 -1 N/A mio5p miINT16 N/A N/A byte_code N/A < > N/A N/A N/A r byte_order byte_code N/A c_reader N/A N/A m5u VarReader5 r N/A N/A assert_equal N/A c_reader little_endian N/A byte_code < N/A N/A assert_equal N/A c_reader is_swapped N/A byte_code N/A boc native_code N/A sde_f N/A False True N/A N/A dt N/A N/A N/A N/A np dtype base_dt newbyteorder byte_code N/A a N/A _make_tag dt val mdtype sde_f N/A a_str N/A N/A a tostring N/A N/A _write_stream str_io a_str N/A el N/A N/A c_reader read_numeric N/A N/A assert_equal el val N/A N/A _write_stream str_io a_str a_str N/A el N/A N/A c_reader read_numeric N/A N/A assert_equal el val N/A el N/A N/A c_reader read_numeric N/A N/A assert_equal el val N/A test_read_numeric_writeable N/A N/A N/A N/A N/A str_io N/A cStringIO N/A r N/A _make_readerlike str_io < N/A c_reader N/A N/A m5u VarReader5 r N/A dt N/A N/A np dtype <u2 N/A a N/A _make_tag dt 30 N/A mio5p miUINT16 0 N/A a_str N/A N/A a tostring N/A N/A _write_stream str_io a_str N/A el N/A N/A c_reader read_numeric N/A N/A assert_true N/A N/A el flags writeable N/A test_zero_byte_string N/A N/A N/A N/A N/A str_io N/A cStringIO N/A r N/A _make_readerlike str_io N/A boc native_code N/A c_reader N/A N/A m5u VarReader5 r N/A tag_dt N/A N/A np dtype N/A N/A mdtype u4 N/A byte_count u4 N/A tag N/A N/A np zeros N/A 1 dtype tag_dt N/A N/A tag N/A mdtype N/A mio5p miINT8 N/A N/A tag N/A byte_count 1 N/A hdr N/A N/A m5u VarHeader5 N/A N/A N/A hdr set_dims N/A 1 N/A N/A _write_stream str_io N/A N/A N/A tag tostring N/A N/A N/A str_io seek 0 N/A val N/A N/A c_reader read_char hdr N/A N/A assert_equal val N/A u N/A N/A tag N/A byte_count 0 N/A N/A _write_stream str_io N/A N/A tag tostring N/A N/A N/A str_io seek 0 N/A val N/A N/A c_reader read_char hdr N/A N/A assert_equal val N/A u N/A N/A N/A str_io seek 0 N/A N/A N/A hdr set_dims N/A 4 N/A val N/A N/A c_reader read_char hdr N/A N/A assert_array_equal val N/A N/A N/A u 4 N/A N/A N/A __name__ __main__ N/A N/A N/A run_module_suite