Write all information required to calibrate a new spectrum to file.
filename (path) – The filename to write to.