public static class AsciiHeadersParser.BundleDescriptor extends AbstractDataSet
properties
AVERAGE_TYPE, BIN_MAX, BIN_MAX_NAME, BIN_MIN, BIN_MIN_NAME, BIN_MINUS, BIN_MINUS_NAME, BIN_PLUS, BIN_PLUS_NAME, BINS_0, BINS_1, BUNDLE_0, BUNDLE_1, BUNDLE_2, BUNDLE_3, CACHE_TAG, CADENCE, CONTEXT_0, CONTEXT_1, COORDINATE_FRAME, DEFAULT_FILL_VALUE, DELTA_MINUS, DELTA_MINUS_NAME, DELTA_PLUS, DELTA_PLUS_NAME, DEPEND_0, DEPEND_1, DEPEND_2, DEPEND_3, DEPENDNAME_0, DEPENDNAME_1, DESCRIPTION, ELEMENT_DIMENSIONS, ELEMENT_LABEL, ELEMENT_NAME, FILL_VALUE, FORMAT, JOIN_0, LABEL, LIMIT_HUGE_DATASET, MAX_HIGH_RANK, MAX_PLANE_COUNT, MAX_RANK, MAX_UNIT_BUNDLE_COUNT, METADATA, METADATA_MODEL, MIN_WAVEFORM_LENGTH, MONOTONIC, NAME, NOTES, PLANE_0, QUBE, RENDER_TYPE, SCALE_TYPE, SOURCE, START_INDEX, TITLE, TYPICAL_MAX, TYPICAL_MIN, UNITS, USER_PROPERTIES, VALID_MAX, VALID_MIN, VALUE_AVERAGE_TYPE_GEOMETRIC, VALUE_AVERAGE_TYPE_LINEAR, VALUE_AVERAGE_TYPE_MOD24, VALUE_AVERAGE_TYPE_MOD360, VALUE_AVERAGE_TYPE_MODPI, VALUE_AVERAGE_TYPE_MODTAU, VALUE_AVERAGE_TYPE_NONE, VALUE_BINS_MIN_MAX, VALUE_BINS_MIN_MAX_INCLUSIVE, VALUE_COORDINATE_FRAME_COMPLEX_NUMBER, VALUE_METADATA_MODEL_ISTP, VALUE_METADATA_MODEL_SPASE, VALUE_RENDER_TYPE_COMPOSITE_IMAGE, VALUE_RENDER_TYPE_DIGITAL, VALUE_RENDER_TYPE_EVENTS_BAR, VALUE_RENDER_TYPE_NNSPECTROGRAM, VALUE_RENDER_TYPE_SERIES, VALUE_RENDER_TYPE_TRIANGLE_MESH, VALUE_SCALE_TYPE_LINEAR, VALUE_SCALE_TYPE_LOG, VERSION, WEIGHTS
Modifier and Type | Method and Description |
---|---|
protected void |
addDataSet(java.lang.String name,
int i,
int[] qube)
add the named dataset with the dimensions.
|
protected void |
addDataSet(java.lang.String name,
int i,
int[] qube,
java.lang.String[] names,
java.lang.String[] labels)
add the named dataset with the dimensions.
|
int |
indexOf(java.lang.String name) |
int |
length()
return the length of the first dimension
|
int |
length(int i)
return the length of the second dimension, for the ith element of the first dimension.
|
java.lang.Object |
property(java.lang.String name,
int ic)
accessor for properties attached to the dataset's first index.
|
void |
putProperty(java.lang.String name,
int ic,
java.lang.Object v)
assign the name value to the property at the slice index.
|
int |
rank()
returns the rank of the dataset, which is the number of indeces used to access data.
|
QDataSet |
trim(int start,
int end)
special code because of START_INDEX property.
|
double |
value(int i0,
int i1)
rank 2 accessor.
|
capability, checkImmutable, isImmutable, length, length, makeImmutable, property, putProperty, slice, svalue, toString, value, value, value, value
public int indexOf(java.lang.String name)
protected void addDataSet(java.lang.String name, int i, int[] qube)
name
- name of the dataseti
- index of the dataset. These must be contiguous.qube
- the dimensions or null for rank 1 data, e.g. vector= [3]protected void addDataSet(java.lang.String name, int i, int[] qube, java.lang.String[] names, java.lang.String[] labels)
name
- name of the dataseti
- index of the dataset. These must be contiguous.qube
- the dimensions or null for rank 1 data, e.g. vector= [3]names
- the names for each column. See QDataSet NAME property. This implies Vector.labels
- the labels for each column. See QDataSet LABEL property.public int rank()
QDataSet
rank
in interface QDataSet
rank
in class AbstractDataSet
public int length()
QDataSet
length
in interface QDataSet
length
in class AbstractDataSet
public int length(int i)
QDataSet
length
in interface QDataSet
length
in class AbstractDataSet
i
- the indexpublic java.lang.Object property(java.lang.String name, int ic)
QDataSet
property
in interface QDataSet
property
in class AbstractDataSet
name
- property name, such as "DEPEND_0" or "UNITS"ic
- the indexQDataSet.DEPEND_0
,
QDataSet.UNITS
public void putProperty(java.lang.String name, int ic, java.lang.Object v)
MutablePropertyDataSet
putProperty
in interface MutablePropertyDataSet
putProperty
in class AbstractDataSet
name
- property name like "UNITS" (Use QDataSet.UNITS)ic
- the index of the slice.v
- the property value.Ops.putProperty(org.das2.qds.QDataSet, java.lang.String, java.lang.Object)
,
QDataSet.UNITS
,
QDataSet.property(java.lang.String, int)
public double value(int i0, int i1)
QDataSet
value
in interface QDataSet
value
in class AbstractDataSet
i0
- the indexi1
- the indexpublic QDataSet trim(int start, int end)
trim
in interface QDataSet
trim
in class AbstractDataSet
start
- end
-