archivecat filename [filename [filename ...]]takes a list of XML files containing results of simulation checkpoints in a <SIMULATION> element of the QMCXML schema. The tool strips off the leading processing instructions and wraps the various simulations inside a <ARCHIVE> element. This archive of simulation results can then be used by XSLT transformers, using for example the stylesheets provided below.
xslttransform file [stylesheet]If the stylesheet argument is not given, the default stylesheet is taken from the XML input file.
The XSLT processor is chosen as follows:
Alternative usage:
extracttext plot-filename archive-filename
extracttext plot-filename task-filename [task-filename [task-filename ...]]
Alternative usage:
extracthtml plot-filename archive-filename
extracthtml plot-filename task-filename [task-filename [task-filename ...]]
plot2text filenametakes a XML plot file as argument and transforms it into tabular plain text output.
plot2html filenametakes a XML plot file as argument and transforms it into tabular HTML output.
We encourage your participation in the development of more flexible and powerful XSLT transformation tools.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ALPS.xsl"?>
<plot name="Energy versus temperature for some model">
<!-- general plot description -->
<legend show="true"/>
<xaxis label="Temperature" type="PARAMETER" name="T"/>
<yaxis label="Energy" type="SCALAR_AVERAGE"/>
<!-- set description -->
<set label="sprint "/>
</plot>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ALPS.xsl"?>
<plot name="Energy versus temperature for some model">
<!-- general plot description -->
<legend show="true"/>
<xaxis label="Temperature" type="PARAMETER" name="T"/>
<yaxis label="Energy" type="SCALAR_AVERAGE"/>
<!-- loop over all system sizes -->
<for-each name="SystemSize"/>
<!-- define some parameters -->
<constraint name="U" condition="=3.0" />
<constraint name="U'" condition="=4.0" />
<constraint name="t" condition="=1.0" />
<constraint name="t'" condition="=2.0" />
<!-- restrict energy range -->
<constraint name="Energy" type="SCALAR_AVERAGE" condition="<0" />
<!-- set descriptions -->
<set label="start "/>
</plot>
Constraints used in this example
The first constraint <for-each name="SystemSize"/>
used in this example describes a loop over all possible values of the specified parameter. In the given example multiple sets are generated one for each system size found in the archive.
The second set of constraints, e.g. <constraint name="U" condition="=3.0" />
, is
used to specify a set of parameters, such as U=3.0 U'=4.0 t=1.0 t'=2.0 in the given example.
The last constraint <constraint name="Energy" type="SCALAR_AVERAGE" condition="<0" />
restricts
the energy range to negative values.
The set label will be automatically generated from the prefix label label="start "
in the set description and all the given constraints.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ALPS.xsl"?>
<plot name="Green's function versus distance for some model">
<!-- general plot description -->
<legend show="true"/>
<xaxis label="Distance" type="INDEX"/>
<yaxis label="Green's function" type="VECTOR_AVERAGE"/>
<!-- index constraints -->
<constraint label="d" type="INDEX" condition=">=2" />
<constraint label="d" type="INDEX" condition="<5" />
<set label="Some parameters of interest"/>
</plot>
Constraints used in this exampleWith the two index constraints shown in this example only Green's functions for distances d=2,3,4 are shown.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ALPS.xsl"?>
<plot name="Winding number^2 versus energy for some model">
<!-- general plot description -->
<legend show="true"/>
<xaxis label="Energy" type="SCALAR_AVERAGE"/>
<yaxis label="Winding number^2" type="VECTOR_AVERAGE" index="0"/>
<!-- set descriptions -->
<set label="Not neccessarily useful"/>
</plot>
copyright (c) 1994-2010 by Matthias Troyer
Distributed under the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt)