public class Schemes
extends java.lang.Object
mm= dir( Schemes )
i=0
for m in mm:
if ( m[0:2]=='is' ):
continue
else:
i=i+1
https://github.com/autoplot/dev/blob/master/bugs/2022/20220125/showAllRanks.md
Constructor and Description |
---|
Schemes() |
Modifier and Type | Method and Description |
---|---|
static QDataSet |
angleDistribution()
return example angle distribution.
|
static QDataSet |
angleDistribution(int i)
return example angle distribution.
|
static QDataSet |
arrayOfBoundingBox()
array of bounding boxes, joined by the zeroth dimension.
|
static QDataSet |
boundingBox()
return a bounding box for the data.
|
static QDataSet |
bundleDataSet()
return an example bundle dataset that bundles timetags, a rank 1 dataset
and a rank 1 dataset.
|
static QDataSet |
bundleDescriptor()
return data that describes the columns of another dataset.
|
static QDataSet |
complexBundleDataSet()
return bundle with Time, Density, Speed, and Flux, to demonstrate
a bundle of datasets with differing rank.
|
static QDataSet |
complexBundleDataSet2()
A complexBundleDataSet is a set of datasets which have different rank.
|
static QDataSet |
complexCoordinateSystemDepend()
returns the QDataSet used to identify the columns of a complex coordinate frame.
|
static QDataSet |
compositeImage()
return an example of a compositeImage.
|
static QDataSet |
eventsList()
return example events list.
|
static QDataSet |
irregularJoin()
return a rank 3 irregular join of three datasets,
the first is 13 records of 27 energies,
the second is 13 records of 20 energies, and
the third is 14 records of 24 energies.
|
static boolean |
isAngleDistribution(QDataSet ds)
return true if the data is an angle distribution.
|
static boolean |
isArrayOfBoundingBox(QDataSet ds)
return true if the data is a rank 3 array of bounding boxes.
|
static boolean |
isBoundingBox(QDataSet ds)
return true if the data is a boundingBox.
|
static boolean |
isBundleDataSet(QDataSet ds)
return true if the data is a bundle dataset
|
static boolean |
isBundleDescriptor(QDataSet bds)
return true if the data describes the columns of another dataset.
|
static boolean |
isComplexCoordinateSystemDepend(QDataSet dep)
return true if the data is length 2, rank 1, and has "ComplexNumber" as the COORDINATE_FRAME.
|
static boolean |
isComplexNumbers(QDataSet ds1)
return true if the data represents an array of complex numbers, containing the property COORDINATE_FRAME
on the last DEPEND, which is equal to "ComplexNumber"
|
static boolean |
isCompositeImage(QDataSet ds)
return true if the dataset is a composite image, and is plottable
with the RGBImageRenderer
|
static boolean |
isEventsList(QDataSet ds)
return true if the data is an events list.
|
static boolean |
isIrregularJoin(QDataSet ds)
return true if the data is a join of datasets of different cadences or lengths.
|
static boolean |
isLegacyXYZScatter(QDataSet zds)
Many of Autoplot's codes use the "legacyXYZScatter" QDataSet scheme,
where the X tags are in DEPEND_0, the Y tags are the QDataSet, and
PLANE_0 contains the Z values.
|
static boolean |
isPolyMesh(QDataSet ds)
return true if the data can be used as a triangulation or tessalation
of 4-point rectangles.
|
static boolean |
isRank1AlongTrajectory(QDataSet ds)
return true if the data is rank 1 along a trajectory
|
static boolean |
isRank1AtXYScatter(QDataSet ds)
is a Z that is a function of X and Y of a xyScatter.
|
static boolean |
isRank2Bins(QDataSet dep)
return true if the data is a rank 2 list of M bins.
|
static boolean |
isRank2Waveform(QDataSet ds)
return true if the data is a rank 2 waveform.
|
static boolean |
isRank2WaveformRank2Offsets(QDataSet ds)
return true if the data is a rank 2 waveform with rank 2 offsets.
|
static boolean |
isRank3Waveform(QDataSet ds)
return true if the data is a rank 3 join of rank 2 waveforms.
|
static boolean |
isScalarSeriesWithErrors(QDataSet ds)
return true is the data is a simple series of scalars with errors.
|
static boolean |
isScalarTimeSeries(QDataSet ds)
return true if the data is a simple time series of scalars.
|
static boolean |
isSimpleSpectrogram(QDataSet ds)
return true if the data is a simple spectrogram, which is
rank 2, and not a small bundle.
|
static boolean |
isSimpleSpectrogramTimeSeries(QDataSet ds)
return true if the data is a simple spectrogram.
|
static boolean |
isTimeSeries(QDataSet ds)
returns true if the dataset is a time series.
|
static boolean |
isTrajectory(QDataSet ds)
return true is the data is a trajectory
|
static boolean |
isUniformCadence(QDataSet ds)
return true of the data has a uniform cadence.
|
static boolean |
isUniformRatiometricCadence(QDataSet ds)
return true of the data has a uniform cadence in log space.
|
static boolean |
isVectorTimeSeries(QDataSet ds)
return true if the data is a vector time series.
|
static boolean |
isXYScatter(QDataSet ds)
is a xyScatter data set.
|
static boolean |
isXYZScatter(QDataSet zds) |
static QDataSet |
legacyXYZScatter()
Many code use this form of data to represent Z(X,Y).
|
static QDataSet |
polyMesh()
set of 2-d or 3-d points and the triangles connecting them.
|
static QDataSet |
rank1AlongTrajectory()
return a rank 1 dataset that depends on a trajectory through a space,
which is not supported currently.
|
static QDataSet |
rank1AtXYScatter()
Here there is a Z that is a function of X and Y of a xyScatter.
|
static QDataSet |
rank2Bins()
return a rank 2 dataset that is a list of bins.
|
static QDataSet |
rank2ComplexNumbers()
return a complex rank 2 dataset, N by 2, which can be thought of as a 1-D array of N complex numbers
|
static QDataSet |
rank2Waveform()
return a rank 2 waveform, where the waveform is stored in packets.
|
static QDataSet |
rank2WaveformRank2Offsets()
return a rank 2 waveform, but DEPEND_1 which contains the offsets is also
rank 2.
|
static QDataSet |
rank3Waveform()
return a join of rank 2 waveforms, also called a rank 3 waveform.
|
static QDataSet |
scalarSeriesWithErrors()
return a rank 1 scalar series with errors.
|
static QDataSet |
scalarTimeSeries()
return a rank 1 scalar time series.
|
static QDataSet |
simpleSpectrogram()
return a rank 2 simple spectrogram, which has two indeces.
|
static QDataSet |
simpleSpectrogramTimeSeries()
return a rank 2 simple spectrogram, which has two indeces
and is a TimeSeries.
|
static QDataSet |
trajectory()
return a trajectory through a space
|
static QDataSet |
uniformCadence()
uniform cadence is when each tag is the same distance apart, within a reasonable threshold.
|
static QDataSet |
uniformRatiometricCadence()
uniform ratiometric cadence is when the tags are uniform in log space.
|
static QDataSet |
vectorTimeSeries()
return a rank 2 vectorTimeSeries, which is a bundle
of m rank 1 measurements.
|
static QDataSet |
xyScatter()
"scatter" is meant to indicate there is no connection between
successive points, and that there is no dependence indicates no
clean relation between the bundled datasets.
|
static QDataSet |
xyzScatter()
This will be the preferred way to represent X,Y → Z.
|
public static QDataSet boundingBox()
from org.das2.qds.examples import Schemes ds= Schemes.boundingBox() print asDatumRange(ds.slice(0))
DataSetUtil.asDatumRange(org.das2.qds.QDataSet)
,
arrayOfBoundingBox()
public static boolean isBoundingBox(QDataSet ds)
ds
- a datasetpublic static QDataSet arrayOfBoundingBox()
boundingBox()
public static boolean isArrayOfBoundingBox(QDataSet ds)
ds
- public static QDataSet rank2Waveform()
from org.das2.qds.examples import Schemes ds= Schemes.rank2Waveform() deltaT= ds.property( QDataSet.DEPEND_1 ) ddeltaT= diffs(dep1) print ddeltaT[0], ddeltT[-1] # should be the same
public static boolean isRank2Waveform(QDataSet ds)
ds
- a datasetpublic static QDataSet rank3Waveform()
public static boolean isRank3Waveform(QDataSet ds)
ds
- a datasetpublic static QDataSet rank2WaveformRank2Offsets()
public static boolean isRank2WaveformRank2Offsets(QDataSet ds)
ds
- a datasetpublic static QDataSet vectorTimeSeries()
dataset→rank2bundle→vectorTimeSeries.from org.das2.qds.examples import Schemes ds= Schemes.vectorTimeSeries() plot( magnitude( ds ) ) plot( unbundle( ds, 0 ) )
public static boolean isVectorTimeSeries(QDataSet ds)
ds
- a datasetpublic static QDataSet simpleSpectrogram()
public static boolean isSimpleSpectrogram(QDataSet ds)
ds
- a datasetpublic static QDataSet scalarTimeSeries()
public static boolean isScalarTimeSeries(QDataSet ds)
ds
- a datasetpublic static QDataSet scalarSeriesWithErrors()
public static boolean isScalarSeriesWithErrors(QDataSet ds)
ds
- datasetpublic static QDataSet simpleSpectrogramTimeSeries()
public static boolean isSimpleSpectrogramTimeSeries(QDataSet ds)
ds
- a datasetpublic static boolean isTimeSeries(QDataSet ds)
ds
- a datasetSemanticOps.isTimeSeries(org.das2.qds.QDataSet)
public static QDataSet uniformCadence()
public static boolean isUniformCadence(QDataSet ds)
ds
- a rank 1 datasetpublic static QDataSet uniformRatiometricCadence()
public static boolean isUniformRatiometricCadence(QDataSet ds)
ds
- a rank 1 datasetpublic static QDataSet compositeImage()
public static boolean isCompositeImage(QDataSet ds)
ds
- a datasetpublic static QDataSet eventsList()
public static boolean isEventsList(QDataSet ds)
ds
- a datasetpublic static QDataSet angleDistribution()
public static QDataSet angleDistribution(int i)
i
- the example number. 0..n-1.public static boolean isAngleDistribution(QDataSet ds)
ds
- a datasetpublic static QDataSet complexBundleDataSet2()
complexBundleDataSet()
public static QDataSet bundleDataSet()
which has differing rank.
public static boolean isBundleDataSet(QDataSet ds)
ds
- a datasetpublic static boolean isBundleDescriptor(QDataSet bds)
bds
- public static QDataSet bundleDescriptor()
public static QDataSet rank2ComplexNumbers()
isComplexNumbers(org.das2.qds.QDataSet)
public static QDataSet complexCoordinateSystemDepend()
public static boolean isComplexCoordinateSystemDepend(QDataSet dep)
dep
- public static boolean isComplexNumbers(QDataSet ds1)
ds1
- a datasetOps.checkComplexArgument(org.das2.qds.QDataSet)
public static QDataSet complexBundleDataSet()
complexBundleDataSet2()
public static QDataSet trajectory()
public static boolean isTrajectory(QDataSet ds)
ds
- a datasetpublic static QDataSet rank1AlongTrajectory()
public static boolean isRank1AlongTrajectory(QDataSet ds)
ds
- a datasetpublic static QDataSet xyScatter()
public static boolean isXYScatter(QDataSet ds)
ds
- public static QDataSet rank1AtXYScatter()
xyzScatter()
public static boolean isRank1AtXYScatter(QDataSet ds)
ds
- public static boolean isRank2Bins(QDataSet dep)
dep
- public static QDataSet rank2Bins()
public static boolean isLegacyXYZScatter(QDataSet zds)
zds
- public static QDataSet legacyXYZScatter()
rank1AtXYScatter()
public static boolean isXYZScatter(QDataSet zds)
zds
- xyzScatter()
public static QDataSet xyzScatter()
rank1AlongTrajectory()
,
rank1AtXYScatter()
public static boolean isIrregularJoin(QDataSet ds)
ds
- public static QDataSet irregularJoin()
public static QDataSet polyMesh()
public static boolean isPolyMesh(QDataSet ds)
ds
- Ops.polyCenters(org.das2.qds.QDataSet)
,
https://sourceforge.net/p/autoplot/feature-requests/819/