|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--heasarc.w3browse.plot.Column
This class stores W3Browse data by column.
Field Summary | |
java.lang.Object |
data
The column data. |
protected java.lang.String |
fieldname
String containing name of field |
boolean |
isNumeric
Indicates if column is numeric |
protected double |
max
Maximum data[] element |
protected double |
min
Minimum data[] element |
protected int |
nrows
Number of rows of data |
protected java.lang.String |
type
The data type of the column |
Constructor Summary | |
Column(double[] indata,
Column col)
Constructor which creates a Column with new data array The rest of the data comes from the passed in Column This constructor is used by the Aitoff class |
|
Column(java.lang.String name,
java.lang.String type,
java.lang.Object data,
boolean isNumeric)
Constructor for Column |
Method Summary | |
double[] |
getData()
Returns data array for Column object |
java.lang.String |
getField()
Returns field name for Column |
double |
getMax()
Returns max value for column data |
double |
getMin()
Returns min value for column data |
int |
getNrows()
|
static Column |
logColumn(Column col)
Create a new column which is the logarithm of the input. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String fieldname
protected java.lang.String type
protected int nrows
public boolean isNumeric
public java.lang.Object data
protected double min
protected double max
Constructor Detail |
public Column(java.lang.String name, java.lang.String type, java.lang.Object data, boolean isNumeric)
name
- name of fieldtype
- of data in columndata
- object array containing field dataisNumeric
- indicates if column contains numeric datanrows
- number of data rows for a fieldpublic Column(double[] indata, Column col)
Method Detail |
public int getNrows()
public static Column logColumn(Column col)
col
- from which the log column is constructedpublic double getMin()
public double getMax()
public java.lang.String getField()
public double[] getData() throws java.lang.ClassCastException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |