Package pylal :: Module metaarray :: Class _arraymethod
[hide private]
[frames] | no frames]

Class _arraymethod

source code

object --+
         |
        _arraymethod

Used to attach methods to MetaArrays. Wrap ndarray methods that return a single array. Merge metadata of all input Spectra.

__init__ gets called when we define the MetaArray (sub-)class and attach methods. __get__ gets called on the object at method call time. __call__ is called immediately after __get__.

Instance Methods [hide private]
 
__init__(self, methname)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__get__(self, obj, objtype=None) source code
 
__call__(self, *args, **params) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, methname)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)