functions.plotting.butterfly

butterfly(model, args, data, plotting=False)[source]

Plot the Hofstadter butterfly.

Parameters:
  • model (Hofstadter.hamiltonian) – The Hofstadter Hamiltonian class attribute.

  • args (dict) – The arguments passed to the program.

  • data (ndarray) – The data array.

  • plotting (bool) – The plotting script flag.