scalet 0.1.1

Continious wavelet transform
Documentation
/*
 * // Copyright (c) Radzivon Bartoshyk 12/2025. All rights reserved.
 * //
 * // Redistribution and use in source and binary forms, with or without modification,
 * // are permitted provided that the following conditions are met:
 * //
 * // 1.  Redistributions of source code must retain the above copyright notice, this
 * // list of conditions and the following disclaimer.
 * //
 * // 2.  Redistributions in binary form must reproduce the above copyright notice,
 * // this list of conditions and the following disclaimer in the documentation
 * // and/or other materials provided with the distribution.
 * //
 * // 3.  Neither the name of the copyright holder nor the names of its
 * // contributors may be used to endorse or promote products derived from
 * // this software without specific prior written permission.
 * //
 * // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 * // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 * // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

pub(crate) static SUMMER_R: [f32; 64] = [
    0.,
    0.01587301587301587,
    0.03174603174603174,
    0.04761904761904762,
    0.06349206349206349,
    0.07936507936507936,
    0.09523809523809523,
    0.1111111111111111,
    0.126984126984127,
    0.1428571428571428,
    0.1587301587301587,
    0.1746031746031746,
    0.1904761904761905,
    0.2063492063492063,
    0.2222222222222222,
    0.2380952380952381,
    0.253968253968254,
    0.2698412698412698,
    0.2857142857142857,
    0.3015873015873016,
    0.3174603174603174,
    0.3333333333333333,
    0.3492063492063492,
    0.3650793650793651,
    0.3809523809523809,
    0.3968253968253968,
    0.4126984126984127,
    0.4285714285714285,
    0.4444444444444444,
    0.4603174603174603,
    0.4761904761904762,
    0.492063492063492,
    0.5079365079365079,
    0.5238095238095238,
    0.5396825396825397,
    0.5555555555555556,
    0.5714285714285714,
    0.5873015873015873,
    0.6031746031746031,
    0.6190476190476191,
    0.6349206349206349,
    0.6507936507936508,
    0.6666666666666666,
    0.6825396825396826,
    0.6984126984126984,
    0.7142857142857143,
    0.7301587301587301,
    0.746031746031746,
    0.7619047619047619,
    0.7777777777777778,
    0.7936507936507936,
    0.8095238095238095,
    0.8253968253968254,
    0.8412698412698413,
    0.8571428571428571,
    0.873015873015873,
    0.8888888888888888,
    0.9047619047619048,
    0.9206349206349206,
    0.9365079365079365,
    0.9523809523809523,
    0.9682539682539683,
    0.9841269841269841,
    1.,
];
pub(crate) static SUMMER_G: [f32; 64] = [
    0.5,
    0.5079365079365079,
    0.5158730158730158,
    0.5238095238095238,
    0.5317460317460317,
    0.5396825396825397,
    0.5476190476190477,
    0.5555555555555556,
    0.5634920634920635,
    0.5714285714285714,
    0.5793650793650793,
    0.5873015873015873,
    0.5952380952380952,
    0.6031746031746031,
    0.6111111111111112,
    0.6190476190476191,
    0.626984126984127,
    0.6349206349206349,
    0.6428571428571428,
    0.6507936507936508,
    0.6587301587301587,
    0.6666666666666666,
    0.6746031746031746,
    0.6825396825396826,
    0.6904761904761905,
    0.6984126984126984,
    0.7063492063492063,
    0.7142857142857143,
    0.7222222222222222,
    0.7301587301587301,
    0.7380952380952381,
    0.746031746031746,
    0.753968253968254,
    0.7619047619047619,
    0.7698412698412698,
    0.7777777777777778,
    0.7857142857142857,
    0.7936507936507937,
    0.8015873015873016,
    0.8095238095238095,
    0.8174603174603174,
    0.8253968253968254,
    0.8333333333333333,
    0.8412698412698413,
    0.8492063492063492,
    0.8571428571428572,
    0.8650793650793651,
    0.873015873015873,
    0.8809523809523809,
    0.8888888888888888,
    0.8968253968253967,
    0.9047619047619048,
    0.9126984126984127,
    0.9206349206349207,
    0.9285714285714286,
    0.9365079365079365,
    0.9444444444444444,
    0.9523809523809523,
    0.9603174603174602,
    0.9682539682539683,
    0.9761904761904762,
    0.9841269841269842,
    0.9920634920634921,
    1.,
];
pub(crate) static SUMMER_B: [f32; 64] = [
    0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
    0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
    0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
    0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
];