calculate

SpectralShapeOne.calculate(axis: ndarray) ndarray[source]

calculate calculates the shape.

Parameters:

axis (np.ndarray) – The axis to calculate the shape on.

Returns:

shape

Return type:

numpy.ndarray