/**
 * JWave - Java implementation of wavelet transform algorithms
 *
 * Copyright 2010-2012 Christian Scheiblich
 *  
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at 
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 *
 * This file Lege06.java is part of JWave.
 *
 * @author Christian Scheiblich
 * date 03.06.2010 22:04:35
 * contact graetz@mailfish.de
 */
package math.jwave.transforms.wavelets;

/**
 * Legendre's orthonormal wavelet of six coefficients and the scales; normed,
 * due to ||*||2 - euclidean norm.
 * 
 * @date 03.06.2010 22:04:35
 * @author Christian Scheiblich
 */
@Deprecated
public class Lege06 extends Wavelet {
  
  /**
   * Constructor setting up the orthonormal Legendre6 wavelet coeffs and the
   * scales; normed, due to ||*||2 - euclidean norm.
   * 
   * @date 03.06.2010 22:04:36
   * @author Christian Scheiblich
   */
  public Lege06( ) {
    
    _waveLength = 6;
    
    _scales = new double[ _waveLength ]; // can be done in static way also; faster?
    
    _scales[ 0 ] = -63. / 128. / 1.4142135623730951; // h0
    _scales[ 1 ] = -35. / 128. / 1.4142135623730951; // h1
    _scales[ 2 ] = -30. / 128. / 1.4142135623730951; // h2
    _scales[ 3 ] = -30. / 128. / 1.4142135623730951; // h3
    _scales[ 4 ] = -35. / 128. / 1.4142135623730951; // h4
    _scales[ 5 ] = -63. / 128. / 1.4142135623730951; // h5
    
    _coeffs = new double[ _waveLength ]; // can be done in static way also; faster?
    
    _coeffs[ 0 ] = _scales[ 5 ]; //    h5
    _coeffs[ 1 ] = -_scales[ 4 ]; //  -h4
    _coeffs[ 2 ] = _scales[ 3 ]; //    h3
    _coeffs[ 3 ] = -_scales[ 2 ]; //  -h2
    _coeffs[ 4 ] = _scales[ 1 ]; //    h1
    _coeffs[ 5 ] = -_scales[ 0 ]; //  -h0
  } // Lege06
  
} // class

 

Ads help maintain this website.