|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saaps.util.Average
Constructor Summary | |
Average()
|
Method Summary | |
static TimeSeries |
getFromDB(java.lang.String dboStr,
java.util.Date sd,
java.util.Date ed,
long si,
long w1,
long w2,
boolean ignoreNaN)
Get a TimeSeries object from the database over the given interval and the given sampling rate and time resolution. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Average()
Method Detail |
public static TimeSeries getFromDB(java.lang.String dboStr, java.util.Date sd, java.util.Date ed, long si, long w1, long w2, boolean ignoreNaN)
The time resolution is defined by the window [w1,w2] over which the averaging is made.
Example: Get ACE one minute data with 1 hour central averages.
TimeSeries ts = Average.getFromDB("ACEmagDB",sd,ed,si,w1,w2)
where sd and ed are the start and end dates (Date objects) and
dboStr
- The name of the database objectsd
- The start dateed
- The end datesi
- Sample interval in millisecondsw1
- Start of average window in millisecondsw2
- End of average window in millisecondsignoreNaN
- If true then ignore NaN before averaging
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |