+
    [°³j'8  ã                   ó®   € ^ RI HtHt ^ RIt^RIHtHtHtH	t	H
t
HtHt ^RIHtHtHtHtHtHtHt ^RIHtHt . ROtRR ltR tRR ltR	 tRR
 ltR tR# )é    )ÚpartialÚreduceN)Ú_prep_axes_wavedecnÚwavedecÚwavedec2ÚwavedecnÚwaverecÚwaverec2Úwaverecn)ÚiswtÚiswt2ÚiswtnÚswtÚswt2Úswt_max_levelÚswtn)Ú_modes_per_axisÚ_wavelets_per_axisc           
     ón  € VR8X  dB   VR8w  d   \        R4      hRVRVRR/p\        \        3RVR	R/VB p\        \        3/ VB pRp	MBVR
8X  d.   RVRVRV/p\        \        3RV/VB p\        \
        3/ VB pRp	M\        RV 24      hV! V 4      p
. p\        V
4      pV	'       d)   \        P                  ! V
^ ,          4      pV.V,          pM%V
 Uu. uF  p\        P                  ! V4      NK  	  pp\        V4       F§  pV
V,          VV&   V! V4      pVP                  V P                  8w  d6   T\        V P                   Uu. uF  p\        V4      NK  	  up4      ,          pVP                  V4       V	'       d   XVV&   K‡  \        P                  ! VV,          4      VV&   K©  	  V# u upi u upi )aë  Forward 1D multiresolution analysis.

It is a projection onto the wavelet subspaces.

Parameters
----------
data: array_like
    Input data
wavelet : Wavelet object or name string
    Wavelet to use
level : int, optional
    Decomposition level (must be >= 0). If level is None (default) then it
    will be calculated using the `dwt_max_level` function.
axis: int, optional
    Axis over which to compute the DWT. If not given, the last axis is
    used. Currently only available when ``transform='dwt'``.
transform : {'dwt', 'swt'}
    Whether to use the DWT or SWT for the transforms.
mode : str, optional
    Signal extension mode, see `Modes` (default: 'symmetric'). This option
    is only used when transform='dwt'.

Returns
-------
[cAn, {details_level_n}, ... {details_level_1}] : list
    For more information, see the detailed description in `wavedec`

See Also
--------
imra, swt

Notes
-----
This is sometimes referred to as an additive decomposition because the
inverse transform (``imra``) is just the sum of the coefficient arrays
[1]_. The decomposition using ``transform='dwt'`` corresponds to section
2.2 while that using an undecimated transform (``transform='swt'``) is
described in section 3.2 and appendix A.

This transform does not share the variance partition property of ``swt``
with `norm=True`. It does however, result in coefficients that are
temporally aligned regardless of the symmetry of the wavelet used.

The redundancy of this transform is ``(level + 1)``.

References
----------
.. [1] Donald B. Percival and Harold O. Mofjeld. Analysis of Subtidal
    Coastal Sea Level Fluctuations Using Wavelets. Journal of the American
    Statistical Association Vol. 92, No. 439 (Sep., 1997), pp. 868-880.
    https://doi.org/10.2307/2965551

r   Úperiodizationú0transform swt only supports mode='periodization'ÚwaveletÚaxisÚnormTÚlevelÚtrim_approxÚdwtÚmodeFúunrecognized transform: )Ú
ValueErrorr   r   r   r   r	   ÚlenÚnpÚ
zeros_likeÚrangeÚshapeÚtupleÚsliceÚappend)Údatar   r   r   Ú	transformr   ÚkwargsÚforwardÚinverseÚis_swtÚ
wav_coeffsÚ
mra_coeffsÚncÚzÚtmpÚcÚjÚrecÚszs   &&&&&&             ÚJ/home/luca/screen-checking/.venv/lib/python3.14/site-packages/pywt/_mra.pyÚmrar9      s±  € ðn �EÔØ�?Ô"ÜØBóDð Dà˜W f¨d°F¸DÐAˆÜœ#ÑG UÐG¸ÐGÀÑGˆÜœ$Ñ) &Ñ)ˆØ‰Ø	�eÔ	Ø˜W f¨d°F¸DÐAˆÜœ'Ñ9¨Ð9°&Ñ9ˆÜœ'Ñ, VÑ,ˆØ‰äÐ3°I°;Ð?Ó@Ð@á˜“€Jà€JÜ	ˆZ‹€Bçä�MŠM˜* Q�-Ó(ˆØˆe�b�j‰ñ *4Ó4© AŒr�}Š}˜QÖ©ˆÐ4ä�2ŽYˆà˜A•ˆˆA‰ñ �c‹lˆØ�9‰9˜Ÿ
™
Ô"à”e°·²Ó<±¨2œU 2žY±Ñ<Ó=Õ>ˆCØ×Ñ˜#Ô÷ ØˆC�‹Fä—]’] 3 q¥6Ó*ˆC�‹Fñ ð  Ðùò% 5ùò =s   ÃF-ÅF2c                ó   € \        R V 4      # )a  Inverse 1D multiresolution analysis via summation.

