Compute a histogram and the corresponding cumulative frequency polygon.
Parameters: |
|
---|
Keyword arguments currently are passed to numpy.histogram
Returns: | mid values of bins and the cumulative frequencies |
---|---|
Return type: | bins, cdf |
Returns cos(lats)
Required as a weighting for calculating areas on a regular cartesian lat-lon grid in which meridians converge.
Parameters: | lats (numpy ndarray) – in degree |
---|---|
Returns: | numpy ndarray |
Given paired values of (x,y), randomly sample a set of values for ynew given an array xnew such that the joint distribution of (xnew, ynew) resembles that of (x,y)
Parameters: |
|
---|---|
Returns: | ynew – length = len(xnew) |
Return type: | numpy 1d array |
Compute a smooth box-car running average and masked edge values using scipy.ndimage.filters.convolve1d
Parameters: |
|
---|---|
Returns: | numpy masked array (same shape as data) |