Loading [MathJax]/extensions/tex2jax.js
scipy 1.10.1 Pypi GitHub Homepage
Other Docs

ParametersReturnsBackRef

Performs a discrete cosine transform.

Parameters

a : numpy.ndarray (any real type)

The input data

type : integer

the type of DCT. Must be in [1; 4].

axes : list of integers

The axes along which the transform is carried out. If not set, all axes will be transformed.

inorm : int
out : numpy.ndarray (same shape and data type as `a`)

May be identical to a, but if it isn't, it must not overlap with a. If None, a new array is allocated to store the output.

nthreads : int

Number of threads to use. If 0, use the system default (typically governed by the OMP_NUM_THREADS environment variable).

ortho: bool :

Orthogonalize transform (defaults to inorm=1)

Returns

numpy.ndarray (same shape and data type as `a`)

The transformed data

dct(a: numpy.ndarray, type: int, axes: object = None, inorm: int = 0, out: object = None, nthreads: int = 1, ortho: object = None) -> numpy.ndarray

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.fftpack._realtransforms:dctn scipy.fft._realtransforms:idct scipy.fft._realtransforms:dctn scipy.fftpack._realtransforms:idct scipy.fftpack._basic:fft scipy.fft._realtransforms:dct scipy.fft._basic:fft

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

scipy.fft._basic:fft_basic:fftscipy.fftpack._realtransforms:dctn_realtransforms:dctnscipy.fftpack._realtransforms:idct_realtransforms:idctscipy.fft._realtransforms:dct_realtransforms:dctscipy.fft._realtransforms:dctn_realtransforms:dctnscipy.fftpack._basic:fft_basic:fftscipy.fft._realtransforms:idct_realtransforms:idct

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : None#None
type: <class 'builtin_function_or_method'>
Commit: