method
MaskedArray.ptp(self, axis=None, out=None, fill_value=None, keepdims=False)
[source]
Return (maximum  minimum) along the given dimension (i.e. peaktopeak value).
Parameters: 


Returns: 

© 2005–2019 NumPy Developers
Licensed under the 3clause BSD License.
https://docs.scipy.org/doc/numpy1.17.0/reference/generated/numpy.ma.MaskedArray.ptp.html