public interface HapiBins
getRanges()
and getCenters()
methods is supposed to return null.Modifier and Type | Method and Description |
---|---|
static HapiBins |
fromJson(org.json.JSONObject json)
Reads HapiBins from a HAPI bins json object.
|
double[] |
getCenters()
Returns an array giving the centers of each bin.
|
java.lang.String |
getDescription()
Returns a description of what the bins represent.
|
java.lang.String |
getLabel()
Returns a human-readable label for bins axis.
|
java.lang.String |
getName()
Name for the dimension.
|
double[][] |
getRanges()
Returns an array of 2-element arrays giving (low,high) bounds of
each bin.
|
java.lang.String |
getUnits()
Returns the units of bin centers or ranges.
|
java.lang.String getName()
double[] getCenters()
double[][] getRanges()
java.lang.String getUnits()
java.lang.String getLabel()
java.lang.String getDescription()
static HapiBins fromJson(org.json.JSONObject json)
json
- JSON object