Parameters
----------
mra_coeffs : list of ndarray
    Multiresolution analysis coefficients as returned by `mra`.

Returns
-------
rec : ndarray
    The reconstructed signal.

See Also
--------
mra

References
----------
.. [1] Donald B. Percival and Harold O. Mofjeld. Analysis of Subtidal
    Coastal Sea Level Fluctuations Using Wavelets. Journal of the American
    Statistical Association Vol. 92, No. 439 (Sep., 1997), pp. 868-880.
    https://doi.org/10.2307/2965551
c                 ó   € W,           # ©N© )ÚxÚys   &&r8   Ú<lambda>Úimra.<locals>.<lambda>“   s   € ˜qžuó    )r   )r0   s   &r8   ÚimrarC   {   s   € ô0 Ñ$ jÓ1Ð1rB   c                ó   € VR8X  d`   VR8w  d   \        R4      hVf   \        R V P                   4       4      pRVRVRR/p\        \        3R	VR
R/VB p\        \
        3/ VB pM@VR8X  d,   RVRVRV/p\        \        3R	V/VB p\        \        3/ VB pM\        RV 24      hV! V 4      p	. p
\        V	4      p\        P                  ! V	^ ,          4      pV.p\        ^V4       F>  pTP                  Wž,           Uu. uF  p\        P                  ! V4      NK  	  up4       K@  	  V	^ ,          V^ &   V! V4      pVP                  V P                  8w  d6   T\        V P                   Uu. uF  p\        V4      NK  	  up4      ,          pV
P                  V4       WÍ^ &   \        ^V4       FÌ  p. p\        ^4       Fž  pWÞ,          V,          pWž,          V,          WÞ,          V&   V! V4      pVP                  V P                  8w  d6   T\        V P                   Uu. uF  p\        V4      NK  	  up4      ,          pVP                  V4       WÍV,          V&   K   	  V
P                  \        V4      4       KÎ  	  V
# u upi u upi u upi )aU  Forward 2D multiresolution analysis.

It is a projection onto wavelet subspaces.

Parameters
----------
data: array_like
    Input data
wavelet : Wavelet object or name string, or 2-tuple of wavelets
    Wavelet to use.  This can also be a tuple containing a wavelet to
    apply along each axis in `axes`.
level : int, optional
    Decomposition level (must be >= 0). If level is None (default) then it
    will be calculated using the `dwt_max_level` function.
axes : 2-tuple of ints, optional
    Axes over which to compute the DWT. Repeated elements are not allowed.
    Currently only available when ``transform='dwt2'``.
transform : {'dwt2', 'swt2'}
    Whether to use the DWT or SWT for the transforms.
