<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cansas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andyfaff</id>
	<title>canSAS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cansas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andyfaff"/>
	<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=Special:Contributions/Andyfaff"/>
	<updated>2026-05-06T14:10:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1018</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1018"/>
		<updated>2012-07-27T17:53:48Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Suggest format framework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments in the appropriate section below:&lt;br /&gt;
&lt;br /&gt;
= Agenda with Discussion =&lt;br /&gt;
&lt;br /&gt;
== 1D Format ==&lt;br /&gt;
=== Agree a proposed extension of the current 1D standard ===&lt;br /&gt;
* This is an extension proposed by Steve King (ISIS) that is required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files&lt;br /&gt;
** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
=== Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet ===&lt;br /&gt;
{{Comment|SMK|For clarity, this extension was proposed &#039;&#039;after&#039;&#039; adoption of the existing version of the standard. Ratification of this extension at CanSAS-2012 would give facilities/software developers the necessary confidence to implement it.}}&lt;br /&gt;
&lt;br /&gt;
{{Comment | SMK  | This proposed extension would allow more-or-less any non-I(Q) data to be included in a CanSAS-1D data file under a suitable foreign namespace. That is remarkable flexibility, and it does not require any significant revision of the existing standard. However, it could be argued that certain types of non-I(Q) data are so integral to a SAS experiment that they should instead be given explicit SASXML tags within the standard? Transmission data is a good example of this: the existing standard explicitly includes a tag for the transmission value from a &#039;&#039;monochromatic&#039;&#039; measurement (SASsample\transmission) but makes no provision for transmission values from &#039;&#039;white beam&#039;&#039;   measurements. The proposed foreign namespace extension will make such provision possible &#039;&#039;but only&#039;&#039; as an extension, not as a formal part of the standard. Is that acceptable? The downside of explicitly adding new SASXML tags to the existing standard is that it would require issuing a new version of the standard. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1D and 2D data.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | SMK  | Agreed.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARR  | Perhaps we should be cautious about suggesting no further development for the existing 1-D format. Unless there is scope for adapting to future needs, it will be seen as not suitable for new uses.  This, of course, does not imply that there have to be active plans for further changes at present. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | AJJ | As to this particular case, I suggest that since SMK and I have it done, that we accept the additional tags, call it v1.1 and move on. If other extensions arise later and become &amp;quot;widely&amp;quot; used, then we can incorporate them as they arise. This is the key benefit of using an extensible format.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | Just as a matter of interest, why is it necessary to include transmission measurements for TOF instruments? Does the analysis depend on these values? Not saying it&#039;s not necessary, just wondering about why it is useful.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 2D Format ==&lt;br /&gt;
=== Define minimum information necessary for reduced data ===&lt;br /&gt;
* definition of what &#039;&#039;&#039;reduced&#039;&#039;&#039; data is and hence the problems we should address.&lt;br /&gt;
* review previous discussions on 2D&lt;br /&gt;
* considerations specific to 2D reduced data&lt;br /&gt;
* consider forward looking issues such as &lt;br /&gt;
** grazing incidence&lt;br /&gt;
** event mode analysis&lt;br /&gt;
&lt;br /&gt;
=== Suggest format framework ===&lt;br /&gt;
* NeXus extension, canSAS 1D extension, other, with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
** compare with NeXus definitions for:&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
&lt;br /&gt;
{{Comment | ARJN  | Having looked at both those Nexus definitions it is not clear to me how:&lt;br /&gt;
** multiple detectors are handled.&lt;br /&gt;
** What happens if the detector pixels are not grid shaped?&lt;br /&gt;
** how does one stuff multiple datasets (e.g. from event mode acquisition)?&lt;br /&gt;
Remember, all we need is instrument independent information in this file, nothing else.&lt;br /&gt;
:[[User:Andyfaff|Andyfaff]] 12:45, 27 July 2012 (CDT)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* James Hester (an expert in the CIF format) has compelling ideas on the subject of common data files. [[CIF format notes Hester]]&lt;br /&gt;
&lt;br /&gt;
* Andrew Nelson has commented via email exchange with Adrian Rennie : [[Email ARJN ARR | Notes on Reduced Data formats with examples from reflectometry]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Ron Ghosh has laid out details of a proposal to use HDF5/Nexus : [[HDF5 Notes Ghosh]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Peter Boesecke misses definitions of parameters that are needed to describe small-angle and wide-angle scattering experiments. Parameters like &amp;quot;Distance&amp;quot;, &amp;quot;Center&amp;quot;, &amp;quot;Rotation&amp;quot; have only a meaning when they are part of a geometrical model, otherwise they are useless. He has collected parameters that are required for SAS/WAS experiments with position sensitive detectors (1D and 2D). When saving experimental data it should be checked that these parameters are either implicitly or explicitly described by the supplied metadata: [[User:Boesecke | SX_parametrization]].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Guide to how to make implementation easy. ===&lt;br /&gt;
=== Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.===&lt;br /&gt;
=== Provide a plan for presentation at SAS 2012 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1017</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1017"/>
		<updated>2012-07-27T17:52:00Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments in the appropriate section below:&lt;br /&gt;
&lt;br /&gt;
= Agenda with Discussion =&lt;br /&gt;
&lt;br /&gt;
== 1D Format ==&lt;br /&gt;
=== Agree a proposed extension of the current 1D standard ===&lt;br /&gt;
* This is an extension proposed by Steve King (ISIS) that is required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files&lt;br /&gt;
** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
=== Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet ===&lt;br /&gt;
{{Comment|SMK|For clarity, this extension was proposed &#039;&#039;after&#039;&#039; adoption of the existing version of the standard. Ratification of this extension at CanSAS-2012 would give facilities/software developers the necessary confidence to implement it.}}&lt;br /&gt;
&lt;br /&gt;
{{Comment | SMK  | This proposed extension would allow more-or-less any non-I(Q) data to be included in a CanSAS-1D data file under a suitable foreign namespace. That is remarkable flexibility, and it does not require any significant revision of the existing standard. However, it could be argued that certain types of non-I(Q) data are so integral to a SAS experiment that they should instead be given explicit SASXML tags within the standard? Transmission data is a good example of this: the existing standard explicitly includes a tag for the transmission value from a &#039;&#039;monochromatic&#039;&#039; measurement (SASsample\transmission) but makes no provision for transmission values from &#039;&#039;white beam&#039;&#039;   measurements. The proposed foreign namespace extension will make such provision possible &#039;&#039;but only&#039;&#039; as an extension, not as a formal part of the standard. Is that acceptable? The downside of explicitly adding new SASXML tags to the existing standard is that it would require issuing a new version of the standard. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1D and 2D data.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | SMK  | Agreed.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARR  | Perhaps we should be cautious about suggesting no further development for the existing 1-D format. Unless there is scope for adapting to future needs, it will be seen as not suitable for new uses.  This, of course, does not imply that there have to be active plans for further changes at present. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | AJJ | As to this particular case, I suggest that since SMK and I have it done, that we accept the additional tags, call it v1.1 and move on. If other extensions arise later and become &amp;quot;widely&amp;quot; used, then we can incorporate them as they arise. This is the key benefit of using an extensible format.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | Just as a matter of interest, why is it necessary to include transmission measurements for TOF instruments? Does the analysis depend on these values? Not saying it&#039;s not necessary, just wondering about why it is useful.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 2D Format ==&lt;br /&gt;
=== Define minimum information necessary for reduced data ===&lt;br /&gt;
* definition of what &#039;&#039;&#039;reduced&#039;&#039;&#039; data is and hence the problems we should address.&lt;br /&gt;
* review previous discussions on 2D&lt;br /&gt;
* considerations specific to 2D reduced data&lt;br /&gt;
* consider forward looking issues such as &lt;br /&gt;
** grazing incidence&lt;br /&gt;
** event mode analysis&lt;br /&gt;
&lt;br /&gt;
=== Suggest format framework ===&lt;br /&gt;
* NeXus extension, canSAS 1D extension, other, with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
** compare with NeXus definitions for:&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* James Hester (an expert in the CIF format) has compelling ideas on the subject of common data files. [[CIF format notes Hester]]&lt;br /&gt;
&lt;br /&gt;
* Andrew Nelson has commented via email exchange with Adrian Rennie : [[Email ARJN ARR | Notes on Reduced Data formats with examples from reflectometry]]&lt;br /&gt;
&lt;br /&gt;
Having looked at both those Nexus definitions it is not clear to (ARJN) how:&lt;br /&gt;
** multiple detectors are handled.&lt;br /&gt;
** What happens if the detector pixels are not grid shaped?&lt;br /&gt;
** how does one stuff multiple datasets (e.g. from event mode acquisition)?&lt;br /&gt;
Remember, all we need is instrument independent information in this file, nothing else.&lt;br /&gt;
:[[User:Andyfaff|Andyfaff]] 12:45, 27 July 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Ron Ghosh has laid out details of a proposal to use HDF5/Nexus : [[HDF5 Notes Ghosh]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Peter Boesecke misses definitions of parameters that are needed to describe small-angle and wide-angle scattering experiments. Parameters like &amp;quot;Distance&amp;quot;, &amp;quot;Center&amp;quot;, &amp;quot;Rotation&amp;quot; have only a meaning when they are part of a geometrical model, otherwise they are useless. He has collected parameters that are required for SAS/WAS experiments with position sensitive detectors (1D and 2D). When saving experimental data it should be checked that these parameters are either implicitly or explicitly described by the supplied metadata: [[User:Boesecke | SX_parametrization]].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Guide to how to make implementation easy. ===&lt;br /&gt;
=== Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.===&lt;br /&gt;
=== Provide a plan for presentation at SAS 2012 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1016</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1016"/>
		<updated>2012-07-27T17:47:07Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Suggest format framework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments in the appropriate section below:&lt;br /&gt;
&lt;br /&gt;
= Agenda with Discussion =&lt;br /&gt;
&lt;br /&gt;
== 1D Format ==&lt;br /&gt;
=== Agree a proposed extension of the current 1D standard ===&lt;br /&gt;
* This is an extension proposed by Steve King (ISIS) that is required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files&lt;br /&gt;
** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
=== Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet ===&lt;br /&gt;
{{Comment|SMK|For clarity, this extension was proposed &#039;&#039;after&#039;&#039; adoption of the existing version of the standard. Ratification of this extension at CanSAS-2012 would give facilities/software developers the necessary confidence to implement it.}}&lt;br /&gt;
&lt;br /&gt;
{{Comment | SMK  | This proposed extension would allow more-or-less any non-I(Q) data to be included in a CanSAS-1D data file under a suitable foreign namespace. That is remarkable flexibility, and it does not require any significant revision of the existing standard. However, it could be argued that certain types of non-I(Q) data are so integral to a SAS experiment that they should instead be given explicit SASXML tags within the standard? Transmission data is a good example of this: the existing standard explicitly includes a tag for the transmission value from a &#039;&#039;monochromatic&#039;&#039; measurement (SASsample\transmission) but makes no provision for transmission values from &#039;&#039;white beam&#039;&#039;   measurements. The proposed foreign namespace extension will make such provision possible &#039;&#039;but only&#039;&#039; as an extension, not as a formal part of the standard. Is that acceptable? The downside of explicitly adding new SASXML tags to the existing standard is that it would require issuing a new version of the standard. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1D and 2D data.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | SMK  | Agreed.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARR  | Perhaps we should be cautious about suggesting no further development for the existing 1-D format. Unless there is scope for adapting to future needs, it will be seen as not suitable for new uses.  This, of course, does not imply that there have to be active plans for further changes at present. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | AJJ | As to this particular case, I suggest that since SMK and I have it done, that we accept the additional tags, call it v1.1 and move on. If other extensions arise later and become &amp;quot;widely&amp;quot; used, then we can incorporate them as they arise. This is the key benefit of using an extensible format.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 2D Format ==&lt;br /&gt;
=== Define minimum information necessary for reduced data ===&lt;br /&gt;
* definition of what &#039;&#039;&#039;reduced&#039;&#039;&#039; data is and hence the problems we should address.&lt;br /&gt;
* review previous discussions on 2D&lt;br /&gt;
* considerations specific to 2D reduced data&lt;br /&gt;
* consider forward looking issues such as &lt;br /&gt;
** grazing incidence&lt;br /&gt;
** event mode analysis&lt;br /&gt;
&lt;br /&gt;
=== Suggest format framework ===&lt;br /&gt;
* NeXus extension, canSAS 1D extension, other, with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
** compare with NeXus definitions for:&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* James Hester (an expert in the CIF format) has compelling ideas on the subject of common data files. [[CIF format notes Hester]]&lt;br /&gt;
&lt;br /&gt;
* Andrew Nelson has commented via email exchange with Adrian Rennie : [[Email ARJN ARR | Notes on Reduced Data formats with examples from reflectometry]]&lt;br /&gt;
&lt;br /&gt;
Having looked at both those Nexus definitions it is not clear to (ARJN) how:&lt;br /&gt;
** multiple detectors are handled.&lt;br /&gt;
** What happens if the detector pixels are not grid shaped?&lt;br /&gt;
** how does one stuff multiple datasets (e.g. from event mode acquisition)?&lt;br /&gt;
Remember, all we need is instrument independent information in this file, nothing else.&lt;br /&gt;
:[[User:Andyfaff|Andyfaff]] 12:45, 27 July 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Ron Ghosh has laid out details of a proposal to use HDF5/Nexus : [[HDF5 Notes Ghosh]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Peter Boesecke misses definitions of parameters that are needed to describe small-angle and wide-angle scattering experiments. Parameters like &amp;quot;Distance&amp;quot;, &amp;quot;Center&amp;quot;, &amp;quot;Rotation&amp;quot; have only a meaning when they are part of a geometrical model, otherwise they are useless. He has collected parameters that are required for SAS/WAS experiments with position sensitive detectors (1D and 2D). When saving experimental data it should be checked that these parameters are either implicitly or explicitly described by the supplied metadata: [[User:Boesecke | SX_parametrization]].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Guide to how to make implementation easy. ===&lt;br /&gt;
=== Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.===&lt;br /&gt;
=== Provide a plan for presentation at SAS 2012 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1015</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1015"/>
		<updated>2012-07-27T17:46:36Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Suggest format framework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments in the appropriate section below:&lt;br /&gt;
&lt;br /&gt;
= Agenda with Discussion =&lt;br /&gt;
&lt;br /&gt;
== 1D Format ==&lt;br /&gt;
=== Agree a proposed extension of the current 1D standard ===&lt;br /&gt;
* This is an extension proposed by Steve King (ISIS) that is required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files&lt;br /&gt;
** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
=== Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet ===&lt;br /&gt;
{{Comment|SMK|For clarity, this extension was proposed &#039;&#039;after&#039;&#039; adoption of the existing version of the standard. Ratification of this extension at CanSAS-2012 would give facilities/software developers the necessary confidence to implement it.}}&lt;br /&gt;
&lt;br /&gt;
{{Comment | SMK  | This proposed extension would allow more-or-less any non-I(Q) data to be included in a CanSAS-1D data file under a suitable foreign namespace. That is remarkable flexibility, and it does not require any significant revision of the existing standard. However, it could be argued that certain types of non-I(Q) data are so integral to a SAS experiment that they should instead be given explicit SASXML tags within the standard? Transmission data is a good example of this: the existing standard explicitly includes a tag for the transmission value from a &#039;&#039;monochromatic&#039;&#039; measurement (SASsample\transmission) but makes no provision for transmission values from &#039;&#039;white beam&#039;&#039;   measurements. The proposed foreign namespace extension will make such provision possible &#039;&#039;but only&#039;&#039; as an extension, not as a formal part of the standard. Is that acceptable? The downside of explicitly adding new SASXML tags to the existing standard is that it would require issuing a new version of the standard. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1D and 2D data.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | SMK  | Agreed.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARR  | Perhaps we should be cautious about suggesting no further development for the existing 1-D format. Unless there is scope for adapting to future needs, it will be seen as not suitable for new uses.  This, of course, does not imply that there have to be active plans for further changes at present. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | AJJ | As to this particular case, I suggest that since SMK and I have it done, that we accept the additional tags, call it v1.1 and move on. If other extensions arise later and become &amp;quot;widely&amp;quot; used, then we can incorporate them as they arise. This is the key benefit of using an extensible format.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 2D Format ==&lt;br /&gt;
=== Define minimum information necessary for reduced data ===&lt;br /&gt;
* definition of what &#039;&#039;&#039;reduced&#039;&#039;&#039; data is and hence the problems we should address.&lt;br /&gt;
* review previous discussions on 2D&lt;br /&gt;
* considerations specific to 2D reduced data&lt;br /&gt;
* consider forward looking issues such as &lt;br /&gt;
** grazing incidence&lt;br /&gt;
** event mode analysis&lt;br /&gt;
&lt;br /&gt;
=== Suggest format framework ===&lt;br /&gt;
* NeXus extension, canSAS 1D extension, other, with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
** compare with NeXus definitions for:&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* James Hester (an expert in the CIF format) has compelling ideas on the subject of common data files. [[CIF format notes Hester]]&lt;br /&gt;
&lt;br /&gt;
* Andrew Nelson has commented via email exchange with Adrian Rennie : [[Email ARJN ARR | Notes on Reduced Data formats with examples from reflectometry]]&lt;br /&gt;
&lt;br /&gt;
*Having looked at both those Nexus definitions it is not clear to me how:&lt;br /&gt;
** multiple detectors are handled.&lt;br /&gt;
** What happens if the detector pixels are not grid shaped?&lt;br /&gt;
** how does one stuff multiple datasets (e.g. from event mode acquisition)?&lt;br /&gt;
Remember, all we need is instrument independent information in this file, nothing else.&lt;br /&gt;
:[[User:Andyfaff|Andyfaff]] 12:45, 27 July 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Ron Ghosh has laid out details of a proposal to use HDF5/Nexus : [[HDF5 Notes Ghosh]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Peter Boesecke misses definitions of parameters that are needed to describe small-angle and wide-angle scattering experiments. Parameters like &amp;quot;Distance&amp;quot;, &amp;quot;Center&amp;quot;, &amp;quot;Rotation&amp;quot; have only a meaning when they are part of a geometrical model, otherwise they are useless. He has collected parameters that are required for SAS/WAS experiments with position sensitive detectors (1D and 2D). When saving experimental data it should be checked that these parameters are either implicitly or explicitly described by the supplied metadata: [[User:Boesecke | SX_parametrization]].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Guide to how to make implementation easy. ===&lt;br /&gt;
=== Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.===&lt;br /&gt;
=== Provide a plan for presentation at SAS 2012 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1014</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1014"/>
		<updated>2012-07-27T17:45:30Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Suggest format framework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments in the appropriate section below:&lt;br /&gt;
&lt;br /&gt;
= Agenda with Discussion =&lt;br /&gt;
&lt;br /&gt;
== 1D Format ==&lt;br /&gt;
=== Agree a proposed extension of the current 1D standard ===&lt;br /&gt;
* This is an extension proposed by Steve King (ISIS) that is required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files&lt;br /&gt;
** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
=== Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet ===&lt;br /&gt;
{{Comment|SMK|For clarity, this extension was proposed &#039;&#039;after&#039;&#039; adoption of the existing version of the standard. Ratification of this extension at CanSAS-2012 would give facilities/software developers the necessary confidence to implement it.}}&lt;br /&gt;
&lt;br /&gt;
{{Comment | SMK  | This proposed extension would allow more-or-less any non-I(Q) data to be included in a CanSAS-1D data file under a suitable foreign namespace. That is remarkable flexibility, and it does not require any significant revision of the existing standard. However, it could be argued that certain types of non-I(Q) data are so integral to a SAS experiment that they should instead be given explicit SASXML tags within the standard? Transmission data is a good example of this: the existing standard explicitly includes a tag for the transmission value from a &#039;&#039;monochromatic&#039;&#039; measurement (SASsample\transmission) but makes no provision for transmission values from &#039;&#039;white beam&#039;&#039;   measurements. The proposed foreign namespace extension will make such provision possible &#039;&#039;but only&#039;&#039; as an extension, not as a formal part of the standard. Is that acceptable? The downside of explicitly adding new SASXML tags to the existing standard is that it would require issuing a new version of the standard. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1D and 2D data.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | SMK  | Agreed.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARR  | Perhaps we should be cautious about suggesting no further development for the existing 1-D format. Unless there is scope for adapting to future needs, it will be seen as not suitable for new uses.  This, of course, does not imply that there have to be active plans for further changes at present. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | AJJ | As to this particular case, I suggest that since SMK and I have it done, that we accept the additional tags, call it v1.1 and move on. If other extensions arise later and become &amp;quot;widely&amp;quot; used, then we can incorporate them as they arise. This is the key benefit of using an extensible format.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 2D Format ==&lt;br /&gt;
=== Define minimum information necessary for reduced data ===&lt;br /&gt;
* definition of what &#039;&#039;&#039;reduced&#039;&#039;&#039; data is and hence the problems we should address.&lt;br /&gt;
* review previous discussions on 2D&lt;br /&gt;
* considerations specific to 2D reduced data&lt;br /&gt;
* consider forward looking issues such as &lt;br /&gt;
** grazing incidence&lt;br /&gt;
** event mode analysis&lt;br /&gt;
&lt;br /&gt;
=== Suggest format framework ===&lt;br /&gt;
* NeXus extension, canSAS 1D extension, other, with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
** compare with NeXus definitions for:&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
&lt;br /&gt;
*Having looked at both those Nexus definitions it is not clear to me how:&lt;br /&gt;
** multiple detectors are handled.&lt;br /&gt;
** What happens if the detector pixels are not grid shaped?&lt;br /&gt;
** how does one stuff multiple datasets (e.g. from event mode acquisition)?&lt;br /&gt;
Remember, all we need is instrument independent information in this file, nothing else.&lt;br /&gt;
:[[User:Andyfaff|Andyfaff]] 12:45, 27 July 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* James Hester (an expert in the CIF format) has compelling ideas on the subject of common data files. [[CIF format notes Hester]]&lt;br /&gt;
&lt;br /&gt;
* Andrew Nelson has commented via email exchange with Adrian Rennie : [[Email ARJN ARR | Notes on Reduced Data formats with examples from reflectometry]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Ron Ghosh has laid out details of a proposal to use HDF5/Nexus : [[HDF5 Notes Ghosh]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Peter Boesecke misses definitions of parameters that are needed to describe small-angle and wide-angle scattering experiments. Parameters like &amp;quot;Distance&amp;quot;, &amp;quot;Center&amp;quot;, &amp;quot;Rotation&amp;quot; have only a meaning when they are part of a geometrical model, otherwise they are useless. He has collected parameters that are required for SAS/WAS experiments with position sensitive detectors (1D and 2D). When saving experimental data it should be checked that these parameters are either implicitly or explicitly described by the supplied metadata: [[User:Boesecke | SX_parametrization]].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Guide to how to make implementation easy. ===&lt;br /&gt;
=== Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.===&lt;br /&gt;
=== Provide a plan for presentation at SAS 2012 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=CIF_format_notes_Hester&amp;diff=1013</id>
		<title>CIF format notes Hester</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=CIF_format_notes_Hester&amp;diff=1013"/>
		<updated>2012-07-27T16:59:52Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: Created page with &amp;quot;The datamodel: key to developing a SAS data transfer framework Hester, J. R.  “Data” in a broad sense includes both the core measurements and the descriptive information s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The datamodel: key to developing a SAS data transfer framework&lt;br /&gt;
Hester, J. R.&lt;br /&gt;
&lt;br /&gt;
“Data” in a broad sense includes both the core measurements and the descriptive information surrounding those measurements. In order to transfer data effectively, both parties must agree on (I) the electronic representation of the information (commonly referred to as the “data format”) and (II) the precise meanings and attributes assigned to the data items encapsulated in the format. While the former requires little more than choosing from any number of off-the-shelf format specifications, the latter requires broad agreement on unambiguous definitions. At the interface between the data format of (I) and the data definitions of (II) lies the data model: this is simultaneously the abstract data structure produced by the data format parser, and the abstract data description that the authors of definitions must link back to the scientific domain. A complex data model will deter members of the scientific community from participation in definition development. Conversely, an overly simple data model will not provide sufficient expressive power to allow computer-driven data manipulation, and may lack flexibility to handle inevitable future changes. The “sweet spot” lies at the simple end of the complexity spectrum where data models describe little more than collections of key-value pairs or collections of data tables. The currently popular hierarchical data formats encourage complexity for little, if any, gain.&lt;br /&gt;
Data transfer protocols benefit from a set of standards for judging dataset quality. The standards provide ready-made data definitions, and journals and referees can require that submissions meet the standards, driving adoption of a data framework that can incorporate information required by the journals at each stage of data processing.&lt;br /&gt;
Requirements for a successful SAS data framework therefore become: (i) a set of standards for SAS data; (ii) a datamodel that is just complex enough to efficiently express this data and potential future data; (iii) one or more formats that can be transformed to and from the target datamodel.&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1012</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=1012"/>
		<updated>2012-07-27T16:59:09Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Suggest format framework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments in the appropriate section below:&lt;br /&gt;
&lt;br /&gt;
= Agenda with Discussion =&lt;br /&gt;
&lt;br /&gt;
== 1D Format ==&lt;br /&gt;
=== Agree a proposed extension of the current 1D standard ===&lt;br /&gt;
* This is an extension proposed by Steve King (ISIS) that is required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files&lt;br /&gt;
** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
=== Agree resultant changes to the &amp;quot;official&amp;quot; schema/stylesheet ===&lt;br /&gt;
{{Comment|SMK|For clarity, this extension was proposed &#039;&#039;after&#039;&#039; adoption of the existing version of the standard. Ratification of this extension at CanSAS-2012 would give facilities/software developers the necessary confidence to implement it.}}&lt;br /&gt;
&lt;br /&gt;
{{Comment | SMK  | This proposed extension would allow more-or-less any non-I(Q) data to be included in a CanSAS-1D data file under a suitable foreign namespace. That is remarkable flexibility, and it does not require any significant revision of the existing standard. However, it could be argued that certain types of non-I(Q) data are so integral to a SAS experiment that they should instead be given explicit SASXML tags within the standard? Transmission data is a good example of this: the existing standard explicitly includes a tag for the transmission value from a &#039;&#039;monochromatic&#039;&#039; measurement (SASsample\transmission) but makes no provision for transmission values from &#039;&#039;white beam&#039;&#039;   measurements. The proposed foreign namespace extension will make such provision possible &#039;&#039;but only&#039;&#039; as an extension, not as a formal part of the standard. Is that acceptable? The downside of explicitly adding new SASXML tags to the existing standard is that it would require issuing a new version of the standard. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARJN | I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1D and 2D data.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | SMK  | Agreed.&lt;br /&gt;
}}&lt;br /&gt;
{{Comment | ARR  | Perhaps we should be cautious about suggesting no further development for the existing 1-D format. Unless there is scope for adapting to future needs, it will be seen as not suitable for new uses.  This, of course, does not imply that there have to be active plans for further changes at present. &lt;br /&gt;
}}&lt;br /&gt;
{{Comment | AJJ | As to this particular case, I suggest that since SMK and I have it done, that we accept the additional tags, call it v1.1 and move on. If other extensions arise later and become &amp;quot;widely&amp;quot; used, then we can incorporate them as they arise. This is the key benefit of using an extensible format.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 2D Format ==&lt;br /&gt;
=== Define minimum information necessary for reduced data ===&lt;br /&gt;
* definition of what &#039;&#039;&#039;reduced&#039;&#039;&#039; data is and hence the problems we should address.&lt;br /&gt;
* review previous discussions on 2D&lt;br /&gt;
* considerations specific to 2D reduced data&lt;br /&gt;
* consider forward looking issues such as &lt;br /&gt;
** grazing incidence&lt;br /&gt;
** event mode analysis&lt;br /&gt;
&lt;br /&gt;
=== Suggest format framework ===&lt;br /&gt;
* NeXus extension, canSAS 1D extension, other, with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
** compare with NeXus definitions for:&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
*** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
----&lt;br /&gt;
* James Hester (an expert in the CIF format) has compelling ideas on the subject of common data files. [[CIF format notes Hester]]&lt;br /&gt;
&lt;br /&gt;
* Andrew Nelson has commented via email exchange with Adrian Rennie : [[Email ARJN ARR | Notes on Reduced Data formats with examples from reflectometry]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Ron Ghosh has laid out details of a proposal to use HDF5/Nexus : [[HDF5 Notes Ghosh]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Peter Boesecke misses definitions of parameters that are needed to describe small-angle and wide-angle scattering experiments. Parameters like &amp;quot;Distance&amp;quot;, &amp;quot;Center&amp;quot;, &amp;quot;Rotation&amp;quot; have only a meaning when they are part of a geometrical model, otherwise they are useless. He has collected parameters that are required for SAS/WAS experiments with position sensitive detectors (1D and 2D). When saving experimental data it should be checked that these parameters are either implicitly or explicitly described by the supplied metadata: [[User:Boesecke | SX_parametrization]].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Guide to how to make implementation easy. ===&lt;br /&gt;
=== Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.===&lt;br /&gt;
=== Provide a plan for presentation at SAS 2012 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=HDF5_Notes_Ghosh&amp;diff=1011</id>
		<title>HDF5 Notes Ghosh</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=HDF5_Notes_Ghosh&amp;diff=1011"/>
		<updated>2012-07-27T16:51:22Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;                   canSAS 2D treated data&lt;br /&gt;
&amp;lt;pre&amp;gt;     &lt;br /&gt;
1. The treated data to be stored might include:&lt;br /&gt;
&lt;br /&gt;
a. sequences of 1D data, measured against a scan variable, eg temperature&lt;br /&gt;
b. one or a sequence of 2D maps, again with possibility of scan variables&lt;br /&gt;
   eg shear rate, temperature, tomography scan etc.&lt;br /&gt;
c. For neutron work the data might be recorded as multiple wave-length &lt;br /&gt;
   slices (TOF); for X-rays these might be from an energy dispersive detector&lt;br /&gt;
e. the data may be measured with polarised neutrons &lt;br /&gt;
f. results from multiple detector configurations.&lt;br /&gt;
&lt;br /&gt;
The common characteristic is the intensity, S(Q,v1,v2..), or S(Qx,Qy,v1,v2...),&lt;br /&gt;
the deviation in S, Q, Qx, Qy, v1... etc.&lt;br /&gt;
&lt;br /&gt;
In addition, continuing from the discussions of canSAS 1D XML data, it&lt;br /&gt;
is useful to add titles, short titles, and a history of precursor(s)&lt;br /&gt;
and treatment (SASprocessnote).&lt;br /&gt;
&lt;br /&gt;
Since the contents have been corrected as far as possible to remove&lt;br /&gt;
instrument characteristics there is no need to propagate these items&lt;br /&gt;
in this treated data; they remain fully described in the raw data.  It&lt;br /&gt;
should thus be possible to merge data from different instruments directly&lt;br /&gt;
at this stage (so item c. might even be results from distinct instruments).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Storage Formats&lt;br /&gt;
&lt;br /&gt;
a. The three platforms where data will be treated are PC-Windows, Macintosh-OSX,&lt;br /&gt;
   and Linux.&lt;br /&gt;
&lt;br /&gt;
b. The primary aim of the canSAS-1D format was to provide a data file which&lt;br /&gt;
   could be automatically read by existing well known programs.  The XML&lt;br /&gt;
   design allows the files to be imported easily into Excel and to be&lt;br /&gt;
   displayed clearly by most web browsers.  The stylised ASCII text can&lt;br /&gt;
   also be read easily without any tools on all three systems.  Attribute&lt;br /&gt;
   fields contained vital information, notably units, for stored values.&lt;br /&gt;
&lt;br /&gt;
c. For potentially large data sets the text readability is much less valuable.&lt;br /&gt;
&lt;br /&gt;
  Navigating large tables of numbers is impracticable.  This was recognised&lt;br /&gt;
  early by the initial proponents of NeXus, notably Jon Tischler (APS).&lt;br /&gt;
  The format proposed for NeXus was based on HDF, the Hierachical Data Format&lt;br /&gt;
  (1990-).  This stored data in system independent binary, &lt;br /&gt;
  in a single file.  For the user this was strucured superficially like&lt;br /&gt;
  a unix file structure, with possiblities of creating links (these, for&lt;br /&gt;
  example, allow creating a slab of a selected region of data as a&lt;br /&gt;
  new entity, but without actually copying the data, simply linking the&lt;br /&gt;
  remapping information to the initial data).  The attraction for very&lt;br /&gt;
  large image data with multiple parameters is evident.  Consequently&lt;br /&gt;
  a number of general data visualisation tools have been developed,&lt;br /&gt;
  and are freely available for all three computer platforms.  It was&lt;br /&gt;
  not initially designed to have large volumes of single valued metadata.&lt;br /&gt;
&lt;br /&gt;
d. The NeXus project started in 1995 with the aim of standardising storage&lt;br /&gt;
   of Neutron and Xray scattering data.  The file format chosen was HDF,&lt;br /&gt;
   based on existing tools and generic visualisation software, but only&lt;br /&gt;
   using a very limited subset for simplicity.  A hierachical dictionary of &lt;br /&gt;
   class names was created and these were attached to the hierachical data&lt;br /&gt;
   items as attributes.  The datafile components were hence navigable through these&lt;br /&gt;
   class names (see appendix 1).  The files are however standard HDF files.&lt;br /&gt;
&lt;br /&gt;
e. In 2003 the increasing limitations (complexity, lack of text methods, etc )&lt;br /&gt;
   of the HDF file format (versions 1 to 4) were finally overcome witha complete&lt;br /&gt;
   change of internal structure, creating HDF5.  The existing petabytes of data&lt;br /&gt;
   in HDF4 compatible format requires continued maintenance of the basic toolset,&lt;br /&gt;
   but all new efforts were directed to HDF5.  The NeXus project too had&lt;br /&gt;
   lead to considereable amounts of data being stored in the HDF4 format,&lt;br /&gt;
   and the NeXus programmers have striven to create a library which&lt;br /&gt;
   is transparent to the type of data file involved.  This is done at&lt;br /&gt;
   a cost of some complexity.&lt;br /&gt;
&lt;br /&gt;
f. For canSAS-2D treated data the need to map the metadata between instruments &lt;br /&gt;
   has been removed; there are few reasons to follow the guidelines for writing&lt;br /&gt;
   a NeXus compatible file.  There are problems of installing software which&lt;br /&gt;
   are dependent on other components, which themselves have dependencies &lt;br /&gt;
   (see appendix 2).   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Proposal for HDF5 based data format for canSAS-2D&lt;br /&gt;
&lt;br /&gt;
a. The necessary identifiers for treated data were discussed for canSAS-1D.&lt;br /&gt;
   The majority of items were optional.&lt;br /&gt;
   It is necessary to extend the information concerning the actual mapped&lt;br /&gt;
   data for canSAS-2D.  &lt;br /&gt;
&lt;br /&gt;
b. The prescription should be extensible. Space requirements are less important&lt;br /&gt;
   than ease of access, dumping sections and browsing.&lt;br /&gt;
&lt;br /&gt;
c. The scattering data could be stored as a sequence of data items  or&lt;br /&gt;
   It would be useful for the first data component in a group to be a &lt;br /&gt;
   2-D plottable array of corrected intensity, or simply identify with the NeXus attribute&lt;br /&gt;
   of Signal=1.  Another option option might be &lt;br /&gt;
   to interpolate this (simple bi-linear, or more sophisticated splines) &lt;br /&gt;
   onto a regular grid linear in x and y.  The plots would then be easier &lt;br /&gt;
   to compare and merge.&lt;br /&gt;
   Additional data items could include scan variables, short identifier&lt;br /&gt;
   titles etc. &lt;br /&gt;
   &lt;br /&gt;
d. In addition to the intensities there could be additional similar maps&lt;br /&gt;
   of intensity deviation, x-deviation, y-deviation, etc.  The notion of &lt;br /&gt;
   links allows the other data items from the first map to be included &lt;br /&gt;
   without needing copies, hence each component appears similar in &amp;quot;shape&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
e. The data could be stored additionally as a sequence of tuples of&lt;br /&gt;
    (S, S_dev, x, x_dev, y, y_dev, polarisation, etc..)  This would allow&lt;br /&gt;
    different measurements to be sorted and merged, for example in TOF&lt;br /&gt;
    measurements several wavelength bands could be saved separately.&lt;br /&gt;
    &lt;br /&gt;
    With the data it is also useful to include the component information &lt;br /&gt;
    and treatment information.  An attribute can contain muli-line text easily.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
f. Since a new set of classes would have to be created for NeXus anyway&lt;br /&gt;
   there seems little point in using/maintaining another package to&lt;br /&gt;
   read/write data.  It is easy to decorate the hdf5 file with the&lt;br /&gt;
   few attributes expected in a NeXus file.  &lt;br /&gt;
   &lt;br /&gt;
   a simple structure might have the following layout&lt;br /&gt;
   &lt;br /&gt;
   canSAS-2D&lt;br /&gt;
     Data&lt;br /&gt;
       S(Qx,Qy) (say 128x128,10,2)&lt;br /&gt;
         Attributes X=&amp;quot;Qx_scale&amp;quot;, Y=&amp;quot;Qy_scale&amp;quot;, Units=&amp;quot;1/cm&amp;quot;, Scan1=&amp;quot;Temperature&amp;quot;&lt;br /&gt;
         Scan2=&amp;quot;Polarisation&amp;quot;, Legend=&amp;quot;short_title&amp;quot;, Interpolation=&amp;quot;None&amp;quot;      &lt;br /&gt;
         Process=&amp;quot;multi-line analysis summary&amp;quot;, Signal=1&lt;br /&gt;
       Sdev(Qx,Qy) (128,128,10,2)&lt;br /&gt;
       Qx_scale (128)&lt;br /&gt;
       Qx_scale_dev (128)&lt;br /&gt;
       Qy_scale (128)&lt;br /&gt;
       Qy_scale_dev(128)&lt;br /&gt;
       Temperature(10)&lt;br /&gt;
       Polarisation(2)&lt;br /&gt;
     &lt;br /&gt;
     Sample&lt;br /&gt;
       Main_Title&lt;br /&gt;
      &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Data browsing for HDF files&lt;br /&gt;
&lt;br /&gt;
Browsers can open files and restructure internal components; most importantly&lt;br /&gt;
they can not only list the contents of data fields, but usually have several&lt;br /&gt;
plotting options for 1D cuts, 2D maps etc.&lt;br /&gt;
&lt;br /&gt;
They include:&lt;br /&gt;
HDFView http://www.hdfgroup.org/hdf-java-html/hdfview/&lt;br /&gt;
HDFExplorer (semi-commercial product $39)&lt;br /&gt;
ISAW (?)&lt;br /&gt;
PyMca   http://pymca.sourceforge.net&lt;br /&gt;
&lt;br /&gt;
HDF5 Data manipulation&lt;br /&gt;
h5py http://code.google.com/p/h5py&lt;br /&gt;
The HDF5 library includes working interfaces and examples for C, C++,&lt;br /&gt;
F77, F90 and java&lt;br /&gt;
The HDF5 library is incorporated into Mathlab, IDL etc.&lt;br /&gt;
&lt;br /&gt;
The NeXus library is built on top of HDF5 and has support for python&lt;br /&gt;
and C.  The fortran90 works only on Windows.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Examples&lt;br /&gt;
&lt;br /&gt;
(One weakness of the NeXus project was the paucity of examples, hence&lt;br /&gt;
the divergence in local implementations.)&lt;br /&gt;
&lt;br /&gt;
Typical example files might include &lt;br /&gt;
 - simple SAS from radially symmetric data to check interpolation procedures&lt;br /&gt;
    etc.&lt;br /&gt;
 - GSAS having a pattern offset from nominal detector centre&lt;br /&gt;
 &lt;br /&gt;
 etc. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Appendix 1  Annotated summary of NeXus raw data file&lt;br /&gt;
&lt;br /&gt;
Structure of Nexus HDF5 file from HDFView&lt;br /&gt;
&lt;br /&gt;
top level 054289.nxs&lt;br /&gt;
   group size 1&lt;br /&gt;
   4 attributes&lt;br /&gt;
   HDF5_Version = 1.8.3&lt;br /&gt;
   NeXus_Version = 4.2.0&lt;br /&gt;
   file_name = /users/data/054289.nxs&lt;br /&gt;
   file_time = 2012-04-19T11:12:34+01:00&lt;br /&gt;
   &lt;br /&gt;
   entry0&lt;br /&gt;
    Group size = 14&lt;br /&gt;
    Number of attributes = 1&lt;br /&gt;
      NX_class = NXentry			! standard starting point for&lt;br /&gt;
      						! NeXus files&lt;br /&gt;
      &lt;br /&gt;
      D22                                  	! instrument name&lt;br /&gt;
      Group size = 14&lt;br /&gt;
      Number of attributes = 1&lt;br /&gt;
        NX_class = NXinstrument			!instrument components &amp;amp; values &lt;br /&gt;
	&lt;br /&gt;
	BS&lt;br /&gt;
	Group size = 12&lt;br /&gt;
	Number of attributes = 1&lt;br /&gt;
	NX_class = NXbeamstop&lt;br /&gt;
	  bx_actual&lt;br /&gt;
	  32-bit floating-point&lt;br /&gt;
	  Number of attributes = 0&lt;br /&gt;
	    Value = 1.81               ! (no units!)&lt;br /&gt;
	    &lt;br /&gt;
	  bx_offset  etc&lt;br /&gt;
	Detector&lt;br /&gt;
	Group size = .....  &lt;br /&gt;
	&lt;br /&gt;
	etc. for each attenuator, collimation, selector ...  &lt;br /&gt;
     data&lt;br /&gt;
     Group size = 1&lt;br /&gt;
     Number of attributes = 1&lt;br /&gt;
       NX_class = NXdata&lt;br /&gt;
       data&lt;br /&gt;
       32-bit integer, 128 x 128 x 1&lt;br /&gt;
       Number of attributes = 1&lt;br /&gt;
         signal = 1				! shows plottable data entity&lt;br /&gt;
	   value	   table[,,]&lt;br /&gt;
	   &lt;br /&gt;
     sample&lt;br /&gt;
     Group size = 20&lt;br /&gt;
     Number of attributes = 1&lt;br /&gt;
        NX_class = NXsample&lt;br /&gt;
	  temperature			&lt;br /&gt;
	  32-bit floating-point&lt;br /&gt;
	  Number or attributes = 0&lt;br /&gt;
	  san_actual 				! sample rotation angle&lt;br /&gt;
	  32-bit floating-point&lt;br /&gt;
	  Number or attributes = 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Appendix 2 installing and running programs on different systems using gcc&lt;br /&gt;
&lt;br /&gt;
The dependencies for hdf based software are illustrated below.&lt;br /&gt;
 &lt;br /&gt;
Macintosh OSX, Leopard 10.5.8 (2008) with Xcode, gfortran, gcc 4.2.3&lt;br /&gt;
Linux: Fedora Core-11 (2009) gfortran, gcc 4.4&lt;br /&gt;
&lt;br /&gt;
HDFView 2.7   for pre-2010 systems, v2.8 current&lt;br /&gt;
HDF5 version 1.8.5 for pre-2010 systems..currently 1.8.9&lt;br /&gt;
     h5py 1.3.1.tar.gz  (requires python 2.5-2.6, HDF5 1.6.5 to 1.8.5)&lt;br /&gt;
      requires HDF5 built without Fortran support (needs shared libraries)&lt;br /&gt;
     NeXus-4.2.1 &lt;br /&gt;
        Notes:   requires mxml package, mxml-2.7.tar.gz&lt;br /&gt;
	&lt;br /&gt;
Several binary packages for NeXus (.dmg, .rpm failed dependencies ) all&lt;br /&gt;
finally rebuilt from source.&lt;br /&gt;
&lt;br /&gt;
To build each component requires inspecting the INSTALL information&lt;br /&gt;
to create a suitable set of libraries.  The HDF5 package built&lt;br /&gt;
easily though one of the checks in the x86_64 linux package stopped&lt;br /&gt;
the system (large number test).&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
Windows - installation binaries Windows-XP for MinGW&lt;br /&gt;
    zlib-      built by MSYS&lt;br /&gt;
    hdf5-1.8.5 built by MSYS -- manually: -lws2_32 added to link library list &lt;br /&gt;
    (a binary distribution exists for Intel compilers)&lt;br /&gt;
    python-2.7.3.msi&lt;br /&gt;
    numpy-1.6.2.win32-py2.7.exe&lt;br /&gt;
    h5py-2.0.1.win32-py2.7.msi&lt;br /&gt;
    NeXus-4.2.0.zip requires mxml&lt;br /&gt;
        mxml mxml-2.7.tar.gz  hand-built libmxml.a (without MSYS)&lt;br /&gt;
&lt;br /&gt;
There are severe problems in using the most recent versions perhaps&lt;br /&gt;
linked to the changes for the x86_64 architecture.  The pre-built&lt;br /&gt;
NeXus packages all depend on the hdf4 and hdf5 and mxml libraries.&lt;br /&gt;
The last would require installing the MSYS package, or hand-building.&lt;br /&gt;
&lt;br /&gt;
Appendix 3       Summary of test file cd2_050506_001.h5&lt;br /&gt;
&lt;br /&gt;
Data are from mondisperse spheres (A. Rennie) D22, run 50506+&lt;br /&gt;
&lt;br /&gt;
h5dump -n cd2_050506_001.h5&lt;br /&gt;
&lt;br /&gt;
HDF5 &amp;quot;cd2_050506_001.h5&amp;quot; {&lt;br /&gt;
FILE_CONTENTS {&lt;br /&gt;
 group      /&lt;br /&gt;
 group      /canSAS2D&lt;br /&gt;
 group      /canSAS2D/ASample&lt;br /&gt;
 dataset    /canSAS2D/ASample/Title&lt;br /&gt;
 group      /canSAS2D/Data&lt;br /&gt;
 dataset    /canSAS2D/Data/Qx&lt;br /&gt;
 dataset    /canSAS2D/Data/Qy&lt;br /&gt;
 dataset    /canSAS2D/Data/S&lt;br /&gt;
 dataset    /canSAS2D/Data/Sdev&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
showing the structure in more detail with NeXus decorations:&lt;br /&gt;
&lt;br /&gt;
h5dump -A cd2_050506_001.h5&lt;br /&gt;
&lt;br /&gt;
HDF5 &amp;quot;cd2_050506_001.h5&amp;quot; {&lt;br /&gt;
GROUP &amp;quot;/&amp;quot; {&lt;br /&gt;
   GROUP &amp;quot;canSAS2D&amp;quot; {&lt;br /&gt;
      GROUP &amp;quot;ASample&amp;quot; {&lt;br /&gt;
         ATTRIBUTE &amp;quot;NXclass&amp;quot; {&lt;br /&gt;
            DATATYPE  H5T_STRING {&lt;br /&gt;
                  STRSIZE 8;&lt;br /&gt;
                  STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                  CSET H5T_CSET_ASCII;&lt;br /&gt;
                  CTYPE H5T_C_S1;&lt;br /&gt;
               }&lt;br /&gt;
            DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
            DATA {&lt;br /&gt;
            (0): &amp;quot;NXsample&amp;quot;&lt;br /&gt;
            }&lt;br /&gt;
         }&lt;br /&gt;
         DATASET &amp;quot;Title&amp;quot; {&lt;br /&gt;
            DATATYPE  H5T_STRING {&lt;br /&gt;
                  STRSIZE 50;&lt;br /&gt;
                  STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                  CSET H5T_CSET_ASCII;&lt;br /&gt;
                  CTYPE H5T_C_S1;&lt;br /&gt;
               }&lt;br /&gt;
            DATASPACE  SCALAR&lt;br /&gt;
         }&lt;br /&gt;
      }&lt;br /&gt;
      GROUP &amp;quot;Data&amp;quot; {&lt;br /&gt;
         DATASET &amp;quot;Qx&amp;quot; {&lt;br /&gt;
            DATATYPE  H5T_IEEE_F32LE&lt;br /&gt;
            DATASPACE  SIMPLE { ( 128 ) / ( 128 ) }&lt;br /&gt;
            ATTRIBUTE &amp;quot;Units&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 3;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;1/A&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
         }&lt;br /&gt;
         DATASET &amp;quot;Qy&amp;quot; {&lt;br /&gt;
            DATATYPE  H5T_IEEE_F32LE&lt;br /&gt;
            DATASPACE  SIMPLE { ( 128 ) / ( 128 ) }&lt;br /&gt;
            ATTRIBUTE &amp;quot;Units&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 3;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;1/A&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
         }&lt;br /&gt;
         DATASET &amp;quot;S&amp;quot; {&lt;br /&gt;
            DATATYPE  H5T_IEEE_F32LE&lt;br /&gt;
            DATASPACE  SIMPLE { ( 128, 128 ) / ( 128, 128 ) }&lt;br /&gt;
            ATTRIBUTE &amp;quot;Interpolation&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 4;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;None&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
            ATTRIBUTE &amp;quot;NXclass&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 6;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;NXdata&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
            ATTRIBUTE &amp;quot;Process&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 80;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 5 ) / ( 5 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;Created by apl8  27-Jun-2012 22:01:09    MASK: m12a.msk                         &amp;quot;,&lt;br /&gt;
               (1): &amp;quot; AvA1 0.0000E+00 AsA2 8.2300E-01 XvA3 0.0000E+00 XsA4 8.2300E-02 XfA5 0.0000E+00&amp;quot;,&lt;br /&gt;
               (2): &amp;quot;S... 50506  0  6.80E+02 sple A 0.4%     Sbak 50505  0  6.79E+02 MT cell         &amp;quot;,&lt;br /&gt;
               (3): &amp;quot;Cd/E 50510  0  3.40E+02 blocked beam                                            &amp;quot;,&lt;br /&gt;
               (4): &amp;quot;                                                                                &amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
            ATTRIBUTE &amp;quot;Signal&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STD_I32LE&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): 1&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
            ATTRIBUTE &amp;quot;Units&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 4;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;1/cm&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
            ATTRIBUTE &amp;quot;x_scale&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 2;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;Qx&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
            ATTRIBUTE &amp;quot;y_scale&amp;quot; {&lt;br /&gt;
               DATATYPE  H5T_STRING {&lt;br /&gt;
                     STRSIZE 2;&lt;br /&gt;
                     STRPAD H5T_STR_SPACEPAD;&lt;br /&gt;
                     CSET H5T_CSET_ASCII;&lt;br /&gt;
                     CTYPE H5T_C_S1;&lt;br /&gt;
                  }&lt;br /&gt;
               DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }&lt;br /&gt;
               DATA {&lt;br /&gt;
               (0): &amp;quot;Qy&amp;quot;&lt;br /&gt;
               }&lt;br /&gt;
            }&lt;br /&gt;
         }&lt;br /&gt;
         DATASET &amp;quot;Sdev&amp;quot; {&lt;br /&gt;
            DATATYPE  H5T_IEEE_F32LE&lt;br /&gt;
            DATASPACE  SIMPLE { ( 128, 128 ) / ( 128, 128 ) }&lt;br /&gt;
         }&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
python h5toText.py cd2_050506_001.h5 &lt;br /&gt;
cd2_050506_001.h5&lt;br /&gt;
  canSAS2D&lt;br /&gt;
    ASample&lt;br /&gt;
      @NXclass = [&#039;NXsample&#039;]&lt;br /&gt;
      Title:char[50][] = __array&lt;br /&gt;
        __array = &lt;br /&gt;
    Data&lt;br /&gt;
      Qx:float32[128] = __array&lt;br /&gt;
        @Units = [&#039;1/A&#039;]&lt;br /&gt;
        __array = [-0.0093729430809617043, -0.0091350506991147995, -0.0088971592485904694, &#039;...&#039;, 0.020839333534240723]&lt;br /&gt;
      Qy:float32[128] = __array&lt;br /&gt;
        @Units = [&#039;1/A&#039;]&lt;br /&gt;
        __array = [-0.015177506022155285, -0.01493961364030838, -0.01470172218978405, &#039;...&#039;, 0.015034771524369717]&lt;br /&gt;
      S:float32[128,128] = __array&lt;br /&gt;
        @NXclass = [&#039;NXdata&#039;]&lt;br /&gt;
        @x_scale = [&#039;Qx&#039;]&lt;br /&gt;
        @y_scale = [&#039;Qy&#039;]&lt;br /&gt;
        @Interpolation = [&#039;None&#039;]&lt;br /&gt;
        @Units = [&#039;1/cm&#039;]&lt;br /&gt;
        @Signal = [1]&lt;br /&gt;
        @Process = [&#039;Created by apl8  27-Jun-2012 22:01:09    MASK: m12a.msk&#039;&lt;br /&gt;
 &#039; AvA1 0.0000E+00 AsA2 8.2300E-01 XvA3 0.0000E+00 XsA4 8.2300E-02 XfA5 0.0000E+00&#039;&lt;br /&gt;
 &#039;S... 50506  0  6.80E+02 sple A 0.4%     Sbak 50505  0  6.79E+02 MT cell&#039;&lt;br /&gt;
 &#039;Cd/E 50510  0  3.40E+02 blocked beam&#039; &#039;&#039;]&lt;br /&gt;
        __array = [&lt;br /&gt;
            [0.0, 0.0, 0.0, &#039;...&#039;, 0.0]&lt;br /&gt;
            [0.0, 0.0, 0.0, &#039;...&#039;, 0.0]&lt;br /&gt;
            [0.0, 0.0, 0.0651400014758, &#039;...&#039;, 0.0]&lt;br /&gt;
            ...&lt;br /&gt;
            [0.0, 0.0, 0.0, &#039;...&#039;, 0.0]&lt;br /&gt;
          ]&lt;br /&gt;
      Sdev:float32[128,128] = __array&lt;br /&gt;
        __array = [&lt;br /&gt;
            [0.0, 0.0, 0.0, &#039;...&#039;, 0.0]&lt;br /&gt;
            [0.0, 0.0, 0.0, &#039;...&#039;, 0.0]&lt;br /&gt;
            [0.0, 0.0, 0.0420599989593, &#039;...&#039;, 0.0]&lt;br /&gt;
            ...&lt;br /&gt;
            [0.0, 0.0, 0.0, &#039;...&#039;, 0.0]&lt;br /&gt;
          ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The file is easily read and dumped by h5dump,&lt;br /&gt;
and may be plotted with HDFView, and PyMCA.&lt;br /&gt;
&lt;br /&gt;
The file size is 140768 bytes for 128x128 data and errors&lt;br /&gt;
The ASCII orginal data are 370694 bytes &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The example data file may be obtained from&lt;br /&gt;
&lt;br /&gt;
ftp://ftp.ill.fr/pub/cs/reg/canSAS2D/cd2_050506_001.h5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:[[User:Ron Ghosh|Ron Ghosh]] 10:51, 2 July 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have had quite a serious issue with HDF5 - it has often issues when you are trying to read and write from NFS mounted network drives. For example, your instrument acquisition is trying to write a (read only) datafile to a network drive. However, you are trying to access it at the same time. Sometimes this leads to data corruption in the HDF5 file. This may not immediately be an issue for reduced datasets, but it is still a deficiency of the hdf5 approach. &lt;br /&gt;
I do like the h5py approach to accessing for hdf5 files. However, at the end of the day hdf5 is binary. And it is hierarchical - you simply cannot change much about the file format once it is written. Plus, binary is simply a step too far for me. It takes me away from the data and I don&#039;t want that. I remember we had a big discussion at the last canSAS meeting about the iron rule that it had to be readable in Excel. I&#039;m pretty sure you can&#039;t read HDF5 from Excel.  Any format that is decided on simply has to be able to cope with 1D, 2D and all the other bells and whistles. I don&#039;t think that HDF5 gives the user the easy access they need to the data, nor does it give any flexibility for future changes.&lt;br /&gt;
:[[User:Andyfaff|Andyfaff]] 11:51, 27 July 2012 (CDT)&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=860</id>
		<title>2012 Data Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=2012_Data_Discussion&amp;diff=860"/>
		<updated>2012-06-08T00:38:34Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*The following is the agenda of work posted under business for [[canSAS-2012]].  Please add comments here:&lt;br /&gt;
** &#039;&#039;&#039;1D Format&#039;&#039;&#039;&lt;br /&gt;
** agree a proposed foreign namespace extension of the current 1D standard (required to enable, for example, t-o-f instruments to store auxillary wavelength-dependent non-I(Q) data in the same output files)&lt;br /&gt;
*** see Section 1.6.5 in [http://svn.smallangles.net/trac/canSAS/browser/1dwg/tags/v1.0/doc/cansas-1d-1_0-manual.pdf?format=raw here]&lt;br /&gt;
*** and look at this [http://svn.smallangles.net/trac/canSAS/browser/1dwg/data/Glassy%20Carbon/ISIS/GLASSYC_C4G8G9_withTL.xml example]&lt;br /&gt;
*** or [http://www.smallangles.net/wgwiki/images/f/f5/ISIS_SASXML_v1_1_Monitor_Spectrum_Example.XML this] one&lt;br /&gt;
** agree resultant changes to the schema/stylesheet&lt;br /&gt;
    ARJN - I would recommend that during this meeting that the current format then be &#039;parked&#039;, the new 2D format&lt;br /&gt;
           should be flexible enough to handle 1D and 2D data&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
** &#039;&#039;&#039;2D Format&#039;&#039;&#039;&lt;br /&gt;
** define minimum necessary for reduced data&lt;br /&gt;
*** review previous discussions on 2D&lt;br /&gt;
*** considerations specific to 2D reduced data&lt;br /&gt;
*** consider forward looking issues such as &lt;br /&gt;
**** grazing incidence&lt;br /&gt;
**** event mode analysis&lt;br /&gt;
** suggest format framework (NeXus extension, canSAS 1D extension, other) with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
*** compare with NeXus definitions for:&lt;br /&gt;
**** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
**** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
** Guide to how to make implementation easy.&lt;br /&gt;
** Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.&lt;br /&gt;
** Provide a plan for presentation at SAS 2012&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
* A proposal for a 2D version of the canSAS 1D data format has been posted for discussion: [[2D Data Format Proposal]]&lt;br /&gt;
* NeXus has a definition for multi-dimensional data:&lt;br /&gt;
** http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas&lt;br /&gt;
** http://svn.nexusformat.org/definitions/trunk/applications/NXsas.nxdl.xml&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Discussion ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: canSAS 2012]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=canSAS-2012&amp;diff=801</id>
		<title>canSAS-2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=canSAS-2012&amp;diff=801"/>
		<updated>2012-03-15T04:01:08Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
Meeting of canSAS working groups&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
Work on specific matters important to the canSAS community as decided in previous conference calls.&lt;br /&gt;
It is expected that those attending this working session will already have strong foundation and &lt;br /&gt;
understanding and will come ready with knowledge, tools, and ideas to make significant progress &lt;br /&gt;
during the event. The specific projects and tasks, as well as the list of participants, are &lt;br /&gt;
described on this wiki and will be revised as the event draws near.&lt;br /&gt;
&lt;br /&gt;
== Outcomes ==&lt;br /&gt;
&lt;br /&gt;
* 2-d data format&lt;br /&gt;
* A plan for standards&lt;br /&gt;
* Global SAS Web Portal&lt;br /&gt;
* presentation at SAS2012&lt;br /&gt;
&lt;br /&gt;
== Dates ==&lt;br /&gt;
&lt;br /&gt;
* 2012 July 28 - 31 (Saturday - Tuesday, inclusive)&lt;br /&gt;
&lt;br /&gt;
== Meeting Location ==&lt;br /&gt;
&lt;br /&gt;
Uppsala University&lt;br /&gt;
&amp;lt;br /&amp;gt;Building:   Angstrom Laboratory [http://www.polacksbacken.uu.se/Valkommen_till_Polacksbacken/Polacksbackens+historia/Angstromlaboratoriet/]&amp;lt;br /&amp;gt;Room(s): TBA&lt;br /&gt;
&lt;br /&gt;
== Schedule ==&lt;br /&gt;
&lt;br /&gt;
* arrive the previous day (Friday, 2012-07-27)&lt;br /&gt;
* conference check-in first morning (Saturday, 2012-07-28), location TBA&lt;br /&gt;
* meet all day (Sunday, 2012-07-29), location TBA&lt;br /&gt;
* meet all day (Monday, 2012-07-30), location TBA&lt;br /&gt;
* meet all day (Tuesday, 2012-07-31), location TBA&lt;br /&gt;
* checkout next day (Wednesday, 2012-08-01)&lt;br /&gt;
&lt;br /&gt;
=== Daily Agenda ===&lt;br /&gt;
&lt;br /&gt;
Meeting room is TBA&lt;br /&gt;
&lt;br /&gt;
Here is the daily schedule (tentative):&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! time || description || comments&lt;br /&gt;
|-&lt;br /&gt;
| 8:45 - 10:00 AM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | plenary&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | previous day&#039;s report and question&lt;br /&gt;
|-&lt;br /&gt;
| 10:15 - 12:30 PM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | morning session&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | work in groups&lt;br /&gt;
|-&lt;br /&gt;
| 12:30  - 2:00 PM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | lunch&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | TBA&lt;br /&gt;
|-&lt;br /&gt;
| 2:00 - 4:30 PM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | afternoon session&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | work in groups&lt;br /&gt;
|-&lt;br /&gt;
| 4:30 - 4:45 PM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | plenary&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | tea, coffee&lt;br /&gt;
|-&lt;br /&gt;
| 4:45 - 6:30 PM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | plenary&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | reports and discussions&lt;br /&gt;
|-&lt;br /&gt;
| 6:30 - 8:00 PM&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | dinner&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | TBA&lt;br /&gt;
|-&lt;br /&gt;
| 8:00 PM - ?&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | evening discussions&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ad hoc&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Planning ==&lt;br /&gt;
&lt;br /&gt;
=== Business Matters ===&lt;br /&gt;
&lt;br /&gt;
* resolve remaining ISIS 1D issue (probably should be done PRIOR to meeting)&lt;br /&gt;
    ARJN - I would recommend that during this meeting that the current format be &#039;parked&#039;, the new 2D format should be flexible enough to handle 1 and 2D data.&lt;br /&gt;
* Enunciate purpose and benefits of a standard &#039;&#039;reduced data&#039;&#039; format&lt;br /&gt;
** define minimum necessary for reduced data&lt;br /&gt;
*** review previous discussions on 2D&lt;br /&gt;
*** considerations specific to 2D reduced data&lt;br /&gt;
*** consider forward looking issues such as &lt;br /&gt;
**** grazing incidence&lt;br /&gt;
**** event mode analysis&lt;br /&gt;
** suggest format framework (NeXus extension, canSAS 1D extension, other) with brief discussion of the reason for the choice (including options considered, pros and cons of each, and final weighing)&lt;br /&gt;
*** compare with NeXus definitions for:&lt;br /&gt;
**** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXsas &#039;&#039;&#039;NXsas&#039;&#039;&#039;]&lt;br /&gt;
**** [http://download.nexusformat.org/doc/html/ClassDefinitions-Application.html#NXiqproc &#039;&#039;&#039;NXiqproc&#039;&#039;&#039;]&lt;br /&gt;
** Guide to how to make implementation easy.&lt;br /&gt;
** Create straw format suitable for test/demonstration use and convert some test data for such a demonstration.&lt;br /&gt;
** Provide a plan for presentation at SAS 2012&lt;br /&gt;
* Standards&lt;br /&gt;
** Define purpose/goals &lt;br /&gt;
*** (e.g. QA/QC, &lt;br /&gt;
*** improvement in uncertainties of measurements in general, &lt;br /&gt;
*** helping each facility continuously improve &lt;br /&gt;
*** etc.)&lt;br /&gt;
** what types of tests are interesting/important &lt;br /&gt;
*** (e.g. beam intensity standards - there are several different ways to quantify- &lt;br /&gt;
*** ? resolution? &lt;br /&gt;
*** abs intensity calibration,&lt;br /&gt;
*** Q calibration,&lt;br /&gt;
*** etc. etc,&lt;br /&gt;
** other contribution issues - &lt;br /&gt;
*** inelastic, &lt;br /&gt;
*** multiple scattering, &lt;br /&gt;
*** wavelength contamination, &lt;br /&gt;
*** detector efficiencies at diff wavelengths etc..; &lt;br /&gt;
*** limits in signal to noise - how weak a signal can be reliable extracted; &lt;br /&gt;
*** etc etc etc)&lt;br /&gt;
** written plan for long term sustaining of effort &lt;br /&gt;
*** (assuming “ad-hoc” projects how to seed them, &lt;br /&gt;
*** how frequently, and &lt;br /&gt;
*** how to disseminate/share results including “advertizing:” project&lt;br /&gt;
** Define list of 2 or 3 projects to work on in the near term including plan of action and participants for each.&lt;br /&gt;
** plan for presentation at SAS 2012 (could be just to announce plan and see who wants to participate?)&lt;br /&gt;
* Global SAS Web Portal&lt;br /&gt;
** define scope, purpose, and goal of portal&lt;br /&gt;
** list content type to which such a portal should give access.&lt;br /&gt;
** Suggest method for hosting &lt;br /&gt;
*** ?more distributed or more centralized, &lt;br /&gt;
*** ?under auspices of a particular facility or SAS commission&lt;br /&gt;
*** ? .. or both etc)&lt;br /&gt;
** Build a working straw landing page prototype&lt;br /&gt;
** Build at least 2 or 3 subpages and/or designs on paper&lt;br /&gt;
** plan for presentations&lt;br /&gt;
*** SAS 2012 &lt;br /&gt;
*** SAS commision&lt;br /&gt;
&lt;br /&gt;
=== Projects and Tasks ===&lt;br /&gt;
&lt;br /&gt;
These items are sorted in order of priority that they be finished.&lt;br /&gt;
&lt;br /&gt;
# 2-D format&lt;br /&gt;
# Standardization&lt;br /&gt;
# SAS web portal&lt;br /&gt;
# ...&lt;br /&gt;
&lt;br /&gt;
=== Presentations ===&lt;br /&gt;
&lt;br /&gt;
# the canSAS 1D, lessons learned&lt;br /&gt;
# ...&lt;br /&gt;
&lt;br /&gt;
== Practical Matters ==&lt;br /&gt;
&lt;br /&gt;
=== Registration ===&lt;br /&gt;
&lt;br /&gt;
TBA&lt;br /&gt;
&lt;br /&gt;
=== Hotel ===&lt;br /&gt;
&lt;br /&gt;
Clarion Hotel Gillet, Uppsala &lt;br /&gt;
&amp;lt;br /&amp;gt; Dragarbrunnsgatan 23,&lt;br /&gt;
&amp;lt;br /&amp;gt; 753 20 Uppsala, Sweden&lt;br /&gt;
&lt;br /&gt;
*Expect hotel rate to be 570 SEK for 1 Single Bed (approximate, subject to change)&lt;br /&gt;
** Please reserve your own rooms directly with the hotel (website, phone, ...)&lt;br /&gt;
&lt;br /&gt;
Please reserve your own rooms directly with the hotel:&lt;br /&gt;
;Web site: http://www.clarionhotelgillet.com/&lt;br /&gt;
;telephone: +46 (0) 18 68 18 00&lt;br /&gt;
;fax: +46 (0) 18 68 18 18&lt;br /&gt;
;e-mail: cl.uppsala@choice.se&lt;br /&gt;
;[http://maps.google.com/maps/place?q=Clarion+Hotel+Gillet,+Uppsala++Dragarbrunnsgatan+23,+753+20+Uppsala,+Sweden&amp;amp;hl=en&amp;amp;cid=6476341721226749910 map reference]:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Directions and Maps ===&lt;br /&gt;
&lt;br /&gt;
* map to hotel:  [http://maps.google.com/maps?saddr=Stockholm+Arlanda+(ARN):+international+airport&amp;amp;daddr=Uppsala,+Sweden&amp;amp;hl=en&amp;amp;sll=59.745326,17.796478&amp;amp;sspn=0.290609,0.701065&amp;amp;geocode=FRE_jgMdbLsRASG2Z_q9nBX8JQ%3BFYRekQMdDyYNASmNqzKF-8tfRjEHCIKFCulPqg&amp;amp;gl=us&amp;amp;dirflg=r&amp;amp;ttype=now&amp;amp;noexp=0&amp;amp;noal=0&amp;amp;sort=def&amp;amp;mra=prev&amp;amp;t=h&amp;amp;z=11&amp;amp;start=0 google directions from airport]&lt;br /&gt;
* airport: Stockholm Arlanda (ARN): international&lt;br /&gt;
* taxi: Uppsala Taxi +4618 100000&lt;br /&gt;
* train: [http://maps.google.com/maps?q=type:transit_station:%22Uppsala+Centralstation%22&amp;amp;hl=en&amp;amp;ll=59.858518,17.645931&amp;amp;spn=0.004525,0.010954&amp;amp;sll=59.858534,17.646086&amp;amp;sspn=0.000000,0.000000&amp;amp;view=map&amp;amp;ftid=0x465fcbf9a0d697b1:0x1901cc46b512aff6&amp;amp;ftt=321&amp;amp;geocode=FWZekQMdBkINAQ&amp;amp;hnear=Uppsala+Centralstation&amp;amp;t=h&amp;amp;z=17 Trains] from airport to Uppsala take about 20 minutes.  Frequency every 30 minutes. [http://maps.google.com/maps/place?q=type:transit_station:%22Uppsala+Centralstation%22&amp;amp;hl=en&amp;amp;ftid=0x465fcbf9a0d697b1:0x1901cc46b512aff6 map reference]&lt;br /&gt;
&lt;br /&gt;
=== Host ===&lt;br /&gt;
&lt;br /&gt;
* Adrian Rennie&lt;br /&gt;
** institute: Uppsala University&lt;br /&gt;
** email: Adrian.Rennie@fysik.uu.se&lt;br /&gt;
** office phone: +46184713596&lt;br /&gt;
&lt;br /&gt;
=== Costs ===&lt;br /&gt;
&lt;br /&gt;
* Conference fee: no fee &lt;br /&gt;
* regular meals (breakfast, lunch, dinner) will be traveler&#039;s expense&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! item || quantity || who provides?&lt;br /&gt;
|-&lt;br /&gt;
| projector &amp;amp; screen&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host&lt;br /&gt;
|-&lt;br /&gt;
| LCD displays, keyboards, &amp;amp; mice &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host&lt;br /&gt;
|-&lt;br /&gt;
| electrical power extension cords&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host&lt;br /&gt;
|-&lt;br /&gt;
| foreign electrical power adapter&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | as needed&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | traveler&lt;br /&gt;
|-&lt;br /&gt;
| Wi-Fi connections&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | sufficient&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host venue&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Participants ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! participant || affiliation || arriving || departing || registration? || other&lt;br /&gt;
|-&lt;br /&gt;
| Adrian Rennie&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [http://www.uu.se Uppsala University]&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | host&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Paul Butler&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [http://www.nist.gov NIST]&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-07-27&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-08-01&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | tba&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Andrew Jackson&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-07-27&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-08-01&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | tba&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Pete Jemian&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | [http://www.aps.anl.gov APS]&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-07-27&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-08-01&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | tba&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Steve King&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ISIS&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-07-27&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2012-08-01&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | tba&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Final Report ==&lt;br /&gt;
&lt;br /&gt;
-tba-&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=cansas1d.xml&amp;diff=154</id>
		<title>cansas1d.xml</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=cansas1d.xml&amp;diff=154"/>
		<updated>2007-12-24T01:40:59Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* XML template: cansas1d.xml */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=XML template: cansas1d.xml=&lt;br /&gt;
--[[User:Jemian|Jemian]] 11:49, 21 December 2007 (EST)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
(cansas1d.xml has been validated against [[cansas1d_xsd |cansas1d.xsd]])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;SASroot xmlns=&amp;quot;http://www.smallangles.net/cansas1d&amp;quot;&lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
	xsi:schemaLocation=&amp;quot;http://www.smallangles.net/cansas1d cansas1d.xsd&amp;quot;&lt;br /&gt;
	version=&amp;quot;0.1a&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SASentry&amp;gt;&lt;br /&gt;
		&amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;Run&amp;gt;&amp;lt;/Run&amp;gt;&lt;br /&gt;
		&amp;lt;SASdata&amp;gt;&lt;br /&gt;
			&amp;lt;Idata&amp;gt;&lt;br /&gt;
				&amp;lt;Q unit=&amp;quot;1/A&amp;quot;&amp;gt;0.02&amp;lt;/Q&amp;gt;&lt;br /&gt;
				&amp;lt;I unit=&amp;quot;1/cm&amp;quot;&amp;gt;1000&amp;lt;/I&amp;gt;&lt;br /&gt;
				&amp;lt;Qdev unit=&amp;quot;1/A&amp;quot;&amp;gt;0.01&amp;lt;/Qdev&amp;gt;&lt;br /&gt;
				&amp;lt;Idev unit=&amp;quot;1/cm&amp;quot;&amp;gt;3&amp;lt;/Idev&amp;gt;&lt;br /&gt;
				&amp;lt;Qfwhm unit=&amp;quot;1/A&amp;quot;&amp;gt;&amp;lt;!-- Qfwhm is optional --&amp;gt;&amp;lt;/Qfwhm&amp;gt;&lt;br /&gt;
				&amp;lt;Qmean unit=&amp;quot;1/A&amp;quot;&amp;gt;&amp;lt;!-- Qmean is optional --&amp;gt;&amp;lt;/Qmean&amp;gt;&lt;br /&gt;
				&amp;lt;Shadowfactor&amp;gt;&amp;lt;!-- Shadowfactor is optional --&amp;gt;&amp;lt;/Shadowfactor&amp;gt;&lt;br /&gt;
			&amp;lt;/Idata&amp;gt;&lt;br /&gt;
		&amp;lt;/SASdata&amp;gt;&lt;br /&gt;
		&amp;lt;SASsample&amp;gt;&lt;br /&gt;
			&amp;lt;ID&amp;gt;SI600-new-long&amp;lt;/ID&amp;gt;&lt;br /&gt;
			&amp;lt;thickness unit=&amp;quot;mm&amp;quot;&amp;gt;1.03&amp;lt;/thickness&amp;gt;&lt;br /&gt;
			&amp;lt;transmission&amp;gt;0.327&amp;lt;/transmission&amp;gt;&lt;br /&gt;
			&amp;lt;temperature unit=&amp;quot;C&amp;quot;&amp;gt;0.0000&amp;lt;/temperature&amp;gt;&lt;br /&gt;
			&amp;lt;position&amp;gt;&lt;br /&gt;
				&amp;lt;x unit=&amp;quot;mm&amp;quot;&amp;gt;10.00&amp;lt;/x&amp;gt;&lt;br /&gt;
				&amp;lt;y unit=&amp;quot;mm&amp;quot;&amp;gt;0.00&amp;lt;/y&amp;gt;&lt;br /&gt;
			&amp;lt;/position&amp;gt;&lt;br /&gt;
			&amp;lt;orientation&amp;gt;&lt;br /&gt;
				&amp;lt;roll unit=&amp;quot;degree&amp;quot;&amp;gt;22.5&amp;lt;!-- was: sample_orientation --&amp;gt;&amp;lt;/roll&amp;gt;&lt;br /&gt;
				&amp;lt;pitch unit=&amp;quot;degree&amp;quot;&amp;gt;0.020&amp;lt;!-- was: sample_offset_angle --&amp;gt;&amp;lt;/pitch&amp;gt;&lt;br /&gt;
			&amp;lt;/orientation&amp;gt;&lt;br /&gt;
			&amp;lt;details&amp;gt;&lt;br /&gt;
				&amp;lt;!-- was: sample_prep --&amp;gt;&lt;br /&gt;
				http://chemtools.chem.soton.ac.uk/projects/blog/blogs.php/bit_id/2720&lt;br /&gt;
			&amp;lt;/details&amp;gt;&lt;br /&gt;
		&amp;lt;/SASsample&amp;gt;&lt;br /&gt;
		&amp;lt;SASinstrument&amp;gt;&lt;br /&gt;
			&amp;lt;name&amp;gt;canSAS instrument&amp;lt;/name&amp;gt;&lt;br /&gt;
			&amp;lt;SASsource&amp;gt;&lt;br /&gt;
				&amp;lt;radiation&amp;gt;neutron&amp;lt;/radiation&amp;gt;&lt;br /&gt;
				&amp;lt;beam_size&amp;gt;&lt;br /&gt;
					&amp;lt;x unit=&amp;quot;mm&amp;quot;&amp;gt;12.00&amp;lt;/x&amp;gt;&lt;br /&gt;
					&amp;lt;y unit=&amp;quot;mm&amp;quot;&amp;gt;12.00&amp;lt;/y&amp;gt;&lt;br /&gt;
				&amp;lt;/beam_size&amp;gt;&lt;br /&gt;
				&amp;lt;beam_shape&amp;gt;disc&amp;lt;/beam_shape&amp;gt;&lt;br /&gt;
				&amp;lt;wavelength unit=&amp;quot;A&amp;quot;&amp;gt;6.00&amp;lt;/wavelength&amp;gt;&lt;br /&gt;
				&amp;lt;wavelength_min unit=&amp;quot;nm&amp;quot;&amp;gt;0.22&amp;lt;/wavelength_min&amp;gt;&lt;br /&gt;
				&amp;lt;wavelength_max unit=&amp;quot;nm&amp;quot;&amp;gt;1.00&amp;lt;/wavelength_max&amp;gt;&lt;br /&gt;
				&amp;lt;wavelength_spread unit=&amp;quot;percent&amp;quot;&amp;gt;&lt;br /&gt;
					14.3&lt;br /&gt;
				&amp;lt;/wavelength_spread&amp;gt;&lt;br /&gt;
			&amp;lt;/SASsource&amp;gt;&lt;br /&gt;
			&amp;lt;SAScollimation&amp;gt;&lt;br /&gt;
				&amp;lt;distance unit=&amp;quot;m&amp;quot;&amp;gt;11.000&amp;lt;!-- was: distance_coll --&amp;gt;&amp;lt;/distance&amp;gt;&lt;br /&gt;
				&amp;lt;aperture name=&amp;quot;source&amp;quot; type=&amp;quot;radius&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;size&amp;gt;&lt;br /&gt;
						&amp;lt;x unit=&amp;quot;mm&amp;quot;&amp;gt;50&amp;lt;/x&amp;gt;&lt;br /&gt;
					&amp;lt;/size&amp;gt;&lt;br /&gt;
				&amp;lt;/aperture&amp;gt;&lt;br /&gt;
				&amp;lt;aperture name=&amp;quot;sample&amp;quot; type=&amp;quot;radius&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;size&amp;gt;&lt;br /&gt;
						&amp;lt;x unit=&amp;quot;mm&amp;quot;&amp;gt;0&amp;lt;/x&amp;gt;&lt;br /&gt;
					&amp;lt;/size&amp;gt;&lt;br /&gt;
				&amp;lt;/aperture&amp;gt;&lt;br /&gt;
			&amp;lt;/SAScollimation&amp;gt;&lt;br /&gt;
			&amp;lt;SASdetector&amp;gt;&lt;br /&gt;
				&amp;lt;name&amp;gt;fictional hybrid&amp;lt;/name&amp;gt;&lt;br /&gt;
				&amp;lt;SDD unit=&amp;quot;m&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;!-- sample-to-detector distance --&amp;gt;&lt;br /&gt;
					4.150&lt;br /&gt;
				&amp;lt;/SDD&amp;gt;&lt;br /&gt;
				&amp;lt;orientation&amp;gt;&lt;br /&gt;
					&amp;lt;roll unit=&amp;quot;degree&amp;quot;&amp;gt;0.00&amp;lt;/roll&amp;gt;&lt;br /&gt;
					&amp;lt;pitch unit=&amp;quot;degree&amp;quot;&amp;gt;0.00&amp;lt;/pitch&amp;gt;&lt;br /&gt;
					&amp;lt;yaw unit=&amp;quot;degree&amp;quot;&amp;gt;0.00&amp;lt;/yaw&amp;gt;&lt;br /&gt;
				&amp;lt;/orientation&amp;gt;&lt;br /&gt;
				&amp;lt;beam_center&amp;gt;&lt;br /&gt;
					&amp;lt;x unit=&amp;quot;mm&amp;quot;&amp;gt;322.64&amp;lt;/x&amp;gt;&lt;br /&gt;
					&amp;lt;y unit=&amp;quot;mm&amp;quot;&amp;gt;327.68&amp;lt;/y&amp;gt;&lt;br /&gt;
				&amp;lt;/beam_center&amp;gt;&lt;br /&gt;
				&amp;lt;pixel_size&amp;gt;&lt;br /&gt;
					&amp;lt;x unit=&amp;quot;mm&amp;quot;&amp;gt;5.00&amp;lt;/x&amp;gt;&lt;br /&gt;
					&amp;lt;y unit=&amp;quot;mm&amp;quot;&amp;gt;5.00&amp;lt;/y&amp;gt;&lt;br /&gt;
				&amp;lt;/pixel_size&amp;gt;&lt;br /&gt;
			&amp;lt;/SASdetector&amp;gt;&lt;br /&gt;
		&amp;lt;/SASinstrument&amp;gt;&lt;br /&gt;
		&amp;lt;SASprocess&amp;gt;&lt;br /&gt;
			&amp;lt;name&amp;gt;spol&amp;lt;/name&amp;gt;&lt;br /&gt;
			&amp;lt;date&amp;gt;04-Sep-2007 18:35:02&amp;lt;/date&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;radialstep&amp;quot; unit=&amp;quot;mm&amp;quot;&amp;gt;10.000&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;sector_width&amp;quot; unit=&amp;quot;degree&amp;quot;&amp;gt;180.0&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;sector_orient&amp;quot; unit=&amp;quot;degree&amp;quot;&amp;gt;0.0&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;MASK_file&amp;quot;&amp;gt;USER:MASK.COM&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;SASprocessnote&amp;gt;&lt;br /&gt;
				AvA1 0.0000E+00 AsA2 1.0000E+00 XvA3 1.0526E+03 XsA4&lt;br /&gt;
				5.2200E-02 XfA5 0.0000E+00&lt;br /&gt;
			&amp;lt;/SASprocessnote&amp;gt;&lt;br /&gt;
			&amp;lt;SASprocessnote&amp;gt;&lt;br /&gt;
				S... 13597 0 2.26E+02 2A 5mM 0%D2O Sbak 13594 0 1.13E+02&lt;br /&gt;
				H2O Buffer&lt;br /&gt;
			&amp;lt;/SASprocessnote&amp;gt;&lt;br /&gt;
			&amp;lt;SASprocessnote&amp;gt;V... 13552 3 1.00E+00 H2O5m&amp;lt;/SASprocessnote&amp;gt;&lt;br /&gt;
		&amp;lt;/SASprocess&amp;gt;&lt;br /&gt;
		&amp;lt;SASprocess&amp;gt;&lt;br /&gt;
			&amp;lt;name&amp;gt;NCNR-IGOR&amp;lt;/name&amp;gt;&lt;br /&gt;
			&amp;lt;date&amp;gt;03-SEP-2006 11:42:47&amp;lt;/date&amp;gt;&lt;br /&gt;
			&amp;lt;description /&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;average_type&amp;quot;&amp;gt;Circular&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;SAM_file&amp;quot;&amp;gt;SEP06064.SA3_AJJ_L205&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;BKD_file&amp;quot;&amp;gt;SEP06064.SA3_AJJ_L205&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;EMP_file&amp;quot;&amp;gt;SEP06064.SA3_AJJ_L205&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;DIV_file&amp;quot;&amp;gt;SEP06064.SA3_AJJ_L205&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;MASK_file&amp;quot;&amp;gt;SEP06064.SA3_AJJ_L205&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;ABS:TSTAND&amp;quot;&amp;gt;1&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;ABS:DSTAND&amp;quot; unit=&amp;quot;mm&amp;quot;&amp;gt;1&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;ABS:IZERO&amp;quot;&amp;gt;230.09&amp;lt;/term&amp;gt;&lt;br /&gt;
			&amp;lt;term name=&amp;quot;ABS:XSECT&amp;quot; unit=&amp;quot;mm&amp;quot;&amp;gt;1&amp;lt;/term&amp;gt;&lt;br /&gt;
		&amp;lt;/SASprocess&amp;gt;&lt;br /&gt;
		&amp;lt;SASnote /&amp;gt;&lt;br /&gt;
	&amp;lt;/SASentry&amp;gt;&lt;br /&gt;
&amp;lt;/SASroot&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=sasXML_and_IGOR&amp;diff=97</id>
		<title>sasXML and IGOR</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=sasXML_and_IGOR&amp;diff=97"/>
		<updated>2007-12-14T03:20:23Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: New page: The [http://www.igorexchange.com/project/XMLutils XMLutils.xop] can be used to read and write XML data in IGOR.  This means that IGOR can be used as a program to create and use sasXML file...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [http://www.igorexchange.com/project/XMLutils XMLutils.xop] can be used to read and write XML data in IGOR.  This means that IGOR can be used as a program to create and use sasXML files.&lt;br /&gt;
&lt;br /&gt;
Based on the current suggested sasXML format it has been used to create a demo sasXML file, using the IGOR procedure file given below.  The procedure is fairly basic, but is fairly easy to understand. It could be adapted easily to write several scans to the file.  &lt;br /&gt;
&lt;br /&gt;
Since the sasXML file will be fairly rigid in terms of what node names are used, a single Igor structure could be used to carry the data before it is written to XML.  The consequence of this is that this could be the &#039;&#039;&#039;only&#039;&#039;&#039; file that is needed by &#039;&#039;&#039;any&#039;&#039;&#039; SAS reduction program to produce a sasXML file, i.e. IRENA, NCNRIGOR, ORNLIGOR.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sasXML file written:&lt;br /&gt;
[[Image:ARJNtranscribeAJJ.xml]]&lt;br /&gt;
&lt;br /&gt;
IGOR procedure file used:&lt;br /&gt;
[[Image:NISTsasxml.ipf]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
	<entry>
		<id>https://wiki.cansas.org/index.php?title=Data_Formats_Working_Group&amp;diff=96</id>
		<title>Data Formats Working Group</title>
		<link rel="alternate" type="text/html" href="https://wiki.cansas.org/index.php?title=Data_Formats_Working_Group&amp;diff=96"/>
		<updated>2007-12-14T02:59:21Z</updated>

		<summary type="html">&lt;p&gt;Andyfaff: /* Considerations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://smallangles.net/pipermail/cansas-1dwg_smallangles.net/ Mailing List Archive]&lt;br /&gt;
&lt;br /&gt;
===Timeline===&lt;br /&gt;
* 2007-12-31 agree on v1.0 format&lt;br /&gt;
* 2008-01-01 start implementing v1 at facilities&lt;br /&gt;
* 2008-06 representative sampling of data available for inter-facility comparison&lt;br /&gt;
* 2008-10 presentation of results at NOBUGS2008 meeting (date TBA)&lt;br /&gt;
&lt;br /&gt;
===Considerations===&lt;br /&gt;
* a key point of what we discussed at NIST:  &lt;br /&gt;
namely that our goal is to agree a format which that whilst using as much best XML practice as is reasonable, leaves the file instantly human-readable, editable in the simplest of editors, and importable by simple text import filters in programs that don&#039;t recognise the XML.&lt;br /&gt;
* document what we decide&lt;br /&gt;
**1DWG will take care of documenting the format it defines.&lt;br /&gt;
*** make that definition with a schema (for absolute validation of any proposed XML file against the standard)&lt;br /&gt;
*** instructions on how to use that schema&lt;br /&gt;
*** XSL style sheets to present the XML contents in various forms (also serves as examples)&lt;br /&gt;
*** a couple of examples&lt;br /&gt;
*** maybe also some words.&lt;br /&gt;
** move some of this discussion to&lt;br /&gt;
*** discussion page&lt;br /&gt;
*** other wiki pages&lt;br /&gt;
*** /dev/null after its usefulness has been exhausted&lt;br /&gt;
* coordinate with other communities&lt;br /&gt;
** [http://www.nexusformat.org NeXus (http://www.nexusformat.org)]&lt;br /&gt;
** reflectivity &lt;br /&gt;
** powder diffraction&lt;br /&gt;
*** [http://www.xrdml.com XRDML (http://www.xrdml.com)]&lt;br /&gt;
* should we consider a file naming convention?&lt;br /&gt;
* should we consider a SAS scan naming convention?&lt;br /&gt;
** sequential run number from facility&lt;br /&gt;
** convention set by the detector software provider&lt;br /&gt;
* XML representation of the I vs. Q data&lt;br /&gt;
** tabular format&lt;br /&gt;
** vector format&lt;br /&gt;
* general XML coding style&lt;br /&gt;
** readability by humans&lt;br /&gt;
*** with lots of computer skills&lt;br /&gt;
*** with rudimentary computer skills&lt;br /&gt;
** readability by computers&lt;br /&gt;
*** standard XML libraries&lt;br /&gt;
*** generic visualization tools&lt;br /&gt;
*** common software such as MS Excel   or Open Office   or [ftp://ftp.ill.fr/pub/cs/rxml XMLPLO source code for windows/linux/OSX86]&lt;br /&gt;
*** A plugin for IGOR has been written, [http://www.igorexchange.com/project/XMLutils XMLutils.xop], that can handle XML data.  The [[sasXML and IGOR]] page gives details on the IGOR code required to write the prototype sasXML file. &lt;br /&gt;
** availability of style sheets&lt;br /&gt;
* scalability of XML format to 2D data?&lt;br /&gt;
* What is required?&lt;br /&gt;
* What is optional?&lt;br /&gt;
* Use the same tags again in similar contexts&lt;br /&gt;
** X,Y pairs for example, whether detector position, beam center, sample position&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;border:1px solid navy; border-collapse: collapse&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | inconsistent&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | consistent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;beam_size axis=&amp;quot;x&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;12.00&amp;lt;/beam_size&amp;gt;&lt;br /&gt;
&amp;lt;beam_size axis=&amp;quot;y&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;12.00&amp;lt;/beam_size&amp;gt;&lt;br /&gt;
&amp;lt;x0 units=&amp;quot;mm&amp;quot;&amp;gt;322.64&amp;lt;/x0&amp;gt;&lt;br /&gt;
&amp;lt;y0 units=&amp;quot;mm&amp;quot;&amp;gt;327.68&amp;lt;/y0&amp;gt;&lt;br /&gt;
&amp;lt;pixel_x units=&amp;quot;mm&amp;quot;&amp;gt;5.00&amp;lt;/pixel_x&amp;gt;&lt;br /&gt;
&amp;lt;pixel_y units=&amp;quot;mm&amp;quot;&amp;gt;5.00&amp;lt;/pixel_y&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;beam_size axis=&amp;quot;x&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;12.00&amp;lt;/beam_size&amp;gt;&lt;br /&gt;
&amp;lt;beam_size axis=&amp;quot;y&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;12.00&amp;lt;/beam_size&amp;gt;&lt;br /&gt;
&amp;lt;beam_center axis=&amp;quot;x&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;322.64&amp;lt;/beam_center&amp;gt;&lt;br /&gt;
&amp;lt;beam_center axis=&amp;quot;y&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;327.68&amp;lt;/beam_center&amp;gt;&lt;br /&gt;
&amp;lt;pixel_size  axis=&amp;quot;x&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;5.00&amp;lt;/pixel_size&amp;gt;&lt;br /&gt;
&amp;lt;pixel_size  axis=&amp;quot;y&amp;quot; units=&amp;quot;mm&amp;quot;&amp;gt;5.00&amp;lt;/pixel_size&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Points for Discussion===&lt;br /&gt;
&lt;br /&gt;
*Do we want to advocate/recommend particular names for particular tags; eg, SASdata, SASsample, Idata, etc.?&lt;br /&gt;
** which ones?&lt;br /&gt;
* provide for (optional) inclusion of sample prep details&lt;br /&gt;
* provide for (optional) inclusion of other (non-SAS) data in the XML&lt;br /&gt;
* Need to allow for more than a single SAS data set in one .xml file&lt;br /&gt;
&lt;br /&gt;
===Other Points===&lt;br /&gt;
* It&#039;s not clear how to specify that multiple runs were reduced together&lt;br /&gt;
**(AJJ) Assuming that those multiple runs were first stored as XML then referencing the individual files would give all that back information (a la Ghosh suggestion). At NIST we take absolute I vs Q files and combine them to produce an absolute I vs Q file thus that is reasonable here. What about elsewhere?&lt;br /&gt;
* How does one include the instrument information of the many runs that we used to make up the composite file&lt;br /&gt;
* If we have reduction information, then everything needs to be in there, i.e. the run numbers for the can, the standard, the uniform field, etc.&lt;br /&gt;
* Information on the averaging, is it radial, sector, rectangular, etc.&lt;br /&gt;
&lt;br /&gt;
===Members===&lt;br /&gt;
* Andrew Jackson (NIST)&lt;br /&gt;
* Pete Jemian (APS)&lt;br /&gt;
* Steve King (ISIS)&lt;br /&gt;
* Ken Littrell (ORNL)&lt;br /&gt;
* Andy Nelson (ANSTO)&lt;br /&gt;
* Ron Ghosh (ILL)&lt;br /&gt;
* Jan Ilavsky (APS)&lt;br /&gt;
===News/Status===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Working Groups]]&lt;/div&gt;</summary>
		<author><name>Andyfaff</name></author>
	</entry>
</feed>