log_scale_ds9¶
- grizli.utils.log_scale_ds9(im, lexp=1000000000000.0, cmap=[7.97917, 0.8780493], scale=[-0.1, 10])[source]¶
Scale an array like ds9 log scaling
- Parameters
- imnumpy.ndarray
Input array to be scaled.
- lexpfloat, optional
Logarithmic scaling factor. Default is 1.0e12.
- cmaplist, optional
List of contrast and bias values for the colormap. Default is [7.97917, 0.8780493].
- scalelist, optional
List of minimum and maximum values for scaling the input array. Default is [-0.1, 10].
- Returns
- numpy.ndarray
Scaled array using ds9 log scaling.