ca.uol.aig.fts.phasecorrection
Class PhaseCorrection

java.lang.Object
  extended by ca.uol.aig.fts.phasecorrection.PhaseCorrection

public class PhaseCorrection
extends java.lang.Object

Correct the phases of single-interferograms


Constructor Summary
PhaseCorrection(int dsLength, int ssLength, int phaseFittingdegree, int pcfSize_h, double weight_limit)
          Constructor
 
Method Summary
 double[] getInterferogram(double[] compositeInterferogram)
          get the phase-corrected one-side interferogram
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhaseCorrection

public PhaseCorrection(int dsLength,
                       int ssLength,
                       int phaseFittingdegree,
                       int pcfSize_h,
                       double weight_limit)
Constructor

Parameters:
dsLength - the half of the length of double-side interferogram
ssLength - the length of single-side interferogram
pcfSize_h - the half of the size of the phase-correction function
weight_limit - used to remove insignificant points. The points whose energy (the square of amplitude) is less than (weight_limit x maxima of energy) will be not taken into account in the phase-fitting.
Method Detail

getInterferogram

public double[] getInterferogram(double[] compositeInterferogram)
get the phase-corrected one-side interferogram

Parameters:
compositeInterferogram - the composite interferogram, including a short double-side and a long one-side
Returns:
the phose-corrected one-side interferogram with ext_right right extensions. The length of the phase-corrected interferogram is equal to (ssLength + ext_right)