visad.sounder
Class PCA

java.lang.Object
  extended by visad.sounder.PCA

public class PCA
extends Object


Constructor Summary
PCA(JamaMatrix eigenvectors, JamaMatrix mean_vector)
           
 
Method Summary
 JamaMatrix compress(Spectrum spectrum)
           
 Spectrum compressReconstruct(Spectrum spectrum)
           
static JamaMatrix makeCovarianceMatrix(double[][] data_vectors)
           
 JamaMatrix uncompress(JamaMatrix trans_data_vector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCA

public PCA(JamaMatrix eigenvectors,
           JamaMatrix mean_vector)
Method Detail

compressReconstruct

public Spectrum compressReconstruct(Spectrum spectrum)
                             throws VisADException,
                                    RemoteException,
                                    IllegalAccessException,
                                    InstantiationException,
                                    InvocationTargetException
Throws:
VisADException
RemoteException
IllegalAccessException
InstantiationException
InvocationTargetException

compress

public JamaMatrix compress(Spectrum spectrum)
                    throws VisADException,
                           RemoteException,
                           IllegalAccessException,
                           InstantiationException,
                           InvocationTargetException
Throws:
VisADException
RemoteException
IllegalAccessException
InstantiationException
InvocationTargetException

uncompress

public JamaMatrix uncompress(JamaMatrix trans_data_vector)
                      throws VisADException,
                             IllegalAccessException,
                             InstantiationException,
                             InvocationTargetException
Throws:
VisADException
IllegalAccessException
InstantiationException
InvocationTargetException

makeCovarianceMatrix

public static JamaMatrix makeCovarianceMatrix(double[][] data_vectors)
                                       throws VisADException,
                                              IllegalAccessException,
                                              InstantiationException,
                                              InvocationTargetException
Throws:
VisADException
IllegalAccessException
InstantiationException
InvocationTargetException