<NXroot creator="FRM2">
	<entry type="NXentry" NXS:source="text_collist/mira.txt" NXS:mime_type="text/collist"> 
		<start_time NXS:location="dict('created at'){ISO8601}"/>
		
		<local_contact type="NXuser">
			<name type="NX_CHAR" NXS:location="dict('responsable'){NX_CHAR}"/>
			<role type="NX_CHAR" NXS:location="dict('user'){NX_CHAR}"/>
			<address type="NX_CHAR"/>
			<telephone_number NXS:location="dict('phone'){NX_CHAR}"/>
			<fax_number NXS:location="dict('fax'){NX_CHAR}"/>
			<email type="NX_CHAR">robert.georgii@frm2.tum.de</email>
		</local_contact>
		
		<sample type="NXsample"> 
			<rotation_angle NXS:location="column('om'){NX_FLOAT64}"/> 
		</sample> 
		
		<instrument type="NXinstrument"> 
			<name NXS:location="dict('instrument'){NX_CHAR}"/>
			<monochromator type="NXcrystal"> 
				<wavelength type="NX_FLOAT64" units="Angstroms">2.0</wavelength> 
			</monochromator> 
			
			<detector type="NXdetector"> 
				<distance units="mm" type="NX_FLOAT64">15</distance> 
				<azimuthal_angle units="degrees" type="NX_FLOAT64">0</azimuthal_angle> 
				<polar_angle units="degrees" NXS:location="column('phi'){NX_FLOAT64}"/> 
				<counts signal="1" axes="polar_angle" type="NX_INT32" NXS:location="column('mon2'){NX_INT32}"/>
			</detector> 

			<process_data type="NXprocess">
				<scan_data type="NXnote">
					<type type="NX_CHAR">text/plain</type>
					<description type="NX_CHAR">provides some additional info for scan</description>
					<data type="NX_CHAR" NXS:location="dict('filename'){NX_CHAR}"/>
				</scan_data>
			</process_data>
		</instrument>
		
		<monitor type="NXmonitor"> 
			<mode type="NX_CHAR">monitor</mode> 
			<data units="counts" type="NX_INT32" NXS:location="column('mon1'){NX_INT32}"/> 
		</monitor>	
		
		<timer type="NXmonitor"> 
			<mode type="NX_CHAR">timer</mode> 
			<timer_data units="seconds" NXS:location="column('time'){NX_INT32}"/> 
		</timer> 
		
		<data type="NXdata"> 
			<NAPIlink target="entry/sample/rotation_angle"/>  
			<NAPIlink target="entry/instrument/detector/polar_angle"/>  
			<NAPIlink target="entry/instrument/detector/counts"/>
			<NAPIlink target="entry/timer/timer_data"/>  
			<NAPIlink target="entry/monitor/data"/> 
		</data> 
	</entry>
</NXroot>

