[NumPy-Tickets] [NumPy] #1727: 'MaskedArray' object has no attribute 'log'

NumPy Trac numpy-tickets@scipy....
Fri Jan 28 10:28:18 CST 2011


#1727: 'MaskedArray' object has no attribute 'log'
-----------------------+----------------------------------------------------
 Reporter:  ianmartin  |       Owner:  pierregm
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:  2.0.0   
Component:  numpy.ma   |     Version:  1.5.0   
 Keywords:  log        |  
-----------------------+----------------------------------------------------
 The following snippet
 {{{
 import numpy
 a = numpy.ma.ones(1)
 a.log()
 }}}

 rasies AttributeError: 'MaskedArray' object has no attribute 'log'

 Why does a masked array not have a log function when numpy.ma.log exists?
 Could this be added or is it intentionally missing?

 Thanks

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1727>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list