pyanno4rt.tools._arange_with_endpoint

Numpy’s arange with endpoint inclusion.

Overview

Function

arange_with_endpoint(start, stop, step)

Return evenly spaced values within an interval, including the endpoint.

Functions

pyanno4rt.tools._arange_with_endpoint.arange_with_endpoint(start, stop, step)[source]

Return evenly spaced values within an interval, including the endpoint.

Parameters:
  • start (int or float) – Starting point of the interval.

  • stop (int or float) – Stopping point of the interval.

  • step (int or float) – Spacing between points in the interval.

Returns:

Array of evenly spaced values.

Return type:

ndarray