-
Notifications
You must be signed in to change notification settings - Fork 1
QDataSet.Schemes
QDataSet uses "Duck Typing", which is to say if it looks like a duck, it's a duck. There's no strong typing which asserts that a QDataSet can only be interpreted in some way. This section attempts to enumerate different types and the properties they have. See https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/examples/Schemes.java which has codes demonstrating schemes and tests to see if a QDataSet satisfies a scheme. Here is a list of schemes, which can be link targets elsewhere.
rank==0
- Digital - will display the string representation in the upper left corner of the plot
- Events List - will display a strike line at this location in x.
There is a Java object "Datum" for this type which is typically used.
rank==1
length()==2
not a bundle
bins_0=min,max
- Digital - will display string rendering of the datum range.
- Events Bar - should display the interval in x. There is a Java object "DatumRange" for this type which is typically used.
rank==2
length()==2
length(1)==2
- Bounds
rank==2
has depend_0 which is the base time for each waveform
has depend_1 which are the offsets
depend_1 units are offset of depend_0 units
- Series
- Huge Scatter
rank==3
each slice is rank 2 waveform
- Series
- Huge Scatter
like rank 2 waveform, but depend_1 is rank 2.
- Series
- Huge Scatter (TODO: verify)
has DEPEND_0
DEPEND_0 units are time locations
Almost any render plots this form, exceptions include PitchAngleDistributionRenderer

not a bundle
- spectrogram
rank==3
zeroth index is a "join" which just connects one or more simple spectrograms.
- spectrogram
rank==2
isQube
each component has same units
- series by unbundling
rank==2
length(0)=3
- color scatter
rank==2
bundle
length(0)==3 or length(0)==4
- events bar

bundle
length(0)==4
Example URI: vap+dat:http://autoplot.org/autoplot/data/event/events.dat
events bar
rank==3
isQube
DEPEND_0 is missing or uniform
DEPEND_1 is missing or uniform
length(0,0)=3 or length(0,0)=4
RGBImageRenderer Spectrogram by slicing
BUNDLE_1 is a dataset containing a description of each column.
suppose BUNDLE_1 is called bds.
bds.property(QDataSet.TITLE,0) is the title of the first dataset.
bds.property(QDataSet.UNITS,0) is the units property.