HiRISE

HiRISE.HiPlan.HIPHOP
Class Histogram

java.lang.Object
  extended by HiRISE.HiPlan.HIPHOP.Histogram
All Implemented Interfaces:
Function2D

public class Histogram
extends Object
implements Function2D

A set of HIPHOP histogram data.

Version:
1.11
Author:
Christian Schaller - UA/PIRL

Field Summary
static String DEFAULT_TITLE
           
static String ID
          Class identification name with source code version and date.
 
Constructor Summary
Histogram()
           
Histogram(String title, double[] data)
           
Histogram(String title, double[] data, int offset)
           
 
Method Summary
 double frostMean()
           
 double getValue(double x)
           
static Histogram make_histogram(Model model, String ccd, int channel, int tdi, int bin)
           
 double max_value()
           
 double max()
           
 double mean()
          Gets the mean value of the histogram data.
 double min()
           
 int samples()
           
 double saturation()
           
 double scale()
           
 double standard_deviation()
          Gets the standard deviation of the histogram data.
 double surfaceMean()
           
 String title()
           
 void title(String title)
           
 String toString()
           
 XYSeries xyseries(Comparable key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

DEFAULT_TITLE

public static final String DEFAULT_TITLE
See Also:
Constant Field Values
Constructor Detail

Histogram

public Histogram(String title,
                 double[] data,
                 int offset)

Histogram

public Histogram(String title,
                 double[] data)

Histogram

public Histogram()
Method Detail

title

public String title()

title

public void title(String title)

saturation

public double saturation()

surfaceMean

public double surfaceMean()

frostMean

public double frostMean()

samples

public int samples()

scale

public double scale()

getValue

public double getValue(double x)
Specified by:
getValue in interface Function2D

xyseries

public XYSeries xyseries(Comparable key)

min

public double min()

max

public double max()

mean

public double mean()
Gets the mean value of the histogram data.

Returns:
the mean.

standard_deviation

public double standard_deviation()
Gets the standard deviation of the histogram data.

Returns:
the standard deviation.

max_value

public double max_value()

toString

public String toString()
Overrides:
toString in class Object

make_histogram

public static Histogram make_histogram(Model model,
                                       String ccd,
                                       int channel,
                                       int tdi,
                                       int bin)

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona