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

Module metaarray

source code


MetaArray - a subclass of ndarray that holds metadata and preserves it across
          array operations.
Metadata - a class for metadata stored in MetaArray
MetaArrayList - a subclass of list that ollows element-wise MetaArray
              operations

Spectrum - a subclass of MetaArray as demonstration
SpectrumMetadata - a subclass of MetaData that strictly checks for metadata
                 compatibility between two Spectra
SpectrumList - subclass of MetaArrayList that has some nice features specific
             to SpectrumMetadata


Author: Nickolas Fotopoulos <nvf@gravity.phys.uwm.edu>

Classes [hide private]
  _arraymethod
Used to attach methods to MetaArrays.
  _elementwise_method
Used to attach methods to MetaArrayLists.
  Metadata
Abstract class to hold metadata
  MetaArray
An array containing a data and metadata.
  MetaArrayList
  TimeSeriesMetadata
Hold the metadata associated with a spectrum, including frequency resolution, a segmentlist indicating what times were involved in taking the spectrum, a channel name, etc.
  TimeSeries
This is a MetaArray, but with the metadata typemap specified.
  TimeSeriesList
A list of TimeSeries.
  SpectrumMetadata
Hold the metadata associated with a spectrum, including frequency resolution, a segmentlist indicating what times were involved in taking the spectrum, a channel name, etc.
  Spectrum
This is a MetaArray, but with the metadata typemap specified.
  SpectrumList
A list of Spectra.
  SpectrumDict
A dictionary allowing access to FFTs of different data streams and providing convenient batch operations.
Functions [hide private]
 
_mareconstruct(subtype, baseclass, baseshape, basetype)
Internal function that builds a new MaskedArray from the information stored in a pickle.
source code