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 PINK_R: [f32; 64] = [
    0.,
    0.1571348402636772,
    0.2222222222222222,
    0.2721655269759087,
    0.3142696805273544,
    0.3513641844631533,
    0.3849001794597505,
    0.415739709641549,
    0.4444444444444444,
    0.4714045207910317,
    0.4969039949999532,
    0.5211573066470477,
    0.5443310539518174,
    0.5665577237325317,
    0.5879447357921312,
    0.6085806194501846,
    0.6285393610547089,
    0.6478835438717,
    0.6666666666666666,
    0.6849348892187751,
    0.7027283689263065,
    0.7200822998230956,
    0.7370277311900888,
    0.753592220347252,
    0.7663560447348133,
    0.7732293307186413,
    0.7800420555749596,
    0.7867957924694432,
    0.7934920476158722,
    0.8001322641986387,
    0.8067178260046388,
    0.8132500607904444,
    0.8197302434079591,
    0.8261595987094034,
    0.8325393042503717,
    0.8388704928078611,
    0.8451542547285166,
    0.8513916401208816,
    0.8575836609041332,
    0.8637312927246217,
    0.8698354767504924,
    0.8758971213537393,
    0.8819171036881968,
    0.8878962711712378,
    0.8938354428762595,
    0.8997354108424372,
    0.9055969413076769,
    0.9114207758701963,
    0.9172076325837248,
    0.9229582069908971,
    0.9286731730990523,
    0.9343531843023135,
    0.9399988742535192,
    0.9456108576893002,
    0.9511897312113418,
    0.9567360740266436,
    0.9622504486493763,
    0.9677334015667416,
    0.9731854638710686,
    0.9786071518602129,
    0.9839989676081821,
    0.9893613995077727,
    0.9946949227868761,
    1.,
];
pub(crate) static PINK_G: [f32; 64] = [
    0.,
    0.1028688999747279,
    0.1454785934906616,
    0.1781741612749496,
    0.2057377999494559,
    0.2300218531141181,
    0.2519763153394848,
    0.2721655269759087,
    0.2909571869813232,
    0.3086066999241838,
    0.3253000243161777,
    0.3411775438127727,
    0.3563483225498992,
    0.3708990935094579,
    0.3849001794597505,
    0.3984095364447979,
    0.4114755998989117,
    0.4241393401869012,
    0.4364357804719847,
    0.4483951394230328,
    0.4600437062282361,
    0.4714045207910317,
    0.4824979096371639,
    0.4933419132673033,
    0.5091750772173156,
    0.5328701692569688,
    0.5555555555555556,
    0.5773502691896257,
    0.5983516452371671,
    0.6186404847588913,
    0.6382847385042254,
    0.6573421981221795,
    0.6758625033664688,
    0.6938886664887108,
    0.7114582486036499,
    0.7286042804780002,
    0.7453559924999299,
    0.7617394000445604,
    0.7777777777777778,
    0.7934920476158723,
    0.8089010988089465,
    0.8240220541217402,
    0.8388704928078611,
    0.8534606386520677,
    0.8678055195451838,
    0.8819171036881968,
    0.8958064164776166,
    0.9094836413191612,
    0.9172076325837248,
    0.9229582069908971,
    0.9286731730990523,
    0.9343531843023135,
    0.9399988742535192,
    0.9456108576893002,
    0.9511897312113418,
    0.9567360740266436,
    0.9622504486493763,
    0.9677334015667416,
    0.9731854638710686,
    0.9786071518602129,
    0.9839989676081821,
    0.9893613995077727,
    0.9946949227868761,
    1.,
];
pub(crate) static PINK_B: [f32; 64] = [
    0.,
    0.1028688999747279,
    0.1454785934906616,
    0.1781741612749496,
    0.2057377999494559,
    0.2300218531141181,
    0.2519763153394848,
    0.2721655269759087,
    0.2909571869813232,
    0.3086066999241838,
    0.3253000243161777,
    0.3411775438127727,
    0.3563483225498992,
    0.3708990935094579,
    0.3849001794597505,
    0.3984095364447979,
    0.4114755998989117,
    0.4241393401869012,
    0.4364357804719847,
    0.4483951394230328,
    0.4600437062282361,
    0.4714045207910317,
    0.4824979096371639,
    0.4933419132673033,
    0.5039526306789697,
    0.5143444998736397,
    0.5245305283129621,
    0.5345224838248488,
    0.5443310539518174,
    0.5539659798925444,
    0.563436169819011,
    0.5727497953228163,
    0.5819143739626463,
    0.5909368402852788,
    0.5998236072282915,
    0.6085806194501846,
    0.6172133998483676,
    0.6257270902992705,
    0.6341264874742278,
    0.642416074439621,
    0.6506000486323554,
    0.6586823467062358,
    0.6666666666666666,
    0.6745564876468501,
    0.6823550876255453,
    0.6900655593423541,
    0.6976908246297114,
    0.7052336473499384,
    0.7237468644557459,
    0.7453559924999298,
    0.7663560447348133,
    0.7867957924694432,
    0.8067178260046388,
    0.8261595987094034,
    0.8451542547285166,
    0.8637312927246217,
    0.8819171036881968,
    0.8997354108424372,
    0.9172076325837248,
    0.9343531843023135,
    0.9511897312113418,
    0.9677334015667416,
    0.9839989676081821,
    1.,
];