Skip to content
Snippets Groups Projects
girder.xml 3.66 KiB
Newer Older
<?xml version='1.0'?>
<definition>
  <group type="NXentry" name="$var.entryname#'$(__entryname__)'$var.serialno">
    <group type="NXinstrument" name="instrument">
      <group type="NXcollection" name="$(name)_1">
        <field type="NX_CHAR" name="depends_on">transformations/x<strategy mode="INIT"/>
        </field>
        <group type="NXtransformations" name="transformations">
          <field depends_on="y" units="mm" type="NX_FLOAT64" name="x">
            <strategy mode="INIT"/>$datasources.$(x1)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
            </attribute>
            <attribute type="NX_FLOAT64" name="vector">1 0 0<dimensions rank="1">
                <dim value="3" index="1"/>
              </dimensions>
              <strategy mode="INIT"/>
            </attribute>
          </field>
          <field units="mm" type="NX_FLOAT64" name="y">
            <strategy mode="INIT"/>$datasources.$(y1)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
            </attribute>
            <attribute type="NX_FLOAT64" name="vector">0 1 0<dimensions rank="1">
                <dim value="3" index="1"/>
              </dimensions>
              <strategy mode="INIT"/>
            </attribute>
          </field>
        </group>
      </group>
      <group type="NXcollection" name="$(name)_2">
        <field type="NX_CHAR" name="depends_on">transformations/x<strategy mode="INIT"/>
        </field>
        <group type="NXtransformations" name="transformations">
          <field depends_on="y" units="mm" type="NX_FLOAT64" name="x">
            <strategy mode="INIT"/>$datasources.$(x2)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
            </attribute>
            <attribute type="NX_FLOAT64" name="vector">1 0 0<dimensions rank="1">
                <dim value="3" index="1"/>
              </dimensions>
              <strategy mode="INIT"/>
            </attribute>
          </field>
          <field units="mm" type="NX_FLOAT64" name="y">
            <strategy mode="INIT"/>$datasources.$(y2)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
            </attribute>
            <attribute type="NX_FLOAT64" name="vector">0 1 0<dimensions rank="1">
                <dim value="3" index="1"/>
              </dimensions>
              <strategy mode="INIT"/>
            </attribute>
          </field>
        </group>
      </group>
      <group type="NXcollection" name="$(name)_common">
        <field type="NX_CHAR" name="depends_on">transformations/x<strategy mode="INIT"/>
        </field>
        <group type="NXtransformations" name="transformations">
          <field depends_on="y" units="mm" type="NX_FLOAT64" name="x">
            <strategy mode="INIT"/>$datasources.$(x)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
            </attribute>
            <attribute type="NX_FLOAT64" name="vector">1 0 0<dimensions rank="1">
                <dim value="3" index="1"/>
              </dimensions>
              <strategy mode="INIT"/>
            </attribute>
          </field>
          <field units="mm" type="NX_FLOAT64" name="y">
            <strategy mode="INIT"/>$datasources.$(y)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
            </attribute>
            <attribute type="NX_FLOAT64" name="vector">0 1 0<dimensions rank="1">
                <dim value="3" index="1"/>
              </dimensions>
              <strategy mode="INIT"/>
            </attribute>
          </field>
        </group>
      </group>
    </group>
  </group>
</definition>