<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://libisis.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Toby+Perring</id>
	<title>LIBISIS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://libisis.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Toby+Perring"/>
	<link rel="alternate" type="text/html" href="http://libisis.org/Special:Contributions/Toby_Perring"/>
	<updated>2026-05-01T00:29:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>http://libisis.org/index.php?title=Main_Page&amp;diff=2973</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Main_Page&amp;diff=2973"/>
		<updated>2010-08-02T15:25:54Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Libisis: software for manipulating neutron scattering data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Libisis: software for manipulating and visualising neutron scattering data==&lt;br /&gt;
&lt;br /&gt;
Libisis is a suite of tools for analyzing neutron scattering data developed at the [http://www.isis.rl.ac.uk ISIS pulsed neutron source]. &lt;br /&gt;
&lt;br /&gt;
Libisis takes raw signals obtained from number of the neutron scattering instruments and transforms these data into neutron scattering data in the form of &amp;lt;math&amp;gt;S_N (detector_n ,\tau _f )&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_N&amp;lt;/math&amp;gt; is the number of neutron counted by the detector, &amp;lt;math&amp;gt;detector_n&amp;lt;/math&amp;gt; -- number of the detector and &amp;lt;math&amp;gt;\tau _f&amp;lt;/math&amp;gt; -- the time of the neutron&amp;#039;s flight to this detector. &lt;br /&gt;
&lt;br /&gt;
These data then have to be processed by the Homer application, which transforms these data into the data in the form &amp;lt;math&amp;gt;S(detector_n,\epsilon)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; is now in a physical units (e.g.  &amp;#039;&amp;#039;&amp;#039;mb&amp;#039;&amp;#039;&amp;#039;/Sr/Unit_cell or relative units, related to a white beam vanadium run) and the &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; is the energy, lost by neutrons in collisions. &lt;br /&gt;
&lt;br /&gt;
In addition to raw neutron scattering data, LIBISIS and HOMER use number of instrument and experiment description and calibration data files to do their job properly. Technical description of these files and what these programs are doing can be found [[Libisis_and_Homer_algorithms|here.]]&lt;br /&gt;
&lt;br /&gt;
LIBISIS has a Fortran core with a Matlab interface. Some applications, such as Homer, can be run as standalone applications. Libisis was primarily developed by [[User:Dickon Champion|Dickon Champion]], [[User:Freddie Akeroyd|Freddie Akeroyd]], [[User:Pranav Amin|Pranav Amin]], [[User:Toby Perring|Toby Perring]] and [[User:Dean Whittaker|Dean Whittaker]].&lt;br /&gt;
&lt;br /&gt;
==For Users==&lt;br /&gt;
* [[Download and setup LIBISIS]] - here are the download and setup instructions &lt;br /&gt;
* [[Using Homer and Getting Started| Using Homer]] - Information for the Homer application &lt;br /&gt;
* [[User Manual]] - a helpful user guide for the matlab components of Libisis&lt;br /&gt;
* [[Tutorial]] - a quick start tutorial including Homer and libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Quick Start For Mgenie Users]] - a very brief look at the differences between mgenie and Libisis&lt;br /&gt;
*[[What&amp;#039;s New]]&lt;br /&gt;
*[[FAQ]]&lt;br /&gt;
&lt;br /&gt;
==For Developers==&lt;br /&gt;
* Getting Started: [[Installation Instructions]] for LIBISIS developers&lt;br /&gt;
* [[Developer Notes]]&lt;br /&gt;
* [[Subroutine Documentation]] - The Fortran components of Libisis &lt;br /&gt;
* Dean&amp;#039;s [[Wiki Editing Tips]] &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MSLICE&amp;#039;&amp;#039;&amp;#039; [[mex options]] to compile distributed mslice fortran files on linux&lt;br /&gt;
* [http://download.libisis.org/ Code documentation produced by Doxygen]&lt;br /&gt;
* [[Coding Conventions]]&lt;br /&gt;
* Browse the latest source code online via the [http://svn.libisis.org/viewvc/LIBISISCode/trunk ViewVC] or [http://trac.libisis.org/code/browser/trunk TRAC] browsers&lt;br /&gt;
* Information about accessing the latest source code directly from the [[SubversionServer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reporting and Tracking Bugs==&lt;br /&gt;
* [http://trac.libisis.org/code/timeline Timeline] (recent changes to the task list and source code)&lt;br /&gt;
* [http://trac.libisis.org/code/roadmap Roadmap] (progress and milestones)]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List or Submit bugs via the [[IssueReporting]] system&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://lists.libisis.org/ Mailing lists]&lt;br /&gt;
* Archive of [http://lists.libisis.org/pipermail/libisis-code-tickets/ ticket change/update] and [http://lists.libisis.org/pipermail/libisis-code-svn/ subversion commit] emails&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OLD&amp;#039;&amp;#039;&amp;#039; PHP wiki [http://web2.isis.rl.ac.uk/libisiswiki Library usage documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
Wiki content primarily created by [[User:Dean Whittaker|Dean Whittaker]] and [[User:Dickon Champion|Dickon Champion]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Main_Page&amp;diff=2972</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Main_Page&amp;diff=2972"/>
		<updated>2010-08-02T15:25:21Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Hello */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Libisis: software for manipulating neutron scattering data==&lt;br /&gt;
&lt;br /&gt;
Libisis is a suite of tools for analyzing neutron scattering data developed at the [http://www.isis.rl.ac.uk ISIS pulsed neutron source]. &lt;br /&gt;
&lt;br /&gt;
Libisis takes raw signals obtained from number of the neutron scattering instruments and transforms these data into neutron scattering data in the form of &amp;lt;math&amp;gt;S_N (detector_n ,\tau _f )&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_N&amp;lt;/math&amp;gt; is the number of neutron counted by the detector, &amp;lt;math&amp;gt;detector_n&amp;lt;/math&amp;gt; -- number of the detector and &amp;lt;math&amp;gt;\tau _f&amp;lt;/math&amp;gt; -- the time of the neutron&amp;#039;s flight to this detector. &lt;br /&gt;
&lt;br /&gt;
These data then have to be processed by the Homer application, which transforms these data into the data in the form &amp;lt;math&amp;gt;S(detector_n,\epsilon)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; is now in a physical units (e.g.  &amp;#039;&amp;#039;&amp;#039;mb&amp;#039;&amp;#039;&amp;#039;/Sr/Unit_cell or relative units, related to a white beam vanadium run) and the &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; is the energy, lost by neutrons in collisions. &lt;br /&gt;
&lt;br /&gt;
In addition to raw neutron scattering data, LIBISIS and HOMER use number of instrument and experiment description and calibration data files to do their job properly. Technical description of these files and what these programs are doing can be found [[Libisis_and_Homer_algorithms|here.]]&lt;br /&gt;
&lt;br /&gt;
LIBISIS has a Fortran core with a Matlab interface. Some applications, such as Homer, can be run as standalone applications. Libisis was primarily developed by [[User:Dickon Champion|Dickon Champion]], [[User:Freddie Akeroyd|Freddie Akeroyd]], [[User:Pranav Amin|Pranav Amin]], [[User:Toby Perring|Toby Perring]] and [[User:Dean Whittaker|Dean Whittaker]].&lt;br /&gt;
&lt;br /&gt;
==For Users==&lt;br /&gt;
* [[Download and setup LIBISIS]] - here are the download and setup instructions &lt;br /&gt;
* [[Using Homer and Getting Started| Using Homer]] - Information for the Homer application &lt;br /&gt;
* [[User Manual]] - a helpful user guide for the matlab components of Libisis&lt;br /&gt;
* [[Tutorial]] - a quick start tutorial including Homer and libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Quick Start For Mgenie Users]] - a very brief look at the differences between mgenie and Libisis&lt;br /&gt;
*[[What&amp;#039;s New]]&lt;br /&gt;
*[[FAQ]]&lt;br /&gt;
&lt;br /&gt;
==For Developers==&lt;br /&gt;
* Getting Started: [[Installation Instructions]] for LIBISIS developers&lt;br /&gt;
* [[Developer Notes]]&lt;br /&gt;
* [[Subroutine Documentation]] - The Fortran components of Libisis &lt;br /&gt;
* Dean&amp;#039;s [[Wiki Editing Tips]] &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MSLICE&amp;#039;&amp;#039;&amp;#039; [[mex options]] to compile distributed mslice fortran files on linux&lt;br /&gt;
* [http://download.libisis.org/ Code documentation produced by Doxygen]&lt;br /&gt;
* [[Coding Conventions]]&lt;br /&gt;
* Browse the latest source code online via the [http://svn.libisis.org/viewvc/LIBISISCode/trunk ViewVC] or [http://trac.libisis.org/code/browser/trunk TRAC] browsers&lt;br /&gt;
* Information about accessing the latest source code directly from the [[SubversionServer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reporting and Tracking Bugs==&lt;br /&gt;
* [http://trac.libisis.org/code/timeline Timeline] (recent changes to the task list and source code)&lt;br /&gt;
* [http://trac.libisis.org/code/roadmap Roadmap] (progress and milestones)]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List or Submit bugs via the [[IssueReporting]] system&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://lists.libisis.org/ Mailing lists]&lt;br /&gt;
* Archive of [http://lists.libisis.org/pipermail/libisis-code-tickets/ ticket change/update] and [http://lists.libisis.org/pipermail/libisis-code-svn/ subversion commit] emails&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OLD&amp;#039;&amp;#039;&amp;#039; PHP wiki [http://web2.isis.rl.ac.uk/libisiswiki Library usage documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
Wiki content primarily created by [[User:Dean Whittaker|Dean Whittaker]] and [[User:Dickon Champion|Dickon Champion]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Main_Page&amp;diff=2971</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Main_Page&amp;diff=2971"/>
		<updated>2010-08-02T15:24:41Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* What Is Libisis? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Hello==&lt;br /&gt;
&lt;br /&gt;
Libisis is a suite of tools for analyzing neutron scattering data developed at the [http://www.isis.rl.ac.uk ISIS pulsed neutron source]. &lt;br /&gt;
&lt;br /&gt;
Libisis takes raw signals obtained from number of the neutron scattering instruments and transforms these data into neutron scattering data in the form of &amp;lt;math&amp;gt;S_N (detector_n ,\tau _f )&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_N&amp;lt;/math&amp;gt; is the number of neutron counted by the detector, &amp;lt;math&amp;gt;detector_n&amp;lt;/math&amp;gt; -- number of the detector and &amp;lt;math&amp;gt;\tau _f&amp;lt;/math&amp;gt; -- the time of the neutron&amp;#039;s flight to this detector. &lt;br /&gt;
&lt;br /&gt;
These data then have to be processed by the Homer application, which transforms these data into the data in the form &amp;lt;math&amp;gt;S(detector_n,\epsilon)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; is now in a physical units (e.g.  &amp;#039;&amp;#039;&amp;#039;mb&amp;#039;&amp;#039;&amp;#039;/Sr/Unit_cell or relative units, related to a white beam vanadium run) and the &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; is the energy, lost by neutrons in collisions. &lt;br /&gt;
&lt;br /&gt;
In addition to raw neutron scattering data, LIBISIS and HOMER use number of instrument and experiment description and calibration data files to do their job properly. Technical description of these files and what these programs are doing can be found [[Libisis_and_Homer_algorithms|here.]]&lt;br /&gt;
&lt;br /&gt;
LIBISIS has a Fortran core with a Matlab interface. Some applications, such as Homer, can be run as standalone applications. Libisis was primarily developed by [[User:Dickon Champion|Dickon Champion]], [[User:Freddie Akeroyd|Freddie Akeroyd]], [[User:Pranav Amin|Pranav Amin]], [[User:Toby Perring|Toby Perring]] and [[User:Dean Whittaker|Dean Whittaker]].&lt;br /&gt;
&lt;br /&gt;
==For Users==&lt;br /&gt;
* [[Download and setup LIBISIS]] - here are the download and setup instructions &lt;br /&gt;
* [[Using Homer and Getting Started| Using Homer]] - Information for the Homer application &lt;br /&gt;
* [[User Manual]] - a helpful user guide for the matlab components of Libisis&lt;br /&gt;
* [[Tutorial]] - a quick start tutorial including Homer and libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Quick Start For Mgenie Users]] - a very brief look at the differences between mgenie and Libisis&lt;br /&gt;
*[[What&amp;#039;s New]]&lt;br /&gt;
*[[FAQ]]&lt;br /&gt;
&lt;br /&gt;
==For Developers==&lt;br /&gt;
* Getting Started: [[Installation Instructions]] for LIBISIS developers&lt;br /&gt;
* [[Developer Notes]]&lt;br /&gt;
* [[Subroutine Documentation]] - The Fortran components of Libisis &lt;br /&gt;
* Dean&amp;#039;s [[Wiki Editing Tips]] &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MSLICE&amp;#039;&amp;#039;&amp;#039; [[mex options]] to compile distributed mslice fortran files on linux&lt;br /&gt;
* [http://download.libisis.org/ Code documentation produced by Doxygen]&lt;br /&gt;
* [[Coding Conventions]]&lt;br /&gt;
* Browse the latest source code online via the [http://svn.libisis.org/viewvc/LIBISISCode/trunk ViewVC] or [http://trac.libisis.org/code/browser/trunk TRAC] browsers&lt;br /&gt;
* Information about accessing the latest source code directly from the [[SubversionServer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reporting and Tracking Bugs==&lt;br /&gt;
* [http://trac.libisis.org/code/timeline Timeline] (recent changes to the task list and source code)&lt;br /&gt;
* [http://trac.libisis.org/code/roadmap Roadmap] (progress and milestones)]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List or Submit bugs via the [[IssueReporting]] system&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://lists.libisis.org/ Mailing lists]&lt;br /&gt;
* Archive of [http://lists.libisis.org/pipermail/libisis-code-tickets/ ticket change/update] and [http://lists.libisis.org/pipermail/libisis-code-svn/ subversion commit] emails&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OLD&amp;#039;&amp;#039;&amp;#039; PHP wiki [http://web2.isis.rl.ac.uk/libisiswiki Library usage documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
Wiki content primarily created by [[User:Dean Whittaker|Dean Whittaker]] and [[User:Dickon Champion|Dickon Champion]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Main_Page&amp;diff=2970</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Main_Page&amp;diff=2970"/>
		<updated>2010-08-02T15:24:07Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* For Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==What Is Libisis?==&lt;br /&gt;
&lt;br /&gt;
Libisis is a suite of tools for analyzing neutron scattering data developed at the [http://www.isis.rl.ac.uk ISIS pulsed neutron source]. &lt;br /&gt;
&lt;br /&gt;
Libisis takes raw signals obtained from number of the neutron scattering instruments and transforms these data into neutron scattering data in the form of &amp;lt;math&amp;gt;S_N (detector_n ,\tau _f )&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;S_N&amp;lt;/math&amp;gt; is the number of neutron counted by the detector, &amp;lt;math&amp;gt;detector_n&amp;lt;/math&amp;gt; -- number of the detector and &amp;lt;math&amp;gt;\tau _f&amp;lt;/math&amp;gt; -- the time of the neutron&amp;#039;s flight to this detector. &lt;br /&gt;
&lt;br /&gt;
These data then have to be processed by the Homer application, which transforms these data into the data in the form &amp;lt;math&amp;gt;S(detector_n,\epsilon)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; is now in a physical units (e.g.  &amp;#039;&amp;#039;&amp;#039;mb&amp;#039;&amp;#039;&amp;#039;/Sr/Unit_cell or relative units, related to a white beam vanadium run) and the &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; is the energy, lost by neutrons in collisions. &lt;br /&gt;
&lt;br /&gt;
In addition to raw neutron scattering data, LIBISIS and HOMER use number of instrument and experiment description and calibration data files to do their job properly. Technical description of these files and what these programs are doing can be found [[Libisis_and_Homer_algorithms|here.]]&lt;br /&gt;
&lt;br /&gt;
LIBISIS has a Fortran core with a Matlab interface. Some applications, such as Homer, can be run as standalone applications. Libisis was primarily developed by [[User:Dickon Champion|Dickon Champion]], [[User:Freddie Akeroyd|Freddie Akeroyd]], [[User:Pranav Amin|Pranav Amin]], [[User:Toby Perring|Toby Perring]] and [[User:Dean Whittaker|Dean Whittaker]].&lt;br /&gt;
&lt;br /&gt;
==For Users==&lt;br /&gt;
* [[Download and setup LIBISIS]] - here are the download and setup instructions &lt;br /&gt;
* [[Using Homer and Getting Started| Using Homer]] - Information for the Homer application &lt;br /&gt;
* [[User Manual]] - a helpful user guide for the matlab components of Libisis&lt;br /&gt;
* [[Tutorial]] - a quick start tutorial including Homer and libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Quick Start For Mgenie Users]] - a very brief look at the differences between mgenie and Libisis&lt;br /&gt;
*[[What&amp;#039;s New]]&lt;br /&gt;
*[[FAQ]]&lt;br /&gt;
&lt;br /&gt;
==For Developers==&lt;br /&gt;
* Getting Started: [[Installation Instructions]] for LIBISIS developers&lt;br /&gt;
* [[Developer Notes]]&lt;br /&gt;
* [[Subroutine Documentation]] - The Fortran components of Libisis &lt;br /&gt;
* Dean&amp;#039;s [[Wiki Editing Tips]] &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MSLICE&amp;#039;&amp;#039;&amp;#039; [[mex options]] to compile distributed mslice fortran files on linux&lt;br /&gt;
* [http://download.libisis.org/ Code documentation produced by Doxygen]&lt;br /&gt;
* [[Coding Conventions]]&lt;br /&gt;
* Browse the latest source code online via the [http://svn.libisis.org/viewvc/LIBISISCode/trunk ViewVC] or [http://trac.libisis.org/code/browser/trunk TRAC] browsers&lt;br /&gt;
* Information about accessing the latest source code directly from the [[SubversionServer]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reporting and Tracking Bugs==&lt;br /&gt;
* [http://trac.libisis.org/code/timeline Timeline] (recent changes to the task list and source code)&lt;br /&gt;
* [http://trac.libisis.org/code/roadmap Roadmap] (progress and milestones)]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List or Submit bugs via the [[IssueReporting]] system&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://lists.libisis.org/ Mailing lists]&lt;br /&gt;
* Archive of [http://lists.libisis.org/pipermail/libisis-code-tickets/ ticket change/update] and [http://lists.libisis.org/pipermail/libisis-code-svn/ subversion commit] emails&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OLD&amp;#039;&amp;#039;&amp;#039; PHP wiki [http://web2.isis.rl.ac.uk/libisiswiki Library usage documentation]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&amp;#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
Wiki content primarily created by [[User:Dean Whittaker|Dean Whittaker]] and [[User:Dickon Champion|Dickon Champion]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=IXTgeometry&amp;diff=2915</id>
		<title>IXTgeometry</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXTgeometry&amp;diff=2915"/>
		<updated>2010-02-05T09:08:05Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Describes geometrical items. The geometry object is built up of segments of shapes. Each segment has a position and orientation. The shape field may contain many different shapes in an array. Indexes  describe which shape in the shape field the segment is. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Structure==&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Field&lt;br /&gt;
!{{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;base&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| [[IXTbase]]&lt;br /&gt;
| Used internally&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;translation&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
| [[IXTtranslation]]&lt;br /&gt;
| positions of the geometrical items&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;orientation&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| [[IXTorientation]]&lt;br /&gt;
| orientations of each of the geometrical items&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;elmt_to_shape&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| int&lt;br /&gt;
| element of shape for a given geometrical item&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;elmt_to_index&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| int&lt;br /&gt;
| index within that element of shape for a given geometrical item&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;shape&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| [[IXTshape]](allocatable)&lt;br /&gt;
| array containing shapes that the geometrical item may be built up of.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Homer_Utilities&amp;diff=2914</id>
		<title>Homer Utilities</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Homer_Utilities&amp;diff=2914"/>
		<updated>2010-02-02T19:43:53Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== gget == &lt;br /&gt;
generic raw file access&lt;br /&gt;
&lt;br /&gt;
it is possible at the matlab comand line to extract any variable from the rawfile by making a call to a populated [[IXTraw_file]] object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; rawfile=IXTraw_file(&amp;#039;/path/to/my/file.raw&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; value=gget(rawfile,&amp;#039;FIELD&amp;#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== dae access ==&lt;br /&gt;
&lt;br /&gt;
It is possible to access the data in the DAE by populating an [[IXTraw_file]] with a special string argument. We prefix &amp;lt;tt&amp;gt;DAE:&amp;lt;/tt&amp;gt; to the name of the instrument control computer. Once this has been successfully populated all data access and get functions can be called.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; rawf=IXTraw_file(&amp;#039;DAE:ndxmerlin&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; w1=getspectrum(rawf,1)&lt;br /&gt;
&amp;gt;&amp;gt; title=gget(rawf,&amp;#039;TITL&amp;#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This process is not possible with all instruments and requires the newest ICP to be installed. Full homer processes are possible but take a very long time, it is best used to access single spectra.&lt;br /&gt;
&lt;br /&gt;
== head ==&lt;br /&gt;
&lt;br /&gt;
head() returns the header information for the raw file defined by the run_number, or the path to a defined raw file. Multiple run numbers can be combined together with limited practical use.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;  head(run_number)&lt;br /&gt;
&amp;gt;&amp;gt;  head(path_to_raw_file)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;run_number&amp;lt;/tt&amp;gt; can be defined in the following ways&lt;br /&gt;
#  a numerical array of numbers &amp;lt;tt&amp;gt; [12345  45673 34436]&amp;lt;/tt&amp;gt; or a single numeric&lt;br /&gt;
# an array of strings &amp;lt;tt&amp;gt;char(&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;)&amp;lt;/tt&amp;gt; or a single  string&lt;br /&gt;
# a cell array of strings &amp;lt;tt&amp;gt;{&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;}&amp;lt;/tt&amp;gt;&lt;br /&gt;
# a cell array of numerics &amp;lt;tt&amp;gt;{12345  45673 34436}&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;path_to_raw_file&amp;lt;/tt&amp;gt; is defined as a string or a cell array of strings of the form &amp;lt;tt&amp;gt;&amp;#039;C:\data\myfile.raw&amp;#039;&amp;lt;/tt&amp;gt;, relative paths are also possible as well as using the [[Global IXTpath objects]] &amp;lt;tt&amp;gt;&amp;#039;inst_data:::myfile.raw&amp;#039;&amp;lt;/tt&amp;gt; provided they have been set properly in the [[Instrument setup]]&lt;br /&gt;
&lt;br /&gt;
mhead() returns the header information for each raw file defined by an &amp;#039;&amp;#039;&amp;#039;array&amp;#039;&amp;#039;&amp;#039; of run numbers, or an &amp;#039;&amp;#039;&amp;#039;array&amp;#039;&amp;#039;&amp;#039; of paths to a raw file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;  mhead(run_numbers)&lt;br /&gt;
&amp;gt;&amp;gt;  mhead(paths_to_raw_files)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;run_numbers&amp;lt;/tt&amp;gt; can be defined in the following ways&lt;br /&gt;
#  a numerical array of numbers &amp;lt;tt&amp;gt; [12345  45673 34436]&amp;lt;/tt&amp;gt;&lt;br /&gt;
# an array of strings &amp;lt;tt&amp;gt;char(&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;)&amp;lt;/tt&amp;gt; &lt;br /&gt;
# a cell array of strings &amp;lt;tt&amp;gt;{&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;}&amp;lt;/tt&amp;gt;&lt;br /&gt;
# a cell array of numerics &amp;lt;tt&amp;gt;{12345  45673 34436}&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;paths_to_raw_files&amp;lt;/tt&amp;gt; is defined as a cell or string array of the form &amp;lt;tt&amp;gt;&amp;#039;C:\data\myfile.raw&amp;#039;&amp;lt;/tt&amp;gt;,  relative paths are also possible as well as using the [[Global IXTpath objects]] &amp;lt;tt&amp;gt;&amp;#039;inst_data:::myfile.raw&amp;#039;&amp;lt;/tt&amp;gt; provided they have been set properly in the [[Instrument setup]]&lt;br /&gt;
&lt;br /&gt;
== get_ei ==&lt;br /&gt;
get_ei() returns the energy of given a monochromatic run number, a guide energy can optionally be provided to focus the search for a monitor peak. It also optionally returns a structure containing the peak position, area and normalised area of the two monitors used to determine the energy.  Multiple run numbers may be combined.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;  [ei,props]=get_ei(run_number,ei_guess)&lt;br /&gt;
&amp;gt;&amp;gt;  [ei,props]=get_ei(path_to_raw_file,ei_guess)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;run_number&amp;lt;/tt&amp;gt; can be defined in the following ways&lt;br /&gt;
#  a numerical array of numbers &amp;lt;tt&amp;gt; [12345  45673 34436]&amp;lt;/tt&amp;gt; or a single numeric&lt;br /&gt;
# an array of strings &amp;lt;tt&amp;gt;char(&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;)&amp;lt;/tt&amp;gt; or a single  string&lt;br /&gt;
# a cell array of strings &amp;lt;tt&amp;gt;{&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;}&amp;lt;/tt&amp;gt;&lt;br /&gt;
# a cell array of numerics &amp;lt;tt&amp;gt;{12345  45673 34436}&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;path_to_raw_file&amp;lt;/tt&amp;gt; is defined as a string or a cell array of strings of the form &amp;lt;tt&amp;gt;&amp;#039;C:\data\myfile.raw&amp;#039;&amp;lt;/tt&amp;gt;, relative paths are also possible as well as using the [[Global IXTpath objects]] &amp;lt;tt&amp;gt;&amp;#039;inst_data:::myfile.raw&amp;#039;&amp;lt;/tt&amp;gt; provided they have been set properly in the [[Instrument setup]]&lt;br /&gt;
* ei_guess is a single numeric value containing the starting ei for get_ei to use in its calculation&lt;br /&gt;
&lt;br /&gt;
mget_ei()&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;  [ei,props]=mget_ei(run_numbers,ei_guesses)&lt;br /&gt;
&amp;gt;&amp;gt;  [ei,props]=mget_ei(path_to_raw_file,ei_guesses)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;run_numbers&amp;lt;/tt&amp;gt; can be defined in the following ways&lt;br /&gt;
#  a numerical array of numbers &amp;lt;tt&amp;gt; [12345  45673 34436]&amp;lt;/tt&amp;gt;&lt;br /&gt;
# an array of strings &amp;lt;tt&amp;gt;char(&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;)&amp;lt;/tt&amp;gt; &lt;br /&gt;
# a cell array of strings &amp;lt;tt&amp;gt;{&amp;#039;12345&amp;#039; &amp;#039;45673&amp;#039; &amp;#039;34436&amp;#039;}&amp;lt;/tt&amp;gt;&lt;br /&gt;
# a cell array of numerics &amp;lt;tt&amp;gt;{12345  45673 34436}&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;paths_to_raw_files&amp;lt;/tt&amp;gt; is defined as a cell or string array of the form &amp;lt;tt&amp;gt;&amp;#039;C:\data\myfile.raw&amp;#039;&amp;lt;/tt&amp;gt;,  relative paths are also possible as well as using the [[Global IXTpath objects]] &amp;lt;tt&amp;gt;&amp;#039;inst_data:::myfile.raw&amp;#039;&amp;lt;/tt&amp;gt; provided they have been set properly in the [[Instrument setup]]&lt;br /&gt;
*ei_guesses must be a numerical array equal to the number of run_numbers, containing the starting ei for mget_ei to use in the energy calculation for each run&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Add_monmap&amp;diff=2913</id>
		<title>Add monmap</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Add_monmap&amp;diff=2913"/>
		<updated>2010-01-29T20:57:25Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; dso = add_monmap(dso,monitor_map_file)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add a monitor map file location to a data_source object:&lt;br /&gt;
* dso is a data_source object (class: [[IXTdata_source]])&lt;br /&gt;
* monitor_map_file is a string defining the location of the monitor map file to be loaded, eg. &amp;lt;tt&amp;gt;&amp;#039;X:\mapfiles\inst.map&amp;#039;&amp;lt;/tt&amp;gt;, or &amp;lt;tt&amp;gt;&amp;#039;inst_maps:::myfile.map&amp;#039;&amp;lt;/tt&amp;gt; (where inst_maps is a global path)&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User:Freddie_Akeroyd&amp;diff=2912</id>
		<title>User:Freddie Akeroyd</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User:Freddie_Akeroyd&amp;diff=2912"/>
		<updated>2010-01-29T17:24:05Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Freddie Akeroyd==&lt;br /&gt;
&lt;br /&gt;
;Phone:+44 1235 445457&lt;br /&gt;
;Fax: +44 1235 445720&lt;br /&gt;
;Email: [mailto:freddie.akeroyd@stfc.ac.uk freddie.akeroyd@stfc.ac.uk]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=User:Toby_Perring&amp;diff=2911</id>
		<title>User:Toby Perring</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=User:Toby_Perring&amp;diff=2911"/>
		<updated>2010-01-29T17:22:45Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Toby Perring==&lt;br /&gt;
&lt;br /&gt;
;Phone:+44 1235 445428&lt;br /&gt;
;Fax: +44 1235 445720&lt;br /&gt;
;Email: [mailto:toby.perring@stfc.ac.uk toby.perring@stfc.ac.uk]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Getting_Started&amp;diff=2910</id>
		<title>Getting Started</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Getting_Started&amp;diff=2910"/>
		<updated>2010-01-29T17:18:52Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Download and setup LIBISIS]]&lt;br /&gt;
&lt;br /&gt;
Before you can run the Homer GUI, you must set up the GUI&lt;br /&gt;
&lt;br /&gt;
* [[Homer Gui setup]]&lt;br /&gt;
&lt;br /&gt;
Before you can run any of the [[Homer and mgenie style functions]] you must setup your instrument details&lt;br /&gt;
* [[Instrument setup]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Using_Homer_and_Getting_Started&amp;diff=2909</id>
		<title>Using Homer and Getting Started</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Using_Homer_and_Getting_Started&amp;diff=2909"/>
		<updated>2010-01-29T17:16:34Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Getting Started]] &amp;#039;&amp;#039;&amp;#039;VERY IMPORTANT&amp;#039;&amp;#039;&amp;#039; setup details defined&lt;br /&gt;
&lt;br /&gt;
* [[Homer GUI]] - mini tutorial with screenshots&lt;br /&gt;
&lt;br /&gt;
* [[Scripting Homer Functions]] are easy to use functions which call homer related functions underneath, as well as setting up the [[IXTdata_source]] object for use by homer&lt;br /&gt;
&lt;br /&gt;
* [[Overriding and setting default values for homer processes]]&lt;br /&gt;
&lt;br /&gt;
* [[Building a reference detector file]]&lt;br /&gt;
&lt;br /&gt;
* [[Homer and mgenie style functions]] Direct calls to homer and some mgenie style functions&lt;br /&gt;
&lt;br /&gt;
* [[Homer Utilities]] extra functions and utilities&lt;br /&gt;
&lt;br /&gt;
* [[IXTrunfile operations]] including algebra, elementary functions and other manipulations&lt;br /&gt;
&lt;br /&gt;
* [[diagnose]] diagnostic function for homer input&lt;br /&gt;
&lt;br /&gt;
* [[Example Scripts]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2871</id>
		<title>Input and Output Functions</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2871"/>
		<updated>2009-04-26T16:10:45Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Slices, Cuts and Masks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ASCII Files ==&lt;br /&gt;
&lt;br /&gt;
* [[IXTdataset_1d]] objects may be stored in ASCII files. &lt;br /&gt;
* These files may contain x and y data &amp;#039;&amp;#039;or&amp;#039;&amp;#039; x, s, error data in a 2 or 3 column format. &lt;br /&gt;
* Column 1 will be x values, column 2 will be s values and if available column 3 will be error values, if not available then error is assumed to be 0. &lt;br /&gt;
* Any information at the start or end of the file that is not in a 2 or 3 column format is &amp;#039;&amp;#039;&amp;#039;ignored&amp;#039;&amp;#039;&amp;#039; (for instance, &amp;#039;&amp;#039;header information&amp;#039;&amp;#039; may be stored here). &lt;br /&gt;
* Columns may be separated by commas, tabs, or spaces. &lt;br /&gt;
* ASCII files may contain point or histogram data, the x column in histogram data will have one more value than the s and e columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The following files would all be acceptable ASCII files  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000&lt;br /&gt;
491.2 31923&lt;br /&gt;
492.2 40000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a three point dataset with 0 error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000 300&lt;br /&gt;
491.2 31923 300 &lt;br /&gt;
492.2 40000 250&lt;br /&gt;
493.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;490.2,30000,300&lt;br /&gt;
491.2,31923,300&lt;br /&gt;
492.2,40000,250&lt;br /&gt;
493.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will represent the same 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* When files are &amp;#039;&amp;#039;&amp;#039;written&amp;#039;&amp;#039;&amp;#039; by libisis a header is written at the top of the file with the following information &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;name = dataset name&lt;br /&gt;
title = dataset title &lt;br /&gt;
signal_units = dataset s axis label &lt;br /&gt;
x_units = dataset x axis label&lt;br /&gt;
x_distribution = 1&lt;br /&gt;
&lt;br /&gt;
x1 s1 e1&lt;br /&gt;
x2 s2 e2 &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the header information is taken from the dataset being written.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read and write ASCII files in the format (point or histogram) specified by the file or dataset use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_ascii(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_ascii(dataset,&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if no filename is given then the user will be prompted to locate the file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Point Data === &lt;br /&gt;
One can force the written or read ASCII file to be in the form of point data by using the commands&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;read_points(&amp;#039;filename&amp;#039;)&lt;br /&gt;
write_points(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Histogram Data ===&lt;br /&gt;
One can force the written or read ASCII file to be in the form of histogram data by using the commands &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_hist(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_hist(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAW Files ==&lt;br /&gt;
&lt;br /&gt;
RAW files come directly from instruments and can also be read into Libisis. Data can then be extracted from the RAW file to form an [[IXTdataset_1d]] or an [[IXTdataset_2d]] object. One can do this in two different ways&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using RAW File Objects ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read in a rawfile (in the form of an [[IXTraw_file]] object) use the command &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read data into an [[IXTdataset_1d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset = getspectrum(rawfile1, spectrum_number)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;spectrum_number&amp;#039;&amp;#039;&amp;#039; is the spectrum which is required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* to read multiple runs into an [[IXTdataset_2d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset_2d = getspectra(rawfile1, [start:end])&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where start and end are the initial and final spectrum to include in the dataset_2d.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; EXAMPLE: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;c:/RAWfiles/HET15958&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; nsp = geti(rawfile1,&amp;#039;nsp1&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; d2a = getspectra(rawfile1, [1:nsp]);&lt;br /&gt;
&amp;gt;&amp;gt; d1a = getspectrum(rawfile1, 25); &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this will load all spectra from the HET15958 raw file contained in the folder c:/RAWfiles into an [[IXTdataset_2d]] object called d2a and load spectrum 25 into an [[IXTdataset_1d]] object name d1a.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Other information is contained in the rawfile, see [[IXTraw_file]] documentation for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Assigning a RAW File ===&lt;br /&gt;
&lt;br /&gt;
Rawfiles can also be assigned in the matlab environment. Once assigned, the rawfile will be used in any commands (such as getspectrum and getspectra) that are not given a rawfile object. All actions that can be performed on a rawfile object may be performed on the assigned runfile by simply omitting the rawfile object in the call to the function.&lt;br /&gt;
&lt;br /&gt;
* Assigning RAW files makes routine operations quicker by omitting the need to enter an object name each time an operation is to be performed&lt;br /&gt;
* Once a directory has been assigned, different file numbers (run numbers) can be chosen in a single command - making the process efficient.&lt;br /&gt;
* Only one RAW file may be assigned at any one time&lt;br /&gt;
&lt;br /&gt;
To assign a runfile use the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(path)&lt;br /&gt;
 &amp;gt;&amp;gt; set_inst(inst)&lt;br /&gt;
 &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; ass(number)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* path is the path where the RAW file is stored&lt;br /&gt;
* inst is the three letter abreviation of the instrument used to generate the raw file (e.g. MAP, MAR, MER, HET)&lt;br /&gt;
* number is the raw file number (run number) that you wish to assign. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(&amp;#039;c:/maps_files/raw_files&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; set_inst(&amp;#039;MAP&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; ass(6404)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* A file must exist called C:/maps_files/raw_files/MAP06404.RAW&lt;br /&gt;
&lt;br /&gt;
=== Plotting Spectra From Assigned RAW Files ===&lt;br /&gt;
&lt;br /&gt;
One can plot spectra from assigned raw files using the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; dl(spectrum)&lt;br /&gt;
 &amp;gt;&amp;gt; da(spectra)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* dl is any [[Plot Commands#One Dimensional Plots|one dimensional plot ]] command&lt;br /&gt;
* da is any [[Plot Commands#Two Dimensional Plots|two dimensional plot]] command&lt;br /&gt;
* spectrum is an array of numbers indicating which spectra of the currently assigned RAW file to plot&lt;br /&gt;
* spectra is an array of numbers indicating which spectra of the currently assigned RAW file to plot in two dimensions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Slices, Cuts and Masks==&lt;br /&gt;
&lt;br /&gt;
Some other programs can generate a slice, cut or mask object. Two such programs are mslice and Horace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A slice can be read into a Libisis [[IXTdataset_2d]] object using the command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_slice(filename)&lt;br /&gt;
w = read_slice&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .slc file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_2d]], with as much information taken from the slice as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, a Mask or a cut from Horace / mslice can be read into Libisis [[IXTdataset_1d]] objects using the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; w = read_cut(filename)&lt;br /&gt;
 &amp;gt;&amp;gt; w = read_mask(filename)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .cut or .msk file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_1d]], with as much information taken from the cut / mask as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
== Nexus Files==&lt;br /&gt;
&lt;br /&gt;
Objects can be written to file in hdf format using the nexus API, using the write_nxs function. These files can also be read in using the read_nxs command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; write_nxs(IXTobject,&amp;#039;filename&amp;#039;, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the object that is being written out (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file which is being written&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to write the object to (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; write_nxs(IXTrunfile,&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
writes the data from the IXTrunfile object into the top-level directory &amp;#039;runfile&amp;#039; of the maps1020.nxs file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_nxs(filename, IXTobject, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the type of object that the data is being read into (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to read the object from (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;w&amp;#039;&amp;#039;&amp;#039; is the actual object which will hold the data being read, it will be of the same object type as IXTobject (i.e. [[IXTrunfile]]) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;wout = read_nxs(&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;, IXTrunfile, &amp;#039;runfile&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
reads the data from the runfile top directory into the wout object that will be an [[IXTrunfile]] object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Formats ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data can be read from other formats or in other ways, such as using [[Homer_and_mgenie_style_functions| Homer]] to populate an [[IXTrunfile]] object.&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2870</id>
		<title>Input and Output Functions</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2870"/>
		<updated>2009-04-26T16:10:33Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Slices, Cuts and Masks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ASCII Files ==&lt;br /&gt;
&lt;br /&gt;
* [[IXTdataset_1d]] objects may be stored in ASCII files. &lt;br /&gt;
* These files may contain x and y data &amp;#039;&amp;#039;or&amp;#039;&amp;#039; x, s, error data in a 2 or 3 column format. &lt;br /&gt;
* Column 1 will be x values, column 2 will be s values and if available column 3 will be error values, if not available then error is assumed to be 0. &lt;br /&gt;
* Any information at the start or end of the file that is not in a 2 or 3 column format is &amp;#039;&amp;#039;&amp;#039;ignored&amp;#039;&amp;#039;&amp;#039; (for instance, &amp;#039;&amp;#039;header information&amp;#039;&amp;#039; may be stored here). &lt;br /&gt;
* Columns may be separated by commas, tabs, or spaces. &lt;br /&gt;
* ASCII files may contain point or histogram data, the x column in histogram data will have one more value than the s and e columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The following files would all be acceptable ASCII files  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000&lt;br /&gt;
491.2 31923&lt;br /&gt;
492.2 40000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a three point dataset with 0 error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000 300&lt;br /&gt;
491.2 31923 300 &lt;br /&gt;
492.2 40000 250&lt;br /&gt;
493.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;490.2,30000,300&lt;br /&gt;
491.2,31923,300&lt;br /&gt;
492.2,40000,250&lt;br /&gt;
493.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will represent the same 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* When files are &amp;#039;&amp;#039;&amp;#039;written&amp;#039;&amp;#039;&amp;#039; by libisis a header is written at the top of the file with the following information &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;name = dataset name&lt;br /&gt;
title = dataset title &lt;br /&gt;
signal_units = dataset s axis label &lt;br /&gt;
x_units = dataset x axis label&lt;br /&gt;
x_distribution = 1&lt;br /&gt;
&lt;br /&gt;
x1 s1 e1&lt;br /&gt;
x2 s2 e2 &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the header information is taken from the dataset being written.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read and write ASCII files in the format (point or histogram) specified by the file or dataset use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_ascii(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_ascii(dataset,&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if no filename is given then the user will be prompted to locate the file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Point Data === &lt;br /&gt;
One can force the written or read ASCII file to be in the form of point data by using the commands&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;read_points(&amp;#039;filename&amp;#039;)&lt;br /&gt;
write_points(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Histogram Data ===&lt;br /&gt;
One can force the written or read ASCII file to be in the form of histogram data by using the commands &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_hist(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_hist(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAW Files ==&lt;br /&gt;
&lt;br /&gt;
RAW files come directly from instruments and can also be read into Libisis. Data can then be extracted from the RAW file to form an [[IXTdataset_1d]] or an [[IXTdataset_2d]] object. One can do this in two different ways&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using RAW File Objects ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read in a rawfile (in the form of an [[IXTraw_file]] object) use the command &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read data into an [[IXTdataset_1d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset = getspectrum(rawfile1, spectrum_number)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;spectrum_number&amp;#039;&amp;#039;&amp;#039; is the spectrum which is required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* to read multiple runs into an [[IXTdataset_2d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset_2d = getspectra(rawfile1, [start:end])&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where start and end are the initial and final spectrum to include in the dataset_2d.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; EXAMPLE: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;c:/RAWfiles/HET15958&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; nsp = geti(rawfile1,&amp;#039;nsp1&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; d2a = getspectra(rawfile1, [1:nsp]);&lt;br /&gt;
&amp;gt;&amp;gt; d1a = getspectrum(rawfile1, 25); &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this will load all spectra from the HET15958 raw file contained in the folder c:/RAWfiles into an [[IXTdataset_2d]] object called d2a and load spectrum 25 into an [[IXTdataset_1d]] object name d1a.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Other information is contained in the rawfile, see [[IXTraw_file]] documentation for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Assigning a RAW File ===&lt;br /&gt;
&lt;br /&gt;
Rawfiles can also be assigned in the matlab environment. Once assigned, the rawfile will be used in any commands (such as getspectrum and getspectra) that are not given a rawfile object. All actions that can be performed on a rawfile object may be performed on the assigned runfile by simply omitting the rawfile object in the call to the function.&lt;br /&gt;
&lt;br /&gt;
* Assigning RAW files makes routine operations quicker by omitting the need to enter an object name each time an operation is to be performed&lt;br /&gt;
* Once a directory has been assigned, different file numbers (run numbers) can be chosen in a single command - making the process efficient.&lt;br /&gt;
* Only one RAW file may be assigned at any one time&lt;br /&gt;
&lt;br /&gt;
To assign a runfile use the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(path)&lt;br /&gt;
 &amp;gt;&amp;gt; set_inst(inst)&lt;br /&gt;
 &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; ass(number)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* path is the path where the RAW file is stored&lt;br /&gt;
* inst is the three letter abreviation of the instrument used to generate the raw file (e.g. MAP, MAR, MER, HET)&lt;br /&gt;
* number is the raw file number (run number) that you wish to assign. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(&amp;#039;c:/maps_files/raw_files&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; set_inst(&amp;#039;MAP&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; ass(6404)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* A file must exist called C:/maps_files/raw_files/MAP06404.RAW&lt;br /&gt;
&lt;br /&gt;
=== Plotting Spectra From Assigned RAW Files ===&lt;br /&gt;
&lt;br /&gt;
One can plot spectra from assigned raw files using the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; dl(spectrum)&lt;br /&gt;
 &amp;gt;&amp;gt; da(spectra)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* dl is any [[Plot Commands#One Dimensional Plots|one dimensional plot ]] command&lt;br /&gt;
* da is any [[Plot Commands#Two Dimensional Plots|two dimensional plot]] command&lt;br /&gt;
* spectrum is an array of numbers indicating which spectra of the currently assigned RAW file to plot&lt;br /&gt;
* spectra is an array of numbers indicating which spectra of the currently assigned RAW file to plot in two dimensions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Slices, Cuts and Masks==&lt;br /&gt;
&lt;br /&gt;
Some other programs can generate a slice, cut or mask object. Two such programs are mslice and Horace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A slice can be read into a Libisis [[IXTdataset_2d]] object using the command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_slice(filename)&lt;br /&gt;
w = read_slice&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .slc file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_2d]], with as much information taken from the slice as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, a Mask or a cut from Horace / mslice can be read into Libisis [[IXTdataset_1d]] objects using the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt;w = read_cut(filename)&lt;br /&gt;
 &amp;gt;&amp;gt; w = read_mask(filename)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .cut or .msk file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_1d]], with as much information taken from the cut / mask as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
== Nexus Files==&lt;br /&gt;
&lt;br /&gt;
Objects can be written to file in hdf format using the nexus API, using the write_nxs function. These files can also be read in using the read_nxs command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; write_nxs(IXTobject,&amp;#039;filename&amp;#039;, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the object that is being written out (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file which is being written&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to write the object to (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; write_nxs(IXTrunfile,&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
writes the data from the IXTrunfile object into the top-level directory &amp;#039;runfile&amp;#039; of the maps1020.nxs file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_nxs(filename, IXTobject, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the type of object that the data is being read into (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to read the object from (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;w&amp;#039;&amp;#039;&amp;#039; is the actual object which will hold the data being read, it will be of the same object type as IXTobject (i.e. [[IXTrunfile]]) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;wout = read_nxs(&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;, IXTrunfile, &amp;#039;runfile&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
reads the data from the runfile top directory into the wout object that will be an [[IXTrunfile]] object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Formats ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data can be read from other formats or in other ways, such as using [[Homer_and_mgenie_style_functions| Homer]] to populate an [[IXTrunfile]] object.&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2869</id>
		<title>Input and Output Functions</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2869"/>
		<updated>2009-04-26T16:03:24Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Assigning a RAW File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ASCII Files ==&lt;br /&gt;
&lt;br /&gt;
* [[IXTdataset_1d]] objects may be stored in ASCII files. &lt;br /&gt;
* These files may contain x and y data &amp;#039;&amp;#039;or&amp;#039;&amp;#039; x, s, error data in a 2 or 3 column format. &lt;br /&gt;
* Column 1 will be x values, column 2 will be s values and if available column 3 will be error values, if not available then error is assumed to be 0. &lt;br /&gt;
* Any information at the start or end of the file that is not in a 2 or 3 column format is &amp;#039;&amp;#039;&amp;#039;ignored&amp;#039;&amp;#039;&amp;#039; (for instance, &amp;#039;&amp;#039;header information&amp;#039;&amp;#039; may be stored here). &lt;br /&gt;
* Columns may be separated by commas, tabs, or spaces. &lt;br /&gt;
* ASCII files may contain point or histogram data, the x column in histogram data will have one more value than the s and e columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The following files would all be acceptable ASCII files  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000&lt;br /&gt;
491.2 31923&lt;br /&gt;
492.2 40000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a three point dataset with 0 error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000 300&lt;br /&gt;
491.2 31923 300 &lt;br /&gt;
492.2 40000 250&lt;br /&gt;
493.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;490.2,30000,300&lt;br /&gt;
491.2,31923,300&lt;br /&gt;
492.2,40000,250&lt;br /&gt;
493.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will represent the same 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* When files are &amp;#039;&amp;#039;&amp;#039;written&amp;#039;&amp;#039;&amp;#039; by libisis a header is written at the top of the file with the following information &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;name = dataset name&lt;br /&gt;
title = dataset title &lt;br /&gt;
signal_units = dataset s axis label &lt;br /&gt;
x_units = dataset x axis label&lt;br /&gt;
x_distribution = 1&lt;br /&gt;
&lt;br /&gt;
x1 s1 e1&lt;br /&gt;
x2 s2 e2 &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the header information is taken from the dataset being written.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read and write ASCII files in the format (point or histogram) specified by the file or dataset use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_ascii(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_ascii(dataset,&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if no filename is given then the user will be prompted to locate the file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Point Data === &lt;br /&gt;
One can force the written or read ASCII file to be in the form of point data by using the commands&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;read_points(&amp;#039;filename&amp;#039;)&lt;br /&gt;
write_points(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Histogram Data ===&lt;br /&gt;
One can force the written or read ASCII file to be in the form of histogram data by using the commands &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_hist(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_hist(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAW Files ==&lt;br /&gt;
&lt;br /&gt;
RAW files come directly from instruments and can also be read into Libisis. Data can then be extracted from the RAW file to form an [[IXTdataset_1d]] or an [[IXTdataset_2d]] object. One can do this in two different ways&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using RAW File Objects ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read in a rawfile (in the form of an [[IXTraw_file]] object) use the command &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read data into an [[IXTdataset_1d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset = getspectrum(rawfile1, spectrum_number)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;spectrum_number&amp;#039;&amp;#039;&amp;#039; is the spectrum which is required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* to read multiple runs into an [[IXTdataset_2d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset_2d = getspectra(rawfile1, [start:end])&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where start and end are the initial and final spectrum to include in the dataset_2d.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; EXAMPLE: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;c:/RAWfiles/HET15958&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; nsp = geti(rawfile1,&amp;#039;nsp1&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; d2a = getspectra(rawfile1, [1:nsp]);&lt;br /&gt;
&amp;gt;&amp;gt; d1a = getspectrum(rawfile1, 25); &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this will load all spectra from the HET15958 raw file contained in the folder c:/RAWfiles into an [[IXTdataset_2d]] object called d2a and load spectrum 25 into an [[IXTdataset_1d]] object name d1a.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Other information is contained in the rawfile, see [[IXTraw_file]] documentation for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Assigning a RAW File ===&lt;br /&gt;
&lt;br /&gt;
Rawfiles can also be assigned in the matlab environment. Once assigned, the rawfile will be used in any commands (such as getspectrum and getspectra) that are not given a rawfile object. All actions that can be performed on a rawfile object may be performed on the assigned runfile by simply omitting the rawfile object in the call to the function.&lt;br /&gt;
&lt;br /&gt;
* Assigning RAW files makes routine operations quicker by omitting the need to enter an object name each time an operation is to be performed&lt;br /&gt;
* Once a directory has been assigned, different file numbers (run numbers) can be chosen in a single command - making the process efficient.&lt;br /&gt;
* Only one RAW file may be assigned at any one time&lt;br /&gt;
&lt;br /&gt;
To assign a runfile use the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(path)&lt;br /&gt;
 &amp;gt;&amp;gt; set_inst(inst)&lt;br /&gt;
 &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; ass(number)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* path is the path where the RAW file is stored&lt;br /&gt;
* inst is the three letter abreviation of the instrument used to generate the raw file (e.g. MAP, MAR, MER, HET)&lt;br /&gt;
* number is the raw file number (run number) that you wish to assign. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(&amp;#039;c:/maps_files/raw_files&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; set_inst(&amp;#039;MAP&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
 &amp;gt;&amp;gt; ass(6404)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* A file must exist called C:/maps_files/raw_files/MAP06404.RAW&lt;br /&gt;
&lt;br /&gt;
=== Plotting Spectra From Assigned RAW Files ===&lt;br /&gt;
&lt;br /&gt;
One can plot spectra from assigned raw files using the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; dl(spectrum)&lt;br /&gt;
 &amp;gt;&amp;gt; da(spectra)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* dl is any [[Plot Commands#One Dimensional Plots|one dimensional plot ]] command&lt;br /&gt;
* da is any [[Plot Commands#Two Dimensional Plots|two dimensional plot]] command&lt;br /&gt;
* spectrum is an array of numbers indicating which spectra of the currently assigned RAW file to plot&lt;br /&gt;
* spectra is an array of numbers indicating which spectra of the currently assigned RAW file to plot in two dimensions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Slices, Cuts and Masks==&lt;br /&gt;
&lt;br /&gt;
Some other programs can generate a slice, cut or mask object. Two such programs are mslice and Horace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A slice can be read into a Libisis [[IXTdataset_2d]] object using the command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_slice(filename)&lt;br /&gt;
w = read_slice&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .slc file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_2d]], with as much information taken from the slice as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, a Mask or a cut from Horace / mslice can be read into Libisis [[IXTdataset_1d]] objects using the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_cut(filename)&lt;br /&gt;
&amp;gt;&amp;gt; w = read_mask(filename)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .cut or .msk file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_1d]], with as much information taken from the cut / mask as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Nexus Files==&lt;br /&gt;
&lt;br /&gt;
Objects can be written to file in hdf format using the nexus API, using the write_nxs function. These files can also be read in using the read_nxs command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; write_nxs(IXTobject,&amp;#039;filename&amp;#039;, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the object that is being written out (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file which is being written&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to write the object to (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; write_nxs(IXTrunfile,&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
writes the data from the IXTrunfile object into the top-level directory &amp;#039;runfile&amp;#039; of the maps1020.nxs file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_nxs(filename, IXTobject, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the type of object that the data is being read into (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to read the object from (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;w&amp;#039;&amp;#039;&amp;#039; is the actual object which will hold the data being read, it will be of the same object type as IXTobject (i.e. [[IXTrunfile]]) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;wout = read_nxs(&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;, IXTrunfile, &amp;#039;runfile&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
reads the data from the runfile top directory into the wout object that will be an [[IXTrunfile]] object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Formats ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data can be read from other formats or in other ways, such as using [[Homer_and_mgenie_style_functions| Homer]] to populate an [[IXTrunfile]] object.&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2868</id>
		<title>Input and Output Functions</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Input_and_Output_Functions&amp;diff=2868"/>
		<updated>2009-04-26T16:02:53Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Assigning a RAW File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== ASCII Files ==&lt;br /&gt;
&lt;br /&gt;
* [[IXTdataset_1d]] objects may be stored in ASCII files. &lt;br /&gt;
* These files may contain x and y data &amp;#039;&amp;#039;or&amp;#039;&amp;#039; x, s, error data in a 2 or 3 column format. &lt;br /&gt;
* Column 1 will be x values, column 2 will be s values and if available column 3 will be error values, if not available then error is assumed to be 0. &lt;br /&gt;
* Any information at the start or end of the file that is not in a 2 or 3 column format is &amp;#039;&amp;#039;&amp;#039;ignored&amp;#039;&amp;#039;&amp;#039; (for instance, &amp;#039;&amp;#039;header information&amp;#039;&amp;#039; may be stored here). &lt;br /&gt;
* Columns may be separated by commas, tabs, or spaces. &lt;br /&gt;
* ASCII files may contain point or histogram data, the x column in histogram data will have one more value than the s and e columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The following files would all be acceptable ASCII files  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000&lt;br /&gt;
491.2 31923&lt;br /&gt;
492.2 40000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a three point dataset with 0 error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;title = plots1 xaxis = wavelength yaxis = signal &lt;br /&gt;
490.2 30000 300&lt;br /&gt;
491.2 31923 300 &lt;br /&gt;
492.2 40000 250&lt;br /&gt;
493.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Represents a 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;490.2,30000,300&lt;br /&gt;
491.2,31923,300&lt;br /&gt;
492.2,40000,250&lt;br /&gt;
493.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will represent the same 3 column histogram dataset with error data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* When files are &amp;#039;&amp;#039;&amp;#039;written&amp;#039;&amp;#039;&amp;#039; by libisis a header is written at the top of the file with the following information &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;name = dataset name&lt;br /&gt;
title = dataset title &lt;br /&gt;
signal_units = dataset s axis label &lt;br /&gt;
x_units = dataset x axis label&lt;br /&gt;
x_distribution = 1&lt;br /&gt;
&lt;br /&gt;
x1 s1 e1&lt;br /&gt;
x2 s2 e2 &lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the header information is taken from the dataset being written.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read and write ASCII files in the format (point or histogram) specified by the file or dataset use&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_ascii(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_ascii(dataset,&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if no filename is given then the user will be prompted to locate the file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Point Data === &lt;br /&gt;
One can force the written or read ASCII file to be in the form of point data by using the commands&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;read_points(&amp;#039;filename&amp;#039;)&lt;br /&gt;
write_points(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Histogram Data ===&lt;br /&gt;
One can force the written or read ASCII file to be in the form of histogram data by using the commands &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; read_hist(&amp;#039;filename&amp;#039;)&lt;br /&gt;
&amp;gt;&amp;gt; write_hist(dataset, &amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RAW Files ==&lt;br /&gt;
&lt;br /&gt;
RAW files come directly from instruments and can also be read into Libisis. Data can then be extracted from the RAW file to form an [[IXTdataset_1d]] or an [[IXTdataset_2d]] object. One can do this in two different ways&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Using RAW File Objects ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read in a rawfile (in the form of an [[IXTraw_file]] object) use the command &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;filename&amp;#039;)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To read data into an [[IXTdataset_1d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset = getspectrum(rawfile1, spectrum_number)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;spectrum_number&amp;#039;&amp;#039;&amp;#039; is the spectrum which is required. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* to read multiple runs into an [[IXTdataset_2d]] object use the command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; dataset_2d = getspectra(rawfile1, [start:end])&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where start and end are the initial and final spectrum to include in the dataset_2d.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; EXAMPLE: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; rawfile1 = IXTraw_file(&amp;#039;c:/RAWfiles/HET15958&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; nsp = geti(rawfile1,&amp;#039;nsp1&amp;#039;);&lt;br /&gt;
&amp;gt;&amp;gt; d2a = getspectra(rawfile1, [1:nsp]);&lt;br /&gt;
&amp;gt;&amp;gt; d1a = getspectrum(rawfile1, 25); &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this will load all spectra from the HET15958 raw file contained in the folder c:/RAWfiles into an [[IXTdataset_2d]] object called d2a and load spectrum 25 into an [[IXTdataset_1d]] object name d1a.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Other information is contained in the rawfile, see [[IXTraw_file]] documentation for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Assigning a RAW File ===&lt;br /&gt;
&lt;br /&gt;
Rawfiles can also be assigned in the matlab environment. Once assigned, the rawfile will be used in any commands (such as getspectrum and getspectra) that are not given a rawfile object. All actions that can be performed on a rawfile object may be performed on the assigned runfile by simply omitting the rawfile object in the call to the function.&lt;br /&gt;
&lt;br /&gt;
* Assigning RAW files makes routine operations quicker by omitting the need to enter an object name each time an operation is to be performed&lt;br /&gt;
* Once a directory has been assigned, different file numbers (run numbers) can be chosen in a single command - making the process efficient.&lt;br /&gt;
* Only one RAW file may be assigned at any one time&lt;br /&gt;
&lt;br /&gt;
To assign a runfile use the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(path)&lt;br /&gt;
  &amp;gt;&amp;gt; set_inst(inst)&lt;br /&gt;
  &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
  &amp;gt;&amp;gt; ass(number)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* path is the path where the RAW file is stored&lt;br /&gt;
* inst is the three letter abreviation of the instrument used to generate the raw file (e.g. MAP, MAR, MER, HET)&lt;br /&gt;
* number is the raw file number (run number) that you wish to assign. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; set_path(&amp;#039;c:/maps_files/raw_files&amp;#039;)&lt;br /&gt;
  &amp;gt;&amp;gt; set_inst(&amp;#039;MAP&amp;#039;)&lt;br /&gt;
  &amp;gt;&amp;gt; set_ext(&amp;#039;RAW&amp;#039;)&lt;br /&gt;
  &amp;gt;&amp;gt; ass(6404)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* A file must exist called C:/maps_files/raw_files/MAP06404.RAW&lt;br /&gt;
&lt;br /&gt;
=== Plotting Spectra From Assigned RAW Files ===&lt;br /&gt;
&lt;br /&gt;
One can plot spectra from assigned raw files using the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;gt;&amp;gt; dl(spectrum)&lt;br /&gt;
 &amp;gt;&amp;gt; da(spectra)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* dl is any [[Plot Commands#One Dimensional Plots|one dimensional plot ]] command&lt;br /&gt;
* da is any [[Plot Commands#Two Dimensional Plots|two dimensional plot]] command&lt;br /&gt;
* spectrum is an array of numbers indicating which spectra of the currently assigned RAW file to plot&lt;br /&gt;
* spectra is an array of numbers indicating which spectra of the currently assigned RAW file to plot in two dimensions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Slices, Cuts and Masks==&lt;br /&gt;
&lt;br /&gt;
Some other programs can generate a slice, cut or mask object. Two such programs are mslice and Horace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A slice can be read into a Libisis [[IXTdataset_2d]] object using the command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_slice(filename)&lt;br /&gt;
w = read_slice&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .slc file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_2d]], with as much information taken from the slice as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, a Mask or a cut from Horace / mslice can be read into Libisis [[IXTdataset_1d]] objects using the commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_cut(filename)&lt;br /&gt;
&amp;gt;&amp;gt; w = read_mask(filename)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string containing the location of the .cut or .msk file&lt;br /&gt;
* If filename is not given then a prompt will ask the user to locate the file&lt;br /&gt;
* Output is an [[IXTdataset_1d]], with as much information taken from the cut / mask as possible, otherwise fields are blank.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Nexus Files==&lt;br /&gt;
&lt;br /&gt;
Objects can be written to file in hdf format using the nexus API, using the write_nxs function. These files can also be read in using the read_nxs command.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt; write_nxs(IXTobject,&amp;#039;filename&amp;#039;, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the object that is being written out (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file which is being written&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to write the object to (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; write_nxs(IXTrunfile,&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
writes the data from the IXTrunfile object into the top-level directory &amp;#039;runfile&amp;#039; of the maps1020.nxs file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;gt;&amp;gt;w = read_nxs(filename, IXTobject, entry)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&amp;#039; is a string showing the location of the .nxs file&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;IXTobject&amp;#039;&amp;#039;&amp;#039; is the type of object that the data is being read into (i.e. [[IXTrunfile]], [[IXTdataset_2d]])&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entry&amp;#039;&amp;#039;&amp;#039; is a string, the top level directory to read the object from (i.e. &amp;#039;runfile&amp;#039;), by &amp;#039;&amp;#039;default&amp;#039;&amp;#039; it is &amp;#039;object&amp;#039; (optional)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;w&amp;#039;&amp;#039;&amp;#039; is the actual object which will hold the data being read, it will be of the same object type as IXTobject (i.e. [[IXTrunfile]]) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;wout = read_nxs(&amp;#039;C:/nexusfiles/maps1020.nxs&amp;#039;, IXTrunfile, &amp;#039;runfile&amp;#039;)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
reads the data from the runfile top directory into the wout object that will be an [[IXTrunfile]] object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Other Formats ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data can be read from other formats or in other ways, such as using [[Homer_and_mgenie_style_functions| Homer]] to populate an [[IXTrunfile]] object.&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=Installation_Instructions&amp;diff=2867</id>
		<title>Installation Instructions</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=Installation_Instructions&amp;diff=2867"/>
		<updated>2009-04-26T13:59:24Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Windows Systems&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Installation for &amp;#039;&amp;#039;&amp;#039;developers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* Install [http://download.nexusformat.org/kits/windows/ Nexus Library ]&lt;br /&gt;
* Install MS Visual Studio .NET 2003 and Intel Fortran with MS visual studio extensions&lt;br /&gt;
* Install Matlab&lt;br /&gt;
* Set Environment Variables IFORTDIR and MATLABDIR to your Intel Fortran and Matlab directories respectively eg..&lt;br /&gt;
  IFORTDIR=C:\Program Files\Intel\Compiler\Fortran\9.1\IA32 &lt;br /&gt;
  MATLABDIR=c:\MATLAB\R2007a&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Download source code from the [[SubversionServer]] by:&lt;br /&gt;
** Downloading [http://tortoisesvn.tigris.org/ TortoiseSVN] and installing it. &lt;br /&gt;
** On windows - right click an empty folder you want to put the files (e.g. c:/libisis) and click on &amp;quot;SVN Checkout&amp;quot; &lt;br /&gt;
** In the &amp;quot;URL of repository&amp;quot; box, enter the web address http://svn.libisis.org/code/trunk and click ok. &lt;br /&gt;
* Open the libisisexc.sln file in MS Visual Studio .NET 2003 and &amp;#039;Build Solution&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For advanced options (i.e. how to submit work back to the SVN server) see [[SubversionServer|here]]&lt;br /&gt;
&lt;br /&gt;
Look at the [[Developer Notes]] for information about how to develop for Libisis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* If Intel 11 installed: follow the above instructions, and then&lt;br /&gt;
** Copy libisiscfig.h-windows to libisisconfig.h in the top level libisis folder&lt;br /&gt;
** Open the libisis.sln, and when prompted to convert the solution, accept&lt;br /&gt;
** Right-click on the libisisexc project, and in the project settings select Linker-General-Additional Library Directories and edit &amp;quot;$(IFORTDIR)\lib&amp;quot; to &amp;quot;&amp;quot;(IFORT_COMPILER11)\lib\ia32&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mslice==&lt;br /&gt;
&lt;br /&gt;
* Download [http://tortoisesvn.tigris.org/ TortoiseSVN] and instal tortoise SVN. &lt;br /&gt;
* On windows - right click an empty folder you want to put the files (e.g. c:/mslice) and click on &amp;quot;SVN Checkout&amp;quot; &lt;br /&gt;
* In the &amp;quot;URL of repository&amp;quot; box, enter the web address http://svn.isis.rl.ac.uk/mslice/trunk and click ok.&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
	<entry>
		<id>http://libisis.org/index.php?title=IXTworkspace&amp;diff=2519</id>
		<title>IXTworkspace</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXTworkspace&amp;diff=2519"/>
		<updated>2008-05-20T15:25:02Z</updated>

		<summary type="html">&lt;p&gt;Toby Perring: /* Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Structure==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The elements of the object are as follows:&lt;br /&gt;
&lt;br /&gt;
{| {{Tablestyle}}&lt;br /&gt;
|-&lt;br /&gt;
! {{Headcellstyle}} | Field&lt;br /&gt;
!{{Headcellstyle}} | Type&lt;br /&gt;
! {{Headcellstyle}} | Description&lt;br /&gt;
|-&lt;br /&gt;
|work_no (:) 	 || real (ptr) 	|| workspace number &lt;br /&gt;
|-&lt;br /&gt;
|effdet_index ||	 IXTeffdet_index ||	 Index of good detector parameters for the workspace &lt;br /&gt;
|-&lt;br /&gt;
|eff_det ||	 IXTdetector ||	 effective detector information &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==F90 syntax==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;use IXMworkspace&lt;br /&gt;
&lt;br /&gt;
type(IXTworkspace):: workspace&lt;br /&gt;
type(IXTstatus):: status&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Operations==&lt;br /&gt;
&lt;br /&gt;
The following operations may be performed on this data type:&lt;br /&gt;
&lt;br /&gt;
*[[General Operations]]&lt;br /&gt;
*[[Special Subroutines]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class Specific Operations:&lt;br /&gt;
* [[IXFpopulate_workspace]]&lt;/div&gt;</summary>
		<author><name>Toby Perring</name></author>
	</entry>
</feed>