-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsession-trial-template.xml
144 lines (143 loc) · 20.3 KB
/
session-trial-template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="#odml_local_style"?>
<!DOCTYPE odML [ <!ATTLIST xsl:stylesheet id ID #REQUIRED> ]>
<odML version="1.1">
<xsl:stylesheet id="odml_local_style" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:odml="http://www.g-node.org/odml"><xsl:template match="odML"><xsl:variable name="repository" select="repository"/><html><head><meta charset="utf-8" /><title>odML | The Open metaData Markup Language</title><meta name="description" content="Markup language for the storage of scientific metadata" /></head><style>article,aside,details,figcaption,figure,footer,header,hgroup,nav,sec,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}h2{font-size:1.5em;margin:0.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:0.83em;margin:1.67em 0}h6{font-size:0.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em}q{quotes:none}q:after,q:before{content:'';content:none}small{font-size:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ol,nav ul{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight,.highlight .w{color:#d0d0d0}.highlight .err{color:#151515;background-color:#ac4142}.highlight .c,.highlight .c1,.highlight .cd,.highlight .cm,.highlight .cs{color:#888}.highlight .cp{color:#f4bf75}.highlight .nt{color:#f4bf75}.highlight .o,.highlight .ow{color:#d0d0d0}.highlight .p,.highlight .pi{color:#d0d0d0}.highlight .gi{color:#90a959}.highlight .gd{color:#ac4142}.highlight .gh{color:#6a9fb5;font-weight:bold}.highlight .k,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kv{color:#aa759f}.highlight .kc{color:#d28445}.highlight .kt{color:#d28445}.highlight .kd{color:#d28445}.highlight .s,.highlight .s1,.highlight .s2,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .sh,.highlight .sx{color:#90a959}.highlight .sr{color:#75b5aa}.highlight .si{color:#8f5536}.highlight .se{color:#8f5536}.highlight .nn{color:#f4bf75}.highlight .nc{color:#f4bf75}.highlight .no{color:#f4bf75}.highlight .na{color:#6a9fb5}.highlight .il,.highlight .m,.highlight .mb,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo,.highlight .mx{color:#90a959}.highlight .ss{color:#90a959}body{font:14px/22px 'Quattrocento Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;color:#666;font-weight:300;margin:0;padding:0 0 20px;background:#eae6d1}h1,h2,h3,h4,h5,h6{color:#333;margin:0 0 10px}dl,ol,p,pre,table,ul{margin:0 0 20px}ol.nested{margin:0}h1,h2,h3{line-height:1.1}a{color:#3399cc;font-weight:400;text-decoration:none}a small{font-size:11px;color:#666;margin-top:-0.6em;display:block}a.white{color:white}strong{font-weight:bold;color:#333}.wrapper{width:800px;margin:0 auto;position:relative}sec img{max-width:100%}blockquote{border-left:1px solid #ffcc00;margin:0;padding:0 0 0 20px;font-style:italic}code{font-family:'Lucida Sans', Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;font-size:13px;color:#efefef;text-shadow:0 1px 0 #000;margin:0 4px;padding:2px 6px;background:#333;border-radius:2px}pre{padding:8px 15px;background:#333333;border-radius:3px;border:1px solid #c7c7c7;overflow:auto;overflow-y:hidden}pre code{margin:0;padding:0}table{width:100%;border-collapse:collapse}th{text-align:left;padding:5px 10px;border-bottom:1px solid #e5e5e5;color:#444}td{text-align:left;padding:5px 10px;border-bottom:1px solid #e5e5e5;border-right:1px solid #ffcc00}td:first-child{border-left:1px solid #ffcc00}hr{border:0;outline:none;height:11px;background:transparent center center repeat-x;margin:0 0 20px}hr.fatline{color:yellow;background-color:#336699;height:4px;margin-right:0;text-align:right;border:1px dashed black}hr.thinline{background-color:#336699;height:1px;margin-right:0;text-align:right}dt{color:#444;font-weight:700}header{padding:25px 20px 40px;margin:0;position:fixed;top:0;left:0;right:0;width:100%;text-align:center;background:#4276b6;box-shadow:1px 0 2px rgba(0, 0, 0, 0.75);z-index:99;-webkit-font-smoothing:antialiased;min-height:76px}header h1{font:40px/48px 'Copse', "Helvetica Neue", Helvetica, Arial, sans-serif;color:#f3f3f3;text-shadow:0 2px 0 #235796;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}header p{color:#d8d8d8;text-shadow:rgba(0, 0, 0, 0.2) 0 1px 0;margin:0}#banner{z-index:100;left:0;right:50%;height:50px;margin-right:-382px;position:fixed;top:115px;background:#1876dfff;border:1px solid #00000000;box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);border-radius:0 2px 2px 0;padding-right:10px}#banner .button{border:1px solid #dba500;background:linear_gradient(#ffe788, #ffce38);border-radius:2px;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.1);background-color:#FFE788;margin-left:5px;padding:10px 12px;margin-top:6px;line-height:14px;font-size:14px;color:#333;font-weight:bold;display:inline-block;text-align:center}#banner .button:hover{background:linear_gradient(#ffe788, #ffe788);background-color:#ffeca0}#banner .fork{position:fixed;left:50%;margin-left:-325px;padding:10px 12px;margin-top:6px;line-height:14px;font-size:14px;background-color:#FFE788}#banner .downloads{float:right;margin:0 45px 0 0}#banner .downloads span{float:left;line-height:52px;font-size:90%;color:#9d7f0d;text-transform:uppercase;text-shadow:rgba(255, 255, 255, 0.2) 0 1px 0}#banner ul{list-style:none;height:40px;padding:0;float:left;margin-left:10px}#banner ul li{display:inline}#banner ul li a.button{background-color:#FFE788}#banner #logo{position:absolute;height:36px;width:36px;right:7px;top:7px;display:block}.navWrapper{margin-top:190px;position:relative}sec{width:800px;padding:30px 30px 50px;margin:190px 0 20px;position:relative;background:#fbfbfb;border-radius:3px;border:1px solid #cbcbcb;box-shadow:0 1px 2px rgba(0, 0, 0, 0.09), inset 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4)}navigationContainer{width:75%;padding:30px 30px 50px;margin:0 auto;display:block;background:#fbfbfb;box-shadow:0 1px 2px rgba(0, 0, 0, 0.09), inset 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4)}small{font-size:12px}nav{width:230px;position:fixed;top:220px;left:50%;margin-left:-580px;text-align:right}nav ul{list-style:none;list-style-image:none;font-size:14px;line-height:24px}nav ul li{padding:5px 0;line-height:16px}nav ul li.tag-h1{font-size:1.2em}nav ul li.tag-h1 a{font-weight:bold;color:#333}nav ul li.tag-h2+.tag-h1{margin-top:10px}nav ul a{color:#666}nav ul a:hover{color:#999}footer{width:180px;position:fixed;left:50%;margin-left:-530px;bottom:20px;text-align:right;line-height:16px}@media print, screen and (max-width: 1060px){div.wrapper{width:auto;margin:0}nav{display:none}footer,header,sec{float:none}footer h1,header h1,sec h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#banner{width:100%}#banner .downloads{margin-right:60px}#banner #logo{margin-right:15px}sec{border:1px solid #e5e5e5;border-width:1px 0;padding:20px auto;margin:190px auto 20px;max-width:600px}footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}@media print, screen and (max-width: 720px){body{word-wrap:break-word}header{padding:20px;margin:0}header h1{font-size:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}header p{display:none}#banner{top:80px}#banner .fork{float:left;display:inline-block;margin-left:0;position:fixed;left:20px}sec{margin-top:130px;margin-bottom:0;width:auto}header p.view,header ul{position:static}}@media print, screen and (max-width: 480px){header{position:relative;padding:5px 0;min-height:0}header h1{font-size:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}sec{margin-top:5px}#banner{display:none}header ul{display:none}}@media print{body{padding:0.4in;font-size:12pt;color:#444}}@media print, screen and (max-height: 680px){footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}@media print, screen and (max-height: 480px){nav{display:none}footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}
</style><body><header><h1><a class="white" href="https://templates.g-node.org/templates.xml">odML metadata document</a></h1></header><div class="navWrapper"><navigationContainer><div id="navigationContainer"><hr class="fatline" /><p><h2>Document info</h2><b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/><b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/><b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/><b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/></p><hr class="fatline" /><h2>Structure</h2><font size ="-1" ><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation">1</xsl:with-param><xsl:with-param name="anchorBase">Sec</xsl:with-param><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></font><br/></div><div id="contentContainer"><hr class="fatline" /><h2>Content</h2><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation">0</xsl:with-param><xsl:with-param name="anchorBase">Sec</xsl:with-param><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></div></navigationContainer></div></body></html></xsl:template><xsl:template name="sectionTemplate" match="section"><xsl:param name="navigation"/><xsl:param name="anchorBase"/><xsl:param name="url"/><xsl:variable name="anchorName" select="concat($anchorBase,position())"/><xsl:variable name="repository"><xsl:choose><xsl:when test="repository"><xsl:value-of select ="repository"/></xsl:when><xsl:otherwise><xsl:value-of select ="$url"/></xsl:otherwise></xsl:choose></xsl:variable><xsl:choose><xsl:when test="$navigation = 1"><ol class="nested"><font size="normal"><a href="#{$anchorName}"><xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation" select="$navigation"/><xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></ol></xsl:when><xsl:otherwise><a name="{$anchorName}"><h3><xsl:value-of select="name"/> Section</h3></a><p><b>Type: </b><xsl:value-of select="type"/><br/><xsl:choose><xsl:when test ="repository"><b>Repository: </b><xsl:value-of select="repository"/><br/></xsl:when><xsl:otherwise><b>Repository: </b><xsl:value-of select="$repository"/><br/></xsl:otherwise></xsl:choose><b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/><b>Include:</b><xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/><b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/></p><xsl:if test="property"><table border="1" rules="rows" width="100%"><font size="-1"><tr bgcolor="#336699" align="left" valign="middle"><th><font size="+1" color="white"><b>Name</b></font></th><th><font size="+1" color="white"><b>Value</b></font></th><th><font size="+1" color="white"><b>Unit</b></font></th><th><font size="+1" color="white"><b>Type</b></font></th><th><font size="+1" color="white"><b>Uncertainty</b></font></th><th><font size="+1" color="white"><b>Definition</b></font></th><th><font size="+1" color="white"><b>Dependency</b></font></th><th><font size="+1" color="white"><b>Dependency Value</b></font></th></tr><xsl:for-each select="property"><xsl:variable name="anchor"><xsl:value-of select ="name"/></xsl:variable><tr><td width="15%"><a name="{$anchor}"/><p><xsl:value-of select="name"/></p></td><td width="10%"><p><xsl:value-of select="value"/></p></td><td width="5%"><p><xsl:value-of select="unit"/><br/></p></td><td width="5%"><p><xsl:value-of select="type"/></p></td><td width="5%"><p><xsl:value-of select="uncertainty"/><br/></p></td><td width="22.5%"><p><xsl:value-of select="definition"/></p></td><td width="5%"><p><xsl:value-of select="dependency"/></p></td><td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td></tr></xsl:for-each></font></table></xsl:if><a href="#top"><tiny>top</tiny></a><hr class="thinline" /><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation" select="$navigation"/><xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></xsl:otherwise></xsl:choose></xsl:template>
</xsl:stylesheet>
<id>decf82d6-916b-4e12-9091-e4e6430d0cf1</id>
<version>1.0</version>
<author>Reema Gupta</author>
<section>
<id>c472a472-94c1-4483-bba2-2fd80a963983</id>
<type>n.s.</type>
<name>session-trial</name>
<definition>Session-trial-template template schema generated by the CEDAR Template Editor 2.6.56</definition>
<section>
<id>1c828011-f763-4713-a255-b5f161df302c</id>
<type>n.s.</type>
<name>in2pb-header</name>
<definition>Header to be used for metadata templates created for In2PB projects.</definition>
<property>
<id>f80deb85-c19b-4d41-b8fb-a9faaa6536ef</id>
<name>in2pb-header</name>
<value></value>
<definition>Header to be used for metadata templates created for In2PB projects.</definition>
</property>
</section>
<section>
<id>02c55801-970a-4ce8-90c6-80684199d816</id>
<type>n.s.</type>
<name>session-trial-header</name>
<definition>Header with instructions for the sessions and trial metadata.</definition>
<property>
<id>3d1e2933-bf76-4c5d-b29f-9c5d7077b6fd</id>
<name>session-trial-header</name>
<value></value>
<definition>Header with instructions for the sessions and trial metadata.</definition>
</property>
</section>
<section>
<id>a880c17d-407e-45b1-baf3-89580f1fd42b</id>
<type>n.s.</type>
<name>session-element</name>
<definition>A non-intermittent period in which the subject is in the experiment room. Note that in an ephys context a session often corresponds to a day of recording, but in certain cases, several sessions can occur during a single day - the session id must be chosen to gaurantee its uniqueness.</definition>
<property>
<id>fd5ba690-a73e-4a69-a0f3-9a95a76bd34e</id>
<name>sessionID</name>
<value></value>
<definition>A session is defined as the continuous time block between when the first data point is recorded after the subject is brought in and when the subject leaves. The sessionID is a unique identifier which should match the “ses-<label>” used in file naming system.</definition>
</property>
<property>
<id>7b6a98e8-948d-46fe-a9d4-9e342e914a8e</id>
<name>sessionStartDateTime</name>
<value></value>
<definition>Date and time of start of session. This should correspond to the first date time when the first data point of the session was recorded.</definition>
</property>
<property>
<id>7bd77757-90ea-4575-b46b-80865954cc90</id>
<name>sessionDuration</name>
<value></value>
<definition>The total duration of the session.</definition>
</property>
<property>
<id>40bd2f9c-1cad-4998-9407-3c6dc760f1d3</id>
<name>sessionQuality</name>
<value></value>
<definition>A general rating of the quality of the session to simplify data screenings for further analyses.</definition>
</property>
<property>
<id>53edc792-78c2-49ed-94c4-3a150556f2a2</id>
<name>sessionDataQuality</name>
<value></value>
<definition>A general rating of the quality of the primary data signals.</definition>
</property>
<property>
<id>ee86b91a-1ddd-4e0d-9c9a-578e58f2a9fc</id>
<name>comment</name>
<value></value>
<definition>General comments on the session.</definition>
</property>
<property>
<id>e9797494-a5dc-463a-ab25-af0e63fc62d4</id>
<name>trialCount</name>
<value></value>
<definition>Total number of trials within a session.</definition>
</property>
<property>
<id>bd224230-596a-47ff-b090-aa072df71dc2</id>
<name>trialDefinition</name>
<value></value>
<definition>A free text space to provide the unambiguous description of what does a trial correspond to in the described session.</definition>
</property>
</section>
<section>
<id>65fe65a0-dc2e-4a51-8251-0050182f29cf</id>
<type>n.s.</type>
<name>trial-element</name>
<definition>A trial is defined as a single performance of a given task or a single presentation of a stimulus.</definition>
<property>
<id>a2262703-eded-42b0-bcb1-6bb7c1b411bd</id>
<name>sessionID</name>
<value></value>
<definition>Session identifier in which the trial being described occurs.</definition>
</property>
<property>
<id>a810e824-2e1f-40e5-a694-ea4a36838836</id>
<name>trialID</name>
<value></value>
<definition>Unique identifier associated with each trial.</definition>
</property>
<property>
<id>e3c41409-031c-4e5a-819a-552cde0414ef</id>
<name>trialTimeStamp</name>
<value></value>
<definition>Timestamp associated with the start of the trial.</definition>
</property>
<property>
<id>4cf4cf12-0cc9-4461-9e8c-aa8a9b8f6b82</id>
<name>trialEndStamp</name>
<value></value>
<definition>Timestamp associated with the end of the trial.</definition>
</property>
<property>
<id>bae58ad5-6235-4b0b-99cb-13d52dc7b749</id>
<name>trialType</name>
<value></value>
<definition>Referemce to the trial type to be used.</definition>
</property>
</section>
<section>
<id>4d2d0b4e-f511-400e-a5f4-376bda01ca15</id>
<type>n.s.</type>
<name>free-text-field</name>
<definition>A free text element to allow the user to provide any additional information.</definition>
</section>
<property>
<id>a1ee543b-ec7e-4cad-8ca0-06a7e64ff8b8</id>
<name>free-text-field</name>
<value></value>
<definition>A free text element to allow the user to provide any additional information.</definition>
</property>
</section>
</odML>