.. index: mla_gui .. _mla_gui-label: mla_gui ------- .. automodule:: mlaapi.mla_gui :members: .. index: Script panel .. _scriptpanel-label: Script panel ------------ .. automodule:: mlaapi.scriptpanel :members: .. index: Scripting utilities .. _scriptutils-label: Scripting utilities ------------------- .. automodule:: mlaapi.scriptutils :members: .. index: Shell panel .. _shellpanel-label: Shell panel ----------- .. automodule:: mlaapi.impgui :members: .. index: Lockin setup panel .. _lockin_setup_panel-label: Lockin setup panel ------------------ .. automodule::mlaapi. lockin_setup_panel :members: .. index: Oscilloscope panel .. _oscilloscope_panel-label: Oscilloscope panel ------------------ .. automodule:: mlaapi.scopepanel :members: .. index: Lockin plot panel .. _lockin_plotpanel_api-label: Lockin plot panel ----------------- .. automodule:: mlaapi.lockin_plotpanel :members: Line colors ----------- The colors in the "Lockin history" plot are selected from a predefined list to ensure maximal color contrast between each line. However, depending on the physical or logical topology of the measurement setup other color schemes may be desired. To edit the colors, set the mla_globals.lockin_colors variable from the shell or a script. Below are a few examples: .. code:: python # Cycle the colors red, green, blue, cyan, magenta, yellow, white mla_globals.lockin_colors = 'rgbcmyw' # Cycle the colors red, green, blue mla_globals.lockin_colors = ('#ff0000','#00ff00', '#0000ff') # Cycle the colors cyan, magenta, yellow mla_globals.lockin_colors = ((0, 1, 1), (1, 0, 1), (1, 1, 0)) # Get a unique color for each frequency from the jet colormap. See all available colormaps here: # http://matplotlib.org/examples/color/colormaps_reference.html mla_globals.lockin_colors = matplotlib.cm.jet(np.linspace(0,1,mla.lockin.nr_input_freq))