+
    /i                        R t ^ RIt^ RIt^RIHt ^RIHtH	t	H
t
HtHtHtHt RRR/R llt]P                   ! ]R4      tR]n        ]P                   ! ]R4      tR	]n        RRR/R
 llt]P                   ! ]R4      tR]n        ]P                   ! ]R4      tR]n        RRR/R llt]P                   ! ]R4      tR]n        ]P                   ! ]R4      tR]n        RRR/R lltRRR/R lltR RR/R llt]P                   ! ]R4      tR]n        ]P                   ! ]R4      tR]n        R RR/R llt]P                   ! ]R4      t R] n        ]P                   ! ]R4      t!R]!n        R RR/R llt"]P                   ! ]"R4      t#R]#n        ]P                   ! ]"R4      t$R]$n        R!R lt%]P                   ! ]%R4      t&R]&n        ]P                   ! ]%R4      t'R]'n        R# )"z(
Discrete Fourier Transforms - basic.py
N)pypocketfft)	_asfarray_init_nd_shape_and_axes_datacopied
_fix_shape_fix_shape_1d_normalization_workersFplanc                  Ve   \        R4      h\        V4      pT;'       g    \        W4      p\        W@4      p\	        V4      pVe   \        WV4      w  rT;'       g    T	pM:VP                  V,          ^8  d#   RVP                  V,           R2p
\        V
4      hV'       d   VP                  P                  R8X  d   TMRp\        P                  ! W3WW4      # )z?Return discrete Fourier transform of real or complex sequence. NFPassing a precomputed plan is not yet supported by scipy.fft functionsinvalid number of data points () specifiedc)NotImplementedErrorr   r   r   r	   r   shape
ValueErrordtypekindpfftc2c)forwardxnaxisnormoverwrite_xworkersr
   tmpcopiedmessageouts   &&&&&&&$    X/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/fft/_pocketfft/basic.pyr   r      s     ! #E F 	F
A,C44S!4K$(DwG}#CD1!++V	41	3CIIdO3DKP!!#))..C"73TC88C'>>    Tfftifftc               z   Ve   \        R4      h\        V4      p\        W@4      p\        V4      p\        P
                  ! V4      '       g   \        R4      hVe   \        WV4      w  rM8VP                  V,          ^8  d!   \        RVP                  V,           R24      h\        P                  ! W3WRV4      # )z0
Discrete Fourier transform of a real sequence.
Nr   x must be a real sequencer   r   )r   r   r   r	   np	isrealobj	TypeErrorr   r   r   r   r2c
r   r   r   r   r   r   r   r
   r   _s
   &&&&&&&$  r"   r+   r+   (   s    
 ! #E F 	F
A,C$(DwG<<344}st,Q	41	:399T?:K;WXX 88C'w??r#   rfftihfftc          	        Ve   \        R4      h\        V4      p\        W@4      p\        V4      p\        P
                  ! V4      '       d
   VR,           pVf9   VP                  V,          ^,
          ^,          pV^8  d   \        RV R24      hM\        W^,          ^,           V4      w  r\        P                  ! W3W VRV4      # )z?
Return inverse discrete Fourier transform of real sequence x.
Nr                   zInvalid number of data points (r   )r   r   r   r	   r(   r)   r   r   r   r   c2rr,   s
   &&&&&&&$  r"   r2   r2   F   s    
 ! #E F 	F
A,C$(DwG 
||CCi 	yYYt_q A%q5>qcMNN  sTQJ5 88C!dD'BBr#   hfftirfftc               :    Ve   \        R4      h\        WW#WE4      # )z8
2-D discrete Fourier transform of a Hermitian sequence
r   )r   hfftnr   saxesr   r   r   r
   s   &&&&&&$r"   hfft2r:   h   s.    
 ! #E F 	Ft;88r#   c               :    Ve   \        R4      h\        WW#WE4      # )z@
