def BlueBlackRed(): h1 = .1 * np.pi h2 = 1.5 * np.pi J = 40 M = 35 start = JMhtoJab(J, M, h2) stop = JMhtoJab(J, M, h1) crit = [0, 0, 0] cmap = UCStoCmap(diverging(start, stop, crit), name='BlueBlackRed') rc("BlueBlackRed", cmap) return cmap
def BlueWhiteGray(): h = .1 * np.pi J = 40 M = 35 start = JMhtoJab(J, M, h) stop = JMhtoJab(J, M, 0) crit = [100, 0, 0] cmap = UCStoCmap(diverging(start, stop, crit), name="BlueWhiteGray") rc("BlueWhiteGray", cmap) return cmap
def GrayWhiteRed(): h = 1.5 * np.pi J = 40 M = 35 start = JMhtoJab(J, M, h) stop = JMhtoJab(J, 0, 0) crit = [100, 0, 0] cmap = UCStoCmap(diverging(start, stop, crit), name="GrayWhiteRed") rc("GrayWhiteRed", cmap) return cmap
def DarkBlueLightRed(): h1 = .1 * np.pi h2 = 1.5 * np.pi J1 = 60 J2 = 20 Jc = (J1 + J2) / 2 M = 30 start = JMhtoJab(J2, M, h2) stop = JMhtoJab(J1, M, h1) crit = [Jc, 0, 0] cmap = UCStoCmap(diverging(start, stop, crit), name="DarkBlueLightRed") rc("DarkBlueLightRed", cmap) return cmap