mode : str or 2-tuple of str, optional
    Signal extension mode, see `Modes` (default: 'symmetric'). This option
    is only used when transform='dwt2'.

Returns
-------
coeffs : list
    For more information, see the detailed description in `wavedec2`

Notes
-----
This is sometimes referred to as an additive decomposition because the
inverse transform (``imra2``) is just the sum of the coefficient arrays
[1]_. The decomposition using ``transform='dwt'`` corresponds to section
2.2 while that using an undecimated transform (``transform='swt'``) is
described in section 3.2 and appendix A.

This transform does not share the variance partition property of ``swt2``
with `norm=True`. It does however, result in coefficients that are
temporally aligned regardless of the symmetry of the wavelet used.

The redundancy of this transform is ``3 * level + 1``.

See Also
--------
imra2, swt2

References
----------
.. [1] Donald B. Percival and Harold O. Mofjeld. Analysis of Subtidal
    Coastal Sea Level Fluctuations Using Wavelets. Journal of the American
    Statistical Association Vol. 92, No. 439 (Sep., 1997), pp. 868-880.
    https://doi.org/10.2307/2965551
r   r   r   c              3   ó8   "  € T F  p\        V4      x € K  	  R # 5ir<   ©r   ©Ú.0Úss   & r8   Ú	<genexpr>Úmra2.<locals>.<genexpr>Ò   ó   é € Ð=±*¨Qœ a×(Ð(³*ùó   ‚r   Úaxesr   Tr   r   Údwt2r   r   )r    Úminr%   r   r   r   r   r
   r!   r"   r#   r$   r(   r&   r'   )r)   r   r   rN   r*   r   r+   r,   r-   r/   r0   r1   r2   r3   r5   r4   r6   r7   ÚdcoeffsÚns   &&&&&&              r8   Úmra2rS   –   sU  € ðn �FÔØ�?Ô"ÜØBóDð DàŠ=ÜÑ=°$·*²*Ó=Ó=ˆEØ˜W f¨d°F¸DÐAˆÜœ$ÑH eÐH¸ÐHÀÑHˆÜœ%Ñ* 6Ñ*‰Ø	�fÔ	Ø˜W f¨d°F¸DÐAˆÜœ(Ñ:¨%Ð:°6Ñ:ˆÜœ(Ñ- fÑ-‰äÐ3°I°;Ð?Ó@Ð@á˜“€Jà€JÜ	ˆZ‹€BÜ
�Š�j •mÓ$€AØˆ#€CÜ�1�bŽ\ˆØ�
‰
¨j®mÓ<©m¨”B—M’M !Ö$©mÑ<Ö=ñ ð ˜�]€Cˆ�Fá
�#‹,€CØ
‡y�y�D—J‘JÔà”%¨T¯ZªZÓ8©Z rœ˜rž©ZÑ8Ó9Õ:ˆØ×Ñ�cÔàˆ�Fä�1�bŽ\ˆØˆÜ�q–ˆAà•�q•	ˆAØ"� aÕ(ˆC�F�1‰Iá˜#“,ˆCØ�y‰y˜DŸJ™JÔ&àœ%°T·Z²ZÓ @±Z¨r¤ r¦±ZÑ @ÓAÕB�Ø�N‰N˜3Ôà��F�1‹Iñ ð 	×Ñœ% ›.Ö)ñ ð Ðùò9 =ùò 9ùò !As   Ä J
Å-J
È Jc                ó    € V ^ ,          p\        ^\        V 4      4       F+  p\        ^4       F  pWV,          V,          ,          pK  	  K-  	  V# )a  Inverse 2D multiresolution analysis via summation.

Parameters
----------
mra_coeffs : list
    Multiresolution analysis coefficients as returned by `mra2`.

Returns
-------
rec : ndarray
    The reconstructed signal.

See Also
--------
mra2

References
----------
.. [1] Donald B. Percival and Harold O. Mofjeld. Analysis of Subtidal
    Coastal Sea Level Fluctuations Using Wavelets. Journal of the American
    Statistical Association Vol. 92, No. 439 (Sep., 1997), pp. 868-880.
    https://doi.org/10.2307/2965551
)r$   r!   )r0   r6   r5   rR   s   &   r8   Úimra2rU     sH   € ð0 �Q�-€CÜ�1”c˜*“oÖ&ˆÜ�q–ˆAØ˜a•= Õ#Õ#ŠCó ñ 'ð €JrB   c                ó¸  € \        V P                  V4      w  r6p\        W4      pVR8X  d`   VR8w  d   \        R4      hVf   \	        R V P                   4       4      pRVRVRR/p	\        \        3R	VR
R/V	B p
\        \        3/ V	B pMKVR8X  d7   \        WS4      pRVRVRV/p	\        \        3R	V/V	B p
\        \        3/ V	B pM\        RV 24      hV
! V 4      p. p\        V4      p\        P                  ! V^ ,          4      pV.p\        ^V4       FS  pTP                  VV,          P!                  4        UUu/ uF  w  ppV\        P                  ! V4      bK  	  upp4       KU  	  V^ ,          V^ &   V! V4      pVP                  V P                  8w  d6   T\#        V P                   Uu. uF  p\%        V4      NK  	  up4      ,          pVP                  V4       VV^ &   \        ^V4       FÒ  p/ p\'        VV,          P)                  4       4      pV F–  pVV,          V,          pVV,          V,          VV,          V&   V! V4      pVP                  V P                  8w  d6   T\#        V P                   Uu. uF  p\%        V4      NK  	  up4      ,          pVVV&   VVV,          V&   K˜  	  VP                  V4       KÔ  	  V# u uppi u upi u upi )a^  Forward nD multiresolution analysis.

