Commit 7182d80a authored by Jan Kotanski's avatar Jan Kotanski
Browse files

Merge tag 'upstream/jessie/1.0.0' into debian/jessie

Upstream version 1.0.0
parents 50cf5cf3 a8fcd8aa
This diff is collapsed.
Metadata-Version: 1.0
Name: nexdatas.extrasp02
Version: 1.0.0
Summary: nexus template components for P02
Home-page: http://github.com/nexdatas/
Author: Jan Kotanski
Author-email: jankotan@gmail.com
License: ('GNU GENERAL PUBLIC LICENSE, version 3',)
Description: Welcome to nxstools's documentation!
====================================
Authors: Jan Kotanski
------------
Introduction
------------
Nexus template components for P02.
| Source code: https://stash.desy.de/scm/pibc/p02.git
| NexDaTaS Web page: https://nexdatas.github.io
------------
Installation
------------
Install the dependencies:
| PyTango, sphinx
From sources
""""""""""""
Download the latest NXS Tools version from
| https://github.com/nexdatas/tools
| https://stash.desy.de/scm/pibc/p02.git
Extract sources and run
.. code-block:: console
$ python setup.py install
Debian packages
"""""""""""""""
Debian Jessie (and Wheezy) packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
.. code-block:: console
$ sudo su
$ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -
and then download the corresponding source list
.. code-block:: console
$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/jessie-pni-hdri.list
Finally,
.. code-block:: console
$ apt-get update
$ apt-get install python-nxstools
$ apt-get install python-nxstools-extras-p02
To instal other NexDaTaS packages
.. code-block:: console
$ apt-get install python-nxswriter nxsconfigserver-db python-nxsconfigserver nxsconfigtool
and
.. code-block:: console
$ apt-get install python-nxsrecselector nxselector python-sardana-nxsrecorder
for Component Selector and Sardana related packages.
Keywords: configuration writer Tango component nexus data tools
Platform: Linux
Welcome to nxstools's documentation!
====================================
Authors: Jan Kotanski
------------
Introduction
------------
Nexus template components for P02.
| Source code: https://stash.desy.de/scm/pibc/p02.git
| NexDaTaS Web page: https://nexdatas.github.io
------------
Installation
------------
Install the dependencies:
| PyTango, sphinx
From sources
""""""""""""
Download the latest NXS Tools version from
| https://github.com/nexdatas/tools
| https://stash.desy.de/scm/pibc/p02.git
Extract sources and run
.. code-block:: console
$ python setup.py install
Debian packages
"""""""""""""""
Debian Jessie (and Wheezy) packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
.. code-block:: console
$ sudo su
$ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -
and then download the corresponding source list
.. code-block:: console
$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/jessie-pni-hdri.list
Finally,
.. code-block:: console
$ apt-get update
$ apt-get install python-nxstools
$ apt-get install python-nxstools-extras-p02
To instal other NexDaTaS packages
.. code-block:: console
$ apt-get install python-nxswriter nxsconfigserver-db python-nxsconfigserver nxsconfigtool
and
.. code-block:: console
$ apt-get install python-nxsrecselector nxselector python-sardana-nxsrecorder
for Component Selector and Sardana related packages.
This diff is collapsed.
<?xml version='1.0'?>
<definition>
<datasource type="CLIENT" name="correction">
<record name="correction"/>
</datasource>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXinstrument" name="instrument">
<group type="NXxraylens" name="$(name)">
<field type="NX_CHAR" name="depends_on">transformations/pitch<strategy mode="INIT"/>
</field>
<group type="NXtransformations" name="transformations">
<field depends_on="yaw" units="deg" type="NX_FLOAT" name="pitch">
<strategy mode="INIT"/>$datasources.$(pitch)<attribute type="NX_CHAR" name="transformation_type">rotation<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 depends_on="x" units="deg" type="NX_FLOAT" name="yaw">
<strategy mode="INIT"/>$datasources.$(yaw)<attribute type="NX_CHAR" name="transformation_type">rotation<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>
<field depends_on="y" units="mm" type="NX_FLOAT" 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 depends_on="z" units="mm" type="NX_FLOAT" 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>
<field units="mm" type="NX_FLOAT" name="z">
<strategy mode="INIT"/>$datasources.$(z)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
</group>
</group>
</group>
</group>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXsample" name="$(sname)">
<group type="NXcollection" name="$(name)">
<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 depends_on="z" 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>
<field depends_on="distance" units="mm" type="NX_FLOAT64" name="z">
<strategy mode="INIT"/>$datasources.$(z)
<attribute type="NX_CHAR" name="transformation_type">translation
<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">0 0 1
<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
<field offset_units="m" units="m" type="NX_FLOAT64" name="distance" transformation_type="translation">$(distance)
<strategy mode="INIT"/>
<attribute type="NX_FLOAT64" name="vector">0 0 1
<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="offset">$(distanceoffset)
<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
</group>
</group>
</group>
</group>
</definition>
<?xml version='1.0'?>
<definition>
<datasource type="CLIENT" name="delta_position">
<record name="delta_position"/>
</datasource>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXinstrument" name="instrument">
<group type="NXdetector" name="$(detname)">
<group type="NXcollection" name="collection">
<field type="NX_CHAR" name="depends_on">transformations/t_det<strategy mode="INIT"/>
</field>
<group type="NXtransformations" name="transformations">
<field depends_on="o_det" units="deg" type="NX_FLOAT" name="t_det">
<strategy mode="INIT"/>$datasources.$(tdet)<attribute type="NX_CHAR" name="transformation_type">rotation<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 depends_on="$(odetdependson)" units="deg" type="NX_FLOAT" name="o_det">
<strategy mode="INIT"/>$datasources.$(odet)<attribute type="NX_CHAR" name="transformation_type">rotation<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>
<field depends_on="z_det" units="deg" type="NX_FLOAT" name="omega">
<strategy mode="INIT"/>$datasources.$(omega)<attribute type="NX_CHAR" name="transformation_type">rotation<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>
<field depends_on="x_det" units="mm" type="NX_FLOAT" name="z_det">
<strategy mode="INIT"/>$datasources.$(z)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
<field depends_on="det_o_m" units="mm" type="NX_FLOAT" name="x_det">
<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>
</group>
</group>
</group>
</group>
</group>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXinstrument" name="instrument">
<group type="NXdetector" name="$(name)">
<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_FLOAT" 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 depends_on="z" units="mm" type="NX_FLOAT" 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>
<field units="mm" type="NX_FLOAT" name="z">
<strategy mode="INIT"/>$datasources.$(z)<attribute type="NX_CHAR" name="transformation_type">translation<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
</group>
</group>
</group>
</group>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXinstrument" name="instrument">
<group type="NXmonochromator" name="$(mname)">
<field units="eV" type="NX_FLOAT" name="energy">
<strategy mode="STEP"/>$datasources.$(energy)</field>
<group type="NXcrystal" name="crystal1">
<field type="NX_CHAR" name="usage">Laue<strategy mode="INIT"/>
</field>
<field type="NX_CHAR" name="type">Diamond<strategy mode="INIT"/>
</field>
<field type="NX_INT" name="reflection">1 1 1<dimensions rank="1"/>
</field>
<field type="NX_CHAR" name="depends_on">transformations/roll<strategy mode="INIT"/>
</field>
<group type="NXtransformations" name="transformations">
<field depends_on="pitch" units="deg" type="NX_FLOAT64" name="roll">$datasources.$(roll1)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
<field depends_on="kappa" units="deg" type="NX_FLOAT64" name="pitch">$datasources.$(pitch1)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<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>
<field depends_on="vertical" units="deg" type="NX_FLOAT64" name="kappa">$datasources.$(yaw1)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<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>
<field depends_on="horizontal" units="mm" type="NX_FLOAT64" name="vertical">$datasources.$(y1)<strategy mode="INIT"/>
<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>
<field depends_on="distance" units="mm" type="NX_FLOAT64" name="horizontal">$datasources.$(x1)<strategy mode="INIT"/>
<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 offset_units="m" units="m" type="NX_FLOAT64" name="distance" transformation_type="translation">$(distance1)<strategy mode="INIT"/>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="offset">$(distanceoffset)<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
</group>
</group>
<group type="NXcrystal" name="crystal2">
<field type="NX_CHAR" name="usage">Laue<strategy mode="INIT"/>
</field>
<field type="NX_CHAR" name="type">Si<strategy mode="INIT"/>
</field>
<field type="NX_INT" name="reflection">1 1 1<dimensions rank="1"/>
</field>
<field type="NX_CHAR" name="depends_on">transformations/roll<strategy mode="INIT"/>
</field>
<group type="NXtransformations" name="transformations">
<field depends_on="pitch" units="deg" type="NX_FLOAT64" name="roll">$datasources.$(roll2)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
<field depends_on="vertical" units="deg" type="NX_FLOAT64" name="pitch">$datasources.$(pitch2)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<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>
<field depends_on="horizontal" units="mm" type="NX_FLOAT64" name="vertical">$datasources.$(y2)<strategy mode="INIT"/>
<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>
<field depends_on="distance" units="mm" type="NX_FLOAT64" name="horizontal">$datasources.$(x2)<strategy mode="INIT"/>
<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 offset_units="m" units="m" type="NX_FLOAT64" name="distance" transformation_type="translation">$(distance2)<strategy mode="INIT"/>
<attribute type="NX_FLOAT64" name="vector">0 0 1<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="offset">$(distanceoffset)<dimensions rank="1">
<dim value="3" index="1"/>
</dimensions>
<strategy mode="INIT"/>
</attribute>
</field>
</group>
</group>
</group>
</group>
</group>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXinstrument" name="instrument">
<group type="NXmirrors" name="$(name)">
<group type="NXcollection" name="collection">
<field type="NX_FLOAT" name="st">
<strategy mode="INIT"/>$datasources.$(st)</field>
<field type="NX_FLOAT" name="pi_up">
<strategy mode="INIT"/>$datasources.$(piup)</field>
<field type="NX_FLOAT" name="pi_dw">
<strategy mode="INIT"/>$datasources.$(pidown)</field>
<field type="NX_FLOAT" name="be_up">
<strategy mode="INIT"/>$datasources.$(beup)</field>
<field type="NX_FLOAT" name="be_dw">
<strategy mode="INIT"/>$datasources.$(bedown)</field>
<field type="NX_FLOAT" name="curvature">
<strategy mode="INIT"/>$datasources.$(curvature)</field>
<field type="NX_FLOAT" name="ellipticity">
<strategy mode="INIT"/>$datasources.$(ellipticity)</field>
<field type="NX_CHAR" name="depends_on">transformations/pitch<strategy mode="INIT"/>
</field>
<group type="NXtransformations" name="transformations">
<field depends_on="y" units="deg" type="NX_FLOAT64" name="pitch">$datasources.$(pitch)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<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">$datasources.$(y)<strategy mode="INIT"/>
<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>
</group>
</definition>
<?xml version='1.0'?>
<definition>
<group type="NXentry" name="entry$var.serialno">
<group type="NXinstrument" name="instrument">
<group type="NXdetector" name="$(name)">
<field type="NX_CHAR" name="depends_on">transformations/tti<strategy mode="INIT"/>
</field>
<group type="NXtransformations" name="transformations">
<field units="deg" type="NX_FLOAT" name="tti">$datasources.$(tti)<strategy mode="INIT"/>
<attribute type="NX_CHAR" name="transformation_type">rotation<strategy mode="INIT"/>
</attribute>
<attribute type="NX_FLOAT64" name="vector">1 0 0<dimensions rank="1">
<dim value="3" index="1"/>