Data Formats Working Group: Difference between revisions
From canSAS
No edit summary |
|||
Line 21: | Line 21: | ||
<SASdata> | <SASdata> | ||
<Idata> | <Idata> | ||
<Q units="1/A"></Q> | <Q units="1/A">0.02</Q> | ||
<I units="1/cm"></I> | <I units="1/cm">1000</I> | ||
<Qdev units="1/A" | <Qdev units="1/A" /> | ||
<Idev units="1/cm"></Idev> | <Idev units="1/cm">3</Idev> | ||
<Qfwhm units="1/A"><!-- Qfwhm is optional --></Qfwhm> | <Qfwhm units="1/A"><!-- Qfwhm is optional --></Qfwhm> | ||
<Qmean units="1/A"><!-- Qmean is optional --></Qmean> | <Qmean units="1/A"><!-- Qmean is optional --></Qmean> | ||
Line 36: | Line 36: | ||
<SASdetector></SASdetector> | <SASdetector></SASdetector> | ||
</SASinstrument> | </SASinstrument> | ||
<SASprocess></SASprocess> | <SASprocess> | ||
<SASprocessNote></SASprocessNote> | |||
</SASprocess> | |||
<SASnote></SASnote> | <SASnote></SASnote> | ||
</SASentry> | </SASentry> | ||
Line 56: | Line 58: | ||
</element> | </element> | ||
</sequence> | </sequence> | ||
<attribute name="version" type="string" /> | <attribute name="version" type="string" fixed="0.1a" /> | ||
</complexType> | </complexType> | ||
<complexType name="SASinstrumentType"> | |||
<sequence> | |||
<element name="SASsource" type="string" /> | |||
<element name="SAScollimation" type="string" /> | |||
<element name="SASdetector" type="string" /> | |||
</sequence> | |||
<attribute name="name" type="string" /> | |||
</complexType> | |||
<complexType name="SASprocessType"> | |||
<sequence> | |||
<element name="SASprocessNote" type="string" /> | |||
</sequence> | |||
<attribute name="name" type="string" /> | |||
</complexType> | |||
<complexType name="SASentryType"> | <complexType name="SASentryType"> | ||
<sequence> | <sequence> | ||
<element name="Title" minOccurs="0" maxOccurs="1" | <element name="Title" minOccurs="0" maxOccurs="1" | ||
type="string" | type="string" /> | ||
<element name="Run" minOccurs="0" maxOccurs="1" | <element name="Run" minOccurs="0" maxOccurs="1" | ||
type="string" | type="string" /> | ||
<element name="SASdata" type="tns:SASdataType" /> | |||
<element name="SASdata" type="tns:SASdataType" | |||
<element name="SASsample" /> | <element name="SASsample" /> | ||
<element name="SASinstrument" /> | <element name="SASinstrument" /> | ||
Line 82: | Line 99: | ||
</sequence> | </sequence> | ||
<attribute name="name" type="string" /> | <attribute name="name" type="string" /> | ||
</complexType> | |||
<complexType name="QType"> | |||
<simpleContent> | |||
<extension base="float"> | |||
<attribute name="units" type="string" default="1/A" | |||
use="optional" /> | |||
</extension> | |||
</simpleContent> | |||
</complexType> | |||
<complexType name="IType"> | |||
<simpleContent> | |||
<extension base="float"> | |||
<attribute name="units" type="string" default="1/cm" | |||
use="optional" /> | |||
</extension> | |||
</simpleContent> | |||
</complexType> | </complexType> | ||
Line 87: | Line 122: | ||
<sequence> | <sequence> | ||
<element name="Q" minOccurs="1" maxOccurs="1" | <element name="Q" minOccurs="1" maxOccurs="1" | ||
type=" | type="tns:QType" /> | ||
<element name="I" minOccurs="1" maxOccurs="1" | <element name="I" minOccurs="1" maxOccurs="1" | ||
type=" | type="tns:IType" /> | ||
<element name="Qdev" minOccurs="0" maxOccurs="1" | <element name="Qdev" minOccurs="0" maxOccurs="1" | ||
type=" | type="tns:QType" default="0" /> | ||
<element name="Idev" minOccurs="0" maxOccurs="1" | <element name="Idev" minOccurs="0" maxOccurs="1" | ||
type=" | type="tns:IType" default="0" /> | ||
<element name="Qfwhm" minOccurs="0" maxOccurs="1" | <element name="Qfwhm" minOccurs="0" maxOccurs="1" | ||
type=" | type="tns:QType" default="0" /> | ||
<element name="Qmean" minOccurs="0" maxOccurs="1" | <element name="Qmean" minOccurs="0" maxOccurs="1" | ||
type=" | type="tns:QType" default="0" /> | ||
<element name="ShadowFactor" minOccurs="0" maxOccurs="1" | <element name="ShadowFactor" minOccurs="0" maxOccurs="1" | ||
type=" | type="tns:QType" default="0" /> | ||
</sequence> | </sequence> | ||
</complexType> | </complexType> | ||
<element name="SASroot" type="tns:SASrootType" /> | <element name="SASroot" type="tns:SASrootType" /> |
Revision as of 00:27, 18 December 2007
Timeline
- 2007-12-31 agree on v1.0 format
- 2008-01-01 start implementing v1 at facilities
- 2008-06 representative sampling of data available for inter-facility comparison
- 2008-10 presentation of results at NOBUGS2008 meeting (date TBA)
Current Definition
XML template: cansas1d.xml
<?xml version="1.0"?> <SASroot xmlns="http://www.smallangles.net/cansas1d" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.smallangles.net/cansas1d cansas1d.xsd" version="0.1a"> <SASentry> <Title></Title> <Run></Run> <SASdata> <Idata> <Q units="1/A">0.02</Q> <I units="1/cm">1000</I> <Qdev units="1/A" /> <Idev units="1/cm">3</Idev> <Qfwhm units="1/A"><!-- Qfwhm is optional --></Qfwhm> <Qmean units="1/A"><!-- Qmean is optional --></Qmean> <ShadowFactor units="1/A"><!-- ShadowFactor is optional --></ShadowFactor> </Idata> </SASdata> <SASsample></SASsample> <SASinstrument> <SASsource></SASsource> <SAScollimation></SAScollimation> <SASdetector></SASdetector> </SASinstrument> <SASprocess> <SASprocessNote></SASprocessNote> </SASprocess> <SASnote></SASnote> </SASentry> </SASroot>
XML Schema: cansas1d.xsd
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.smallangles.net/cansas1d" xmlns:tns="http://www.smallangles.net/cansas1d" elementFormDefault="qualified"> <complexType name="SASrootType"> <sequence> <element name="SASentry" minOccurs="1" maxOccurs="unbounded" type="tns:SASentryType"> </element> </sequence> <attribute name="version" type="string" fixed="0.1a" /> </complexType> <complexType name="SASinstrumentType"> <sequence> <element name="SASsource" type="string" /> <element name="SAScollimation" type="string" /> <element name="SASdetector" type="string" /> </sequence> <attribute name="name" type="string" /> </complexType> <complexType name="SASprocessType"> <sequence> <element name="SASprocessNote" type="string" /> </sequence> <attribute name="name" type="string" /> </complexType> <complexType name="SASentryType"> <sequence> <element name="Title" minOccurs="0" maxOccurs="1" type="string" /> <element name="Run" minOccurs="0" maxOccurs="1" type="string" /> <element name="SASdata" type="tns:SASdataType" /> <element name="SASsample" /> <element name="SASinstrument" /> <element name="SASprocess" /> <element name="SASnote" /> </sequence> <attribute name="name" type="string" /> </complexType> <complexType name="SASdataType"> <sequence> <element name="Idata" minOccurs="1" maxOccurs="unbounded" type="tns:IdataType" /> </sequence> <attribute name="name" type="string" /> </complexType> <complexType name="QType"> <simpleContent> <extension base="float"> <attribute name="units" type="string" default="1/A" use="optional" /> </extension> </simpleContent> </complexType> <complexType name="IType"> <simpleContent> <extension base="float"> <attribute name="units" type="string" default="1/cm" use="optional" /> </extension> </simpleContent> </complexType> <complexType name="IdataType"> <sequence> <element name="Q" minOccurs="1" maxOccurs="1" type="tns:QType" /> <element name="I" minOccurs="1" maxOccurs="1" type="tns:IType" /> <element name="Qdev" minOccurs="0" maxOccurs="1" type="tns:QType" default="0" /> <element name="Idev" minOccurs="0" maxOccurs="1" type="tns:IType" default="0" /> <element name="Qfwhm" minOccurs="0" maxOccurs="1" type="tns:QType" default="0" /> <element name="Qmean" minOccurs="0" maxOccurs="1" type="tns:QType" default="0" /> <element name="ShadowFactor" minOccurs="0" maxOccurs="1" type="tns:QType" default="0" /> </sequence> </complexType> <element name="SASroot" type="tns:SASrootType" /> </schema>
XML example
to be defined
Members
- Andrew Jackson (NIST)
- Pete Jemian (APS)
- Steve King (ISIS)
- Ken Littrell (ORNL)
- Andy Nelson (ANSTO)
- Ron Ghosh (ILL)
- Jan Ilavsky (APS)
News/Status
--Jemian 12:00, 14 December 2007 (EST)draft status updated