2-D discrete inverse Fourier transform of a Hermitian sequence
r   )r   ihfftnr7   s   &&&&&&$r"   ihfft2r=   s   s.    
 ! #E F 	F!K99r#   c               ~   Ve   \        R4      h\        V4      p\        WV4      w  rT;'       g    \        W4      p\	        V4      p\        V4      ^ 8X  d   V# \        WV4      w  rT;'       g    T
p\        W@4      pV'       d   VP                  P                  R8X  d   TMRp\        P                  ! WWW4      # )z5
Return multidimensional discrete Fourier transform.
Nr   r   )r   r   r   r   r	   lenr   r   r   r   r   r   )r   r   r8   r9   r   r   r   r
   r   r   r   r!   s   &&&&&&&$    r"   c2cnr@   ~   s    
 ! #E F 	F
A,C)#$7KE44S!4KwG
4yA~S.KC''K$(D#))..C"73TC88Cwc;;r#   fftnifftnc               P   Ve   \        R4      h\        V4      p\        P                  ! V4      '       g   \	        R4      h\        WV4      w  r\        WV4      w  r\        W@4      p\        V4      p\        V4      ^ 8X  d   \        R4      h\        P                  ! WWRV4      # )z@Return multidimensional discrete Fourier transform of real inputNr   r'   #at least 1 axis must be transformed)r   r   r(   r)   r*   r   r   r   r	   r?   r   r   r+   )r   r   r8   r9   r   r   r   r
   r   r   r-   s   &&&&&&&$   r"   r2cnrE      s     ! #E F 	F
A,C<<344)#$7KED)FC$(DwG
4yA~>?? 88CwdG<<r#   rfftnr<   c          	     *   Ve   \        R4      h\        V4      p\        P                  ! V4      '       d
   VR,           pVRJ p	\	        WV4      w  r\        V4      ^ 8X  d   \        R4      h\        V
4      p
V	'       d,   VP                  VR,          ,          ^,
          ^,          V
R&   \        W@4      p\        V4      pV
R,          pV
R,          ^,          ^,           V
R&   \        \        WV4      4      w  r\        P                  ! WWVRV4      # )zDMultidimensional inverse discrete fourier transform with real outputNr   r1   rD   )r   r   r(   r)   r   r?   r   listr   r   r	   tupler   r   r2   )r   r   r8   r9   r   r   r   r
   r   noshaper   lastsizer-   s   &&&&&&&$     r"   c2rnrM      s     ! #E F 	F
A,C 
||CCi4iG)#$7KE
4yA~>??KEWWT"X&*a/b	$(DwG RyHra1$E"I:c$/0FC 88Cx$gFFr#   r6   irfftnc           	        \        V4      pT;'       g    \        Wa4      p\        W@4      p\        R4      pVP                  P
                  R8X  d   \        R4      hVe   \        WbV4      w  rhT;'       g    TpM8VP                  V,          ^8  d!   \        RVP                  V,           R24      hV'       d   TMRp	\        P                  ! Wc3W WIV4      # )z=FFT of a real sequence, returning fftpack half complex formatNr   r'   r   r   )r   r   r   r	   r   r   r*   r   r   r   r   r2r_fftpack)
r   r   r   r   r   r   r   r   r   r!   s
   &&&&&&    r"   rP   rP      s    
A,C44S!4K$(DtnG
yy~~344}#CD1!++V	41	:399T?:K;WXX34CC'DwOOr#   rfft_fftpackirfft_fftpack)NrH   NFN)N)rH   NFN)NNNFN)NrH   NF)(__doc__numpyr(   	functools r   r   helperr   r   r   r   r   r   r	   r   partialr$   __name__r%   r+   r.   r/   r2   r3   r4   r:   r=   r@   rA   rB   rE   rF   r<   rM   r6   rN   rP   rQ   rR    r#   r"   <module>r\      s     !  ?"?. T"e$@"@0 d##u%C"C8 d##u%99::<#<4 t$$&=#=. 	$%			4	' G# GF 	$%			4	'P*   d3& !!+u5( r#   