public class TrendData extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
getHighT()
Returns latest time for data points contained in this dataset.
|
long |
getLowT()
Returns earliest time for data points contained in this dataset.
|
String[] |
getMetadata(String key)
Returns an array of string values contained in this dataset for the specified off-point metadata type.
|
Set<String> |
getOnPointKeys()
Returns the set of keys for on-point data and metadata present in this dataset.
|
String |
getSingleValueMetadata(String key)
Returns off-point metadata value for the specified key if it is valid for the entire time window covered by this dataset.
|
long[] |
getTimeRange()
Returns the time range of this data set.
|
long[] |
getTimes()
Returns an array of timestamps for points in this dataset.
|
long[] |
getTimes(String key)
Returns an array of timestamps available in this dataset for the specified data or metadata.
|
double[] |
getValues()
Returns an array of values for data in this dataset.
|
double[] |
getValues(String key)
Returns an array of values contained in this dataset for the specified metadata type.
|
boolean |
isRaw()
Reports the type of data.
|
public long[] getTimes()
public double[] getValues()
public long[] getTimes(String key)
key - String that identifies the data or metadata.null if there is no such data or metadata.public double[] getValues(String key)
key - String that identifies the metadata.null if there is no
such data or metadata that could be converted to double values.public String[] getMetadata(String key)
key - String that identifies the metadata.null if there is no such metadata in this dataset.public String getSingleValueMetadata(String key)
key - String that identifies the metadata.null if there is no such single-value metadata.public Set<String> getOnPointKeys()
VALUE_KEY.public long getLowT()
public long getHighT()
public long[] getTimeRange()
public boolean isRaw()
true if unbinned raw data.Copyright © 2023 LSST. All rights reserved.