Next: GromacsTopology
Up: MagicTools procedures reference:
Previous: DumpDFs
Contents
SplitDFset(ifile, ofile, Split=True)
Splits the set of RDFs or potentials given in the file ifile into a main header file
and an additional set of [included-potential/rdf]included files.
- DFs*
- - set of distribution functions to dump (mandatory argument)
- filename*
- - name of the dump-file (mandatory argument)
- Split
- - logical list, stating which DFs within the file shall be moved to included file, while other will remain in the main header file.
Examples:
MagicTools.SplitDFset('03.magic.i010.pot','magic.pot')
MagicTools.SplitDFset('03.magic.i010.pot','magic.pot', Split=[True,False])
MagicTools.SplitDFset('03.magic.i010.pot','magic.pot',
Split=[i>10 for i in xrange(0,20)])
Alexander Lyubartsev
2016-05-03