* @param realSignal double[] containing the original real signal.
*/
public ComplexAnalyticSignal( double[] realSignal ) {
realPart = realSignal.clone();
CenteredHilbertTransform transformer = new CenteredHilbertTransform( 50, 0.03, 0.97 );
double[] tmp = transformer.filter( realPart );
Sequence.zeroShift( tmp, -50 );
imagPart = new double[ realPart.length ];
System.arraycopy( tmp, 0, imagPart, 0, realPart.length );
}