BaseInterval¶
-
class
astropy.visualization.
BaseInterval
[source] [edit on github]¶ Bases:
astropy.visualization.BaseTransform
Base class for the interval classes, which, when called with an array of values, return an interval computed following different algorithms.
Methods Summary
__call__
(values[, clip, out])Transform values using this interval. get_limits
(values)Return the minimum and maximum value in the interval based on the values provided. Methods Documentation
-
__call__
(values, clip=True, out=None)[source] [edit on github]¶ Transform values using this interval.
Parameters: Returns: - result :
ndarray
The transformed values.
- result :
-
get_limits
(values)[source] [edit on github]¶ Return the minimum and maximum value in the interval based on the values provided.
Parameters: - values :
ndarray
The image values.
Returns: - vmin, vmax : float
The mininium and maximum image value in the interval.
- values :
-