atompy.Hist2d.save_to_file#

Hist2d.save_to_file(fname, **kwargs)[source]#

Save the histogram to a file.

The first column in the file will be y, the second x, the third z. (this is chosen as such because the the standard hist2ascii-macro of our group outputs this order)

Parameters:
fnamestr

Filename, including filetype

**kwargs

keyword arguments for numpy.savetxt()