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

Class SpectrumList

source code

object --+        
         |        
      list --+    
             |    
 MetaArrayList --+
                 |
                SpectrumList

A list of Spectra.

Nested Classes [hide private]
  _itemtype
This is a MetaArray, but with the metadata typemap specified.
Instance Methods [hide private]
 
segments(self)
Return the (uncoalesced) list of segments represented by the Spectra in this SpectrumList.
source code
 
ordinates(self)
Return an single-precision ndarray containing the frequencies at which these Spectrums are sampled (they are required to match).
source code
 
sum_spectra(self)
Sum across Spectrums, returning a single Spectrum
source code

Inherited from MetaArrayList (private): _get_data, _get_imag, _get_real

Inherited from list: __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __init__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __reversed__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from MetaArrayList: A, H, T, __abs__, __add__, __and__, __copy__, __deepcopy__, __div__, __divmod__, __floordiv__, __hex__, __iadd__, __iand__, __idiv__, __ifloordiv__, __ilshift__, __imod__, __imul__, __invert__, __ior__, __ipow__, __irshift__, __isub__, __itruediv__, __ixor__, __lshift__, __mul__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __sub__, __truediv__, __xor__, astype, byteswap, choose, clip, compress, conj, conjugate, copy, cumprod, cumsum, diagonal, fill, flat, flatten, imag, real, repeat, squeeze, sum, transpose

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

ordinates(self)

source code 

Return an single-precision ndarray containing the frequencies at which these Spectrums are sampled (they are required to match). For an empty list, return a zero-length array.