Data Formats Working Group: Difference between revisions
From canSAS
Line 27: | Line 27: | ||
<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> | ||
< | <Shadowfactor><!-- Shadowfactor is optional --></Shadowfactor> | ||
</Idata> | </Idata> | ||
</SASdata> | </SASdata> | ||
Line 132: | Line 132: | ||
<element name="Qmean" minOccurs="0" maxOccurs="1" | <element name="Qmean" minOccurs="0" maxOccurs="1" | ||
type="tns:QType" default="0" /> | type="tns:QType" default="0" /> | ||
<element name=" | <element name="Shadowfactor" minOccurs="0" maxOccurs="1" | ||
type=" | type="float" default="1.0" /> | ||
</sequence> | </sequence> | ||
</complexType> | </complexType> |
Revision as of 15:59, 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><!-- 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="SASprocessType"> <sequence> <element name="SASprocessnote" type="string" /> </sequence> <attribute name="name" type="string" /> </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="SASdataType"> <sequence> <element name="Idata" minOccurs="1" maxOccurs="unbounded" type="tns:IdataType" /> </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" type="tns:SASinstrumentType" /> <element name="SASprocess" type="tns:SASprocessType" /> <element name="SASnote" /> </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="float" default="1.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