[Scipy-tickets] [SciPy] #820: mio load specific variable(s)

SciPy scipy-tickets@scipy....
Tue Dec 30 17:58:29 CST 2008


#820: mio load specific variable(s)
-------------------------+--------------------------------------------------
 Reporter:  lkilcher     |        Owner:  matthew.brett@gmail.com
     Type:  enhancement  |       Status:  closed                 
 Priority:  normal       |    Milestone:  0.8                    
Component:  scipy.io     |      Version:                         
 Severity:  normal       |   Resolution:  fixed                  
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by matthew.brett@gmail.com):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 I added a stream reader that may or may not make single variable reading
 quicker.  As before you will need something like this:

 {{{#!python
 from scipy.io.matlab.mio import mat_reader_factory
 MR = mat_reader_factory('my_mat_file.mat')
 vars = MR.get_variables(['var1', 'var3', 'var4'])
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/820#comment:6>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list