vTAS - Experiment file

vTAS can import/export the current status of an experiment (i.e. instrument parameters, sample parameters, current sample orientation and ki, kf, Q triangle) through an XML file as shown below. This is especially convenient for distant users who can share their work with vTAS through mail exchange of experiment files.

Importing an experiment file

    Menu "File/Open..."

Exporting an experiment file

    Menu "File/Save..."
    Menu "File/Save as..."
The default file name is "vTAS" followed by the current date and time, e.g.:
vTAS-2009-4-28-11h29.xml

Sample experiment file

<?xml version='1.0' encoding='UTF-8'?>
<experience version="1.0">

<modele>
<angles a1="22.93397667652935" a2="45.8679533530587" a3="-40.23635830927381" a4="51.40021873234288" a5="-22.274006672462445" a6="-44.54801334492489"></angles>
<lengths ki_len="2.4030356316362798" kf_len="2.470452175334968"></lengths>
<scattering_plane>
<vA x="1.0" y="0.0" z="0.0"></vA>
<vB x="0.0" y="1.0" z="0.0"></vB>
</scattering_plane>
<settings current_sample="Germanium" current_instrument="ILL IN14" zoom_level="60.0"></settings>
</modele>

<sample name="Germanium" type="CUBIC">
<dimensions a="5.6575" b="5.6575" c="5.6575"></dimensions>
<angles alpha="90.0" beta="90.0" gamma="90.0"></angles>
<description><![CDATA[<html>
  <head>
   
  </head>
  <body>
    Germanium is a chemical element with the symbol Ge and atomic number 32.
    It is a lustrous, hard, grayish-white metalloid in the carbon group,
    chemically similar to its group neighbors tin and silicon.
  </body>
</html>
]]></description>
</sample>

<instrument name="ILL IN14" srr="2.7" arr="1.3" drr="0.4" sm="1" sa="-1" ss="1"><a2 ll="31.0" ul="149.0"></a2>
<a4 ll="-119.99999999999999" ul="119.99999999999999"></a4>
<a6 ll="-119.99999999999999" ul="119.99999999999999"></a6>
<monochromator D="3.355"></monochromator>
<analyser D="3.355"></analyser>
<walls num-walls="11">
<wall x="0.0" y="0.0"></wall>
<wall x="-1.7" y="1.0"></wall>
<wall x="-4.1" y="1.0"></wall>
<wall x="-4.1" y="2.9"></wall>
<wall x="-2.4" y="4.5"></wall>
<wall x="1.0" y="6.0"></wall>
<wall x="4.0" y="2.9"></wall>
<wall x="4.0" y="1.4"></wall>
<wall x="2.9" y="1.4"></wall>
<wall x="2.9" y="1.0"></wall>
<wall x="1.6" y="1.0"></wall>
</walls>
<description><![CDATA[<a href="http://www.ill.eu/instruments-support/instruments-groups/instruments/in14/" title="IN14"><h1>ILL IN14</h1></a>
<p>Here a short description of the instrument and its parameter set.</p>]]></description>
</instrument>
</experience>



Last Updated 2018 By A.Filhol