pymks/tools.py
def _get_response_cmap():
    """
    Helper function used to set the response color map.

    Returns:
        dictionary with colors and localizations on color bar.
    """
    HighRGB = np.array([26, 152, 80]) / 255.
    MediumRGB = np.array([255, 255, 191]) / 255.
    LowRGB = np.array([0, 0, 0]) / 255.
    cdict = _set_cdict(HighRGB, MediumRGB, LowRGB)
    return colors.LinearSegmentedColormap('coeff_cmap', cdict, 256)

    Helper function used to set the response color map.

    Returns:
        dictionary with colors and localizations on color bar.
    
Helper function used to set the response color map.
Helper function used to set the response color map .
def _get_response_cmap():
    HighRGB = np.array([26, 152, 80]) / 255.
    MediumRGB = np.array([255, 255, 191]) / 255.
    LowRGB = np.array([0, 0, 0]) / 255.
    cdict = _set_cdict(HighRGB, MediumRGB, LowRGB)
    return colors.LinearSegmentedColormap('coeff_cmap', cdict, 256)
def _get_response_cmap ( ) : HighRGB = np . array ( [ 26 , 152 , 80 ] ) / 255. MediumRGB = np . array ( [ 255 , 255 , 191 ] ) / 255. LowRGB = np . array ( [ 0 , 0 , 0 ] ) / 255. cdict = _set_cdict ( HighRGB , MediumRGB , LowRGB ) return colors . LinearSegmentedColormap ( 'coeff_cmap' , cdict , 256 )
Helper function used to set the response color map.
Helper function used to set the response color map .
"""
    Helper function used to set the response color map.

    Returns:
        dictionary with colors and localizations on color bar.
    """
dictionary with colors and localizations on color bar.
dictionary with colors and localizations on color bar .