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

Module svd_tools

source code

Functions [hide private]
 
project_waveforms_onto_bases(T, U, S)
A function to project waveforms given as rows of T onto the basis vectors given as rows of U and normalized by the singular values S.
source code
 
reconstruct_waveforms_from_SVD(V, S, U, n, normalize=False)
A function to reconstruct waveforms from the reconstruction coefficients V, singular values S, and basis vectors U.
source code
Function Details [hide private]

project_waveforms_onto_bases(T, U, S)

source code 

A function to project waveforms given as rows of T onto the basis vectors given as rows of U and normalized by the singular values S. This returns the reconstruction coefficients associated with these waveforms, basis vectors, and singular values.

reconstruct_waveforms_from_SVD(V, S, U, n, normalize=False)

source code 

A function to reconstruct waveforms from the reconstruction coefficients V, singular values S, and basis vectors U. The top n basis vectors are used for the reconstruction. If the normalize flag is set to True, the waveforms are normalized when before being returned.