It is a projection onto the wavelet subspaces.

Parameters
----------
data: array_like
    Input data
wavelet : Wavelet object or name string, or tuple of wavelets
    Wavelet to use. This can also be a tuple containing a wavelet to
    apply along each axis in `axes`.
level : int, optional
    Decomposition level (must be >= 0). If level is None (default) then it
    will be calculated using the `dwt_max_level` function.
axes : tuple of ints, optional
    Axes over which to compute the DWT. Repeated elements are not allowed.
transform : {'dwtn', 'swtn'}
    Whether to use the DWT or SWT for the transforms.
mode : str or tuple of str, optional
    Signal extension mode, see `Modes` (default: 'symmetric'). This option
    is only used when transform='dwtn'.

Returns
-------
coeffs : list
    For more information, see the detailed description in `wavedecn`.

See Also
--------
imran, swtn

Notes
-----
This is sometimes referred to as an additive decomposition because the
inverse transform (``imran``) is just the sum of the coefficient arrays
[1]_. The decomposition using ``transform='dwt'`` corresponds to section
2.2 while that using an undecimated transform (``transform='swt'``) is
described in section 3.2 and appendix A.

This transform does not share the variance partition property of ``swtn``
with `norm=True`. It does however, result in coefficients that are
temporally aligned regardless of the symmetry of the wavelet used.

The redundancy of this transform is ``(2**n - 1) * level + 1`` where ``n``
corresponds to the number of axes transformed.

References
----------
.. [1] Donald B. Percival and Harold O. Mofjeld. Analysis of Subtidal
    Coastal Sea Level Fluctuations Using Wavelets. Journal of the American
    Statistical Association Vol. 92, No. 439 (Sep., 1997), pp. 868-880.
    https://doi.org/10.2307/2965551
