GroupTheory`
GroupTheory`
GTBlueRed
GTBlueRed[x]
defines a ColorFunction from blue (x=0) to red (x=1).
Details and Options
- The code MPB (MIT Photonic-Bands) uses a special color code to represent the amplitudes of the electromagnetic fields. GTBlueRed simulates this color code to represent the fields in the same manner within GTPack.
- x =0 corresponde to Blue, x=1/2 gives White and x=1 corresponds to Red.
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica
- MPB: https://mpb.readthedocs.io/en/latest/Data_Analysis_Tutorial/