SaveDFsAsText(DFs)
Save function[s] from the given object, which may be single DF, DFset or list of DFs into a separate text-file. Useful when plotting with external software.
Each function is saved in a tabulated format: First column - distances in Å, second column - values.
The text file has the same name as the according function. The files are ready to be plotted
by gnuplot
, e.g.
gnuplot> plot './NB.RDF.NB.N-N.i1.dat' w lines
- DFs*
- - set (list of sets) of the functions to save (mandatory argument)
Example:
df_set = MT.ReadPot('DMPC.pot', Ucut=1e5)
MT.SaveDFsAsText(pots)