<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="nxdlformat.xsl" ?>
<!--
# NeXus - Neutron and X-ray Common Data Format
# 
# Copyright (C) 2008-2020 NeXus International Advisory Committee (NIAC)
# 
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# For further information, see http://www.nexusformat.org
-->
<definition xmlns="http://definition.nexusformat.org/nxdl/3.1" category="base"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://definition.nexusformat.org/nxdl/3.1 ../nxdl.xsd"
	name="NXfermi_chopper" 
	type="group" extends="NXobject">
	<doc>A Fermi chopper, possibly with curved slits.</doc>
	<field name="type">
		<doc>Fermi chopper type</doc>
	</field>
	<field name="rotation_speed" type="NX_FLOAT" units="NX_FREQUENCY">
		<doc>chopper rotation speed</doc>
	</field>
	<field name="radius" type="NX_FLOAT" units="NX_LENGTH">
		<doc>radius of chopper</doc>
	</field>
	<field name="slit" type="NX_FLOAT" units="NX_LENGTH">
		<doc>width of an individual slit</doc>
	</field>
	<field name="r_slit" type="NX_FLOAT" units="NX_LENGTH">
		<doc>radius of curvature of slits</doc>
	</field>
	<field name="number" type="NX_INT" units="NX_UNITLESS">
		<doc>number of slits</doc>
	</field>
	<field name="height" type="NX_FLOAT" units="NX_LENGTH">
		<doc>input beam height</doc>
	</field>
	<field name="width" type="NX_FLOAT" units="NX_LENGTH">
		<doc>input beam width</doc>
	</field>
  <field name="distance" type="NX_FLOAT" units="NX_LENGTH">
    <doc>distance</doc>
  </field>
	<field name="wavelength" type="NX_FLOAT" units="NX_WAVELENGTH">
		<!-- should have units of angstroms or nm or pm -->
		<doc>Wavelength transmitted by chopper</doc>
	</field>
  <field name="energy" type="NX_FLOAT" units="NX_ENERGY">
        <doc>energy selected</doc>
  </field> 
	<group type="NXgeometry">
		<doc>geometry of the fermi chopper</doc>
	</group>
	<field name="absorbing_material">
		<doc>absorbing material</doc>
	</field>
	<field name="transmitting_material">
		<doc>transmitting material</doc>
	</field>
</definition>

