plot_levels

Model.plot_levels(height=4, width=1)

Plot the energy levels of the model. The main plot shows the full spectrum, the subplots show the fine structure corresponding to the nuclear spins.

Note

Currently it works only for one NV electron that must be the first spin of the model.

Parameters:
  • height (float) – Height of the main plot.

  • width (float) – Width of the main plot.