Utilities

Utilities

ED_sectors.export_data โ€” Function.
export_data(data,name,parameters)

Exports arrays to csv files, with parameters in the filename. Particularly useful when varying 1 or more parameters. #Arguments

  • 'data :: Array{Float64, N} where N': data to export, an Array
  • 'name :: String': name/prefix for the data, e.g. "XXZ_eigenvalues"
  • 'parameters :: Array{Tuple{String,Number}}': Array of Tuples (parameter, value), e.g. ("Delta", 0.6)
source
ED_sectors.make_filename โ€” Function.
make_filename(name,parameters)

Given the prefix 'name' and the parameter/value pairs, generates a filename for the data.

#Arguments

  • 'name :: String': name/prefix for the data, e.g. "XXZ_eigenvalues"
  • 'parameters :: Array{Tuple{String,Number}}': Array of Tuples (parameter, value), e.g. ("Delta", 0.6)
source