You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			891 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			891 B
		
	
	
	
		
			Python
		
	
from typing import Any
 | 
						|
from typing import Literal as L
 | 
						|
 | 
						|
from typing_extensions import deprecated
 | 
						|
 | 
						|
import numpy as np
 | 
						|
from numpy._typing import ArrayLike, NDArray, _ShapeLike
 | 
						|
 | 
						|
from ._helper import integer_types as integer_types
 | 
						|
 | 
						|
__all__ = ["fftfreq", "fftshift", "ifftshift", "rfftfreq"]
 | 
						|
 | 
						|
###
 | 
						|
 | 
						|
@deprecated("Please use `numpy.fft.fftshift` instead.")
 | 
						|
def fftshift(x: ArrayLike, axes: _ShapeLike | None = None) -> NDArray[Any]: ...
 | 
						|
@deprecated("Please use `numpy.fft.ifftshift` instead.")
 | 
						|
def ifftshift(x: ArrayLike, axes: _ShapeLike | None = None) -> NDArray[Any]: ...
 | 
						|
@deprecated("Please use `numpy.fft.fftfreq` instead.")
 | 
						|
def fftfreq(n: int | np.integer, d: ArrayLike = 1.0, device: L["cpu"] | None = None) -> NDArray[Any]: ...
 | 
						|
@deprecated("Please use `numpy.fft.rfftfreq` instead.")
 | 
						|
def rfftfreq(n: int | np.integer, d: ArrayLike = 1.0, device: L["cpu"] | None = None) -> NDArray[Any]: ...
 |