r   r   r   c              3   ó8   "  € T F  p\        V4      x € K  	  R # 5ir<   rF   rG   s   & r8   rJ   Úmran.<locals>.<genexpr>a  rL   rM   r   rN   r   Tr   r   Údwtnr   r   )r   r%   r   r    rP   r   r   r   r   r   r   r!   r"   r#   r$   r(   Úitemsr&   r'   ÚlistÚkeys)r)   r   r   rN   r*   r   Úaxes_shapesÚndim_transformÚwaveletsr+   r,   r-   Úmodesr/   r0   r1   r2   r3   r5   ÚkÚvr6   r7   rQ   Údkeyss   &&&&&&                   r8   Úmranrd   "  s­  € ôn )<¸D¿J¹JÈÓ(MÑ%€D�~Ü! 'Ó0€Hà�FÔØ�?Ô"ÜØBóDð DàŠ=ÜÑ=°$·*²*Ó=Ó=ˆEØ˜X v¨t°V¸TÐBˆÜœ$ÑH eÐH¸ÐHÀÑHˆÜœ%Ñ* 6Ñ*‰Ø	�fÔ	Ü Ó+ˆØ˜X v¨u°f¸dÐCˆÜœ(Ñ:¨%Ð:°6Ñ:ˆÜœ(Ñ- fÑ-‰äÐ3°I°;Ð?Ó@Ð@á˜“€Jà€JÜ	ˆZ‹€BÜ
�Š�j •mÓ$€AØˆ#€CÜ�1�bŽ\ˆØ�
‰
°J¸qµM×4GÑ4GÔ4IÔJÑ4I©D¨A¨q�A”r—}’} QÓ'Ò'Ñ4IÒJÖKñ ð ˜�]€Cˆ�Fá
�#‹,€CØ
‡y�y�D—J‘JÔà”%¨T¯ZªZÓ8©Z rœ˜rž©ZÑ8Ó9Õ:ˆØ×Ñ�cÔà€Cˆ�Fä�1�bŽ\ˆØˆÜ�Z •]×'Ñ'Ó)Ó*ˆÛˆAà�A•�q•	ˆAØ" 1� aÕ(ˆC��F�1‰Iñ ˜#“,ˆCØ�y‰y˜DŸJ™JÔ&àœ%°T·Z²ZÓ @±Z¨r¤ r¦±ZÑ @ÓAÕB�ØˆG�A‰JàˆC��F�1‹Iñ ð 	×Ñ˜'Ö"ñ# ð$ Ðùó? Kùò 9ùò" !As   Ä?#KÆ1K
É?Kc                óž   € V ^ ,          p\        ^\        V 4      4       F*  pW,          P                  4        F  w  r4W,          pK  	  K,  	  V# )a  Inverse nD multiresolution analysis via summation.

Parameters
----------
mra_coeffs : list
    Multiresolution analysis coefficients as returned by `mra2`.

Returns
-------
rec : ndarray
    The reconstructed signal.

See Also
--------
mran

References
----------
.. [1] Donald B. Percival and Harold O. Mofjeld. Analysis of Subtidal
    Coastal Sea Level Fluctuations Using Wavelets. Journal of the American
    Statistical Association Vol. 92, No. 439 (Sep., 1997), pp. 868-880.
    https://doi.org/10.2307/2965551
)r$   r!   rZ   )r0   r6   r5   ra   rb   s   &    r8   Úimranrf   –  sG   € ð0 �Q�-€CÜ�1”c˜*“oÖ&ˆØ•M×'Ñ'Ö)‰DˆAØ�HŠCó *ñ 'ð €JrB   )r9   rS   rd   rC   rU   rf   )Néÿÿÿÿr   r   )N)éþÿÿÿrg   r   r   )NNr   r   )Ú	functoolsr   r   Únumpyr"   Ú_multilevelr   r   r   r   r	   r
   r   Ú_swtr   r   r   r   r   r   r   Ú_utilsr   r   Ú__all__r9   rC   rS   rU   rd   rf   r=   rB   r8   Ú<module>ro      sR   ðß %ã ÷÷ ñ ÷ E× DÑ Dß 7â
;€ôdòN2ô6jòZô>qôhrB   