|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ed.ph.signal.Statistics
uk.ac.ed.ph.signal.RealStatistics
public class RealStatistics
Class to form the statistics of a RealSignal or RealImage, which must be in REAL space.
| Field Summary |
|---|
| Fields inherited from class uk.ac.ed.ph.signal.Statistics |
|---|
areValid, data |
| Constructor Summary | |
|---|---|
RealStatistics(RealDataArray d)
Constructor to form the RealStatistics for a RealDataArray |
|
RealStatistics(RealImage im)
Constructor to form the RealStatistics of a RealImage. |
|
RealStatistics(RealSignal s)
Constructor to form the RealStatistics of a RealSignal |
|
| Method Summary | |
|---|---|
void |
calculate()
Void method to calculate (re re-calculate) the statitics |
double |
getMax()
Get the maximum value |
double |
getMean()
Get the mean value |
double |
getMin()
Get the minimum value |
double |
getPower()
Get the power value |
double |
getVariance()
Get the variance value |
String |
toString()
Format as a String |
| Methods inherited from class uk.ac.ed.ph.signal.Statistics |
|---|
getDataArray, getValid, setValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RealStatistics(RealImage im)
im - the RealImagepublic RealStatistics(RealSignal s)
s - the RealSignalpublic RealStatistics(RealDataArray d)
d - the RealDataArray| Method Detail |
|---|
public void calculate()
calculate in class Statisticspublic double getMin()
public double getMax()
public double getMean()
public double getPower()
public double getVariance()
public String toString()
toString in class Statistics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||