MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / xcorr

Function xcorr

lib/matplotlib/pyplot.py:4540–4560  ·  view source on GitHub ↗
(
    x: ArrayLike,
    y: ArrayLike,
    normed: bool = True,
    detrend: Callable[[ArrayLike], ArrayLike] = mlab.detrend_none,
    usevlines: bool = True,
    maxlags: int = 10,
    *,
    data: DataParamType = None,
    **kwargs,
)

Source from the content-addressed store, hash-verified

4538# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
4539@_copy_docstring_and_deprecators(Axes.xcorr)
4540def xcorr(
4541 x: ArrayLike,
4542 y: ArrayLike,
4543 normed: bool = True,
4544 detrend: Callable[[ArrayLike], ArrayLike] = mlab.detrend_none,
4545 usevlines: bool = True,
4546 maxlags: int = 10,
4547 *,
4548 data: DataParamType = None,
4549 **kwargs,
4550) -> tuple[np.ndarray, np.ndarray, LineCollection | Line2D, Line2D | None]:
4551 return gca().xcorr(
4552 x,
4553 y,
4554 normed=normed,
4555 detrend=detrend,
4556 usevlines=usevlines,
4557 maxlags=maxlags,
4558 **({"data": data} if data is not None else {}),
4559 **kwargs,
4560 )
4561
4562
4563# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
xcorrMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…