scipy 1.8.0 Pypi GitHub Homepage
Other Docs
NotesParametersReturnsBackRef

Notes

warning

correspondence with the inverse direct Fourier transform.

For norm="ortho" both the dst and idst are scaled by the same overall factor in both directions. By default, the transform is also orthogonalized which for types 2 and 3 means the transform definition is modified to give orthogonality of the DST matrix (see dst for the full definitions).

'The' IDST is the IDST-II, which is the same as the normalized DST-III.

The IDST is equivalent to a normal DST except for the normalization and type. DST type 1 and 4 are their own inverse and DSTs 2 and 3 are each other's inverses.

Parameters

x : array_like

The input array.

type : {1, 2, 3, 4}, optional

Type of the DST (see Notes). Default type is 2.

n : int, optional

Length of the transform. If n < x.shape[axis] , x is truncated. If n > x.shape[axis] , x is zero-padded. The default results in n = x.shape[axis] .

axis : int, optional

Axis along which the idst is computed; the default is over the last axis (i.e., axis=-1 ).

norm : {"backward", "ortho", "forward"}, optional

Normalization mode (see Notes). Default is "backward".

overwrite_x : bool, optional

If True, the contents of x can be destroyed; the default is False.

workers : int, optional

Maximum number of workers to use for parallel computation. If negative, the value wraps around from os.cpu_count() . See ~scipy.fft.fft for more details.

orthogonalize : bool, optional

Whether to use the orthogonalized IDST variant (see Notes). Defaults to True when norm=="ortho" and False otherwise.

versionadded

Returns

idst : ndarray of real

The transformed input array.

Return the Inverse Discrete Sine Transform of an arbitrary type sequence.

See Also

dst

Forward DST

Examples

See :

Back References

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

scipy.fft._realtransforms.idstn scipy.fft._realtransforms.idst scipy.fft._realtransforms.dst

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.

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 : /scipy/fft/_realtransforms.py#627
type: <class 'uarray._Function'>
Commit: