2012 Data Discussion Examples: Difference between revisions
From canSAS
m (stub out a new section) |
(→terms) |
||
Line 157: | Line 157: | ||
= terms = | = terms = | ||
== SASroot == | |||
same use as original 1D format | |||
== SASentry == | |||
same use as original 1D format | |||
== SASdata == | |||
different use than original 1D format, refers to a single reduced data set that can be represented thus (such as from one detector) | |||
SASdata has three possible attributes, as shown in this example: | |||
<pre> | |||
@Q="Qx,Qy,Qz" | |||
@Qindices=",*,*,time," | |||
@Iindices="T,Q,Q,time,P" | |||
</pre> | |||
=== @Q === | |||
describes the names of the actual data objects that describe Q | |||
=== @Qindices === | |||
describes which indices are used (from the I object) to reference Q | |||
=== @Iindices === | |||
describes which objects correspond to the indices of the I object |
Revision as of 15:38, 29 July 2012
1D
example of simple 1D SAS data, I(Q)
SASroot SASentry SASdata @Q="Q" @Qindices="*" @Iindices="Q" I: float[100] Q: float[100]
example of simple 1D SAS data in a time series, I(Q, t)
SASroot SASentry SASdata @Q="Q" @Qindices="*" @Iindices="Q,time" I: float[100, ntime] Q: float[100] t: float[ntime]
example of generic 1D SAS data in a time series, I(Q(t), t)
SASroot SASentry SASdata @Q="Q" @Qindices="*,time" @Iindices="Q,time" I: float[100, ntime] Q: float[100, ntime] t: float[ntime]
2D
example of simple 2D (image) SAS data, I(Q)
SASroot SASentry SASdata @Q="Qx,Qy" @Qindices="*,*" @Iindices="Q,Q" I: float[100, 512] Qx: float[100, 512] Qy: float[100, 512]
example of generic 2D SAS data, I(Q)
SASroot SASentry SASdata @Q="Qx,Qy,Qz" @Qindices="*" @Iindices="Q" I: float[100*512] Qx: float[100*512] Qy: float[100*512] Qz: float[100*512]
example of generic 2D SAS data in a time series, I(Q(t),t)
SASroot SASentry SASdata @Q="Qx,Qy,Qz" @Qindices="*,time" @Iindices="Q,time" I: float[100*512,ntime] Qx: float[100*512,ntime] Qy: float[100*512,ntime] Qz: float[100*512,ntime] t: float[ntime]
example of generic 2D SAS data in a time, T, & P series, I(Q(t,T,P),t,T,P)
SASroot SASentry SASdata @Q="Qx,Qy,Qz" @Qindices="*,time,T,P" @Iindices="Q,time,T,P" I: float[100*512,ntime,nT,nP] Qx: float[100*512,ntime,nT,nP] Qy: float[100*512,ntime,nT,nP] Qz: float[100*512,ntime,nT,nP] t: float[ntime] T: float[nT] P: float[nP]
example of generic 2D SAS data in a time, T, & P series, I(T,Q(t),t,P)
SASroot SASentry SASdata @Q="Qx,Qy,Qz" @Qindices=",*,*,time," @Iindices="T,Q,Q,time,P" I: float[nT,100,512,ntime,nP] Qx: float[100,512,ntime] Qy: float[100,512,ntime] Qz: float[100,512,ntime] t: float[ntime] T: float[nT] P: float[nP]
invalid case
example of **over-simple** 2D (image) SAS data, I(Q)
Invalid because the method of addressing the Q values is different than all the above.
SASroot SASentry SASdata @Q="Qx,Qy" @Qindices="*,*" I: float[100, 512] @axes=" ??? " Qx: float[100] Qy: float[512]
terms
SASroot
same use as original 1D format
SASentry
same use as original 1D format
SASdata
different use than original 1D format, refers to a single reduced data set that can be represented thus (such as from one detector)
SASdata has three possible attributes, as shown in this example:
@Q="Qx,Qy,Qz" @Qindices=",*,*,time," @Iindices="T,Q,Q,time,P"
@Q
describes the names of the actual data objects that describe Q
@Qindices
describes which indices are used (from the I object) to reference Q
@Iindices
describes which objects correspond to the indices of the I object