qrange#
- tollan.utils.np.qrange(x0: Quantity, x1: Quantity, step: Quantity) Quantity[source]#
Like numpy.arange, but for astropy quantities (unit-aware).
- Parameters:
x0 (Quantity) – Start value with units
x1 (Quantity) – End value with units (exclusive)
step (Quantity) – Step size with units
- Returns:
Array of values from x0 to x1 with step increments
- Return type:
Quantity