edu.ucla.stat.SOCR.chart.util
Class CurvedGaussian

java.lang.Object
  extended by edu.ucla.stat.SOCR.chart.util.Module
      extended by edu.ucla.stat.SOCR.chart.util.CurvedGaussian

public class CurvedGaussian
extends Module


Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.chart.util.Module
probs, weight, xsiz, ysiz
 
Constructor Summary
CurvedGaussian(double xSize, double ySize, double w)
           
 
Method Summary
 XYSeries drawCurvedOval(XYSeries series, double x1, double y1, double x2, double y2, double r1, double r2)
           
 void EMpar(Database db, double prior)
           
 void fixedKernel(double w)
           
 XYSeriesCollection getDataset()
           
 double getkmx()
           
 double getkmy()
           
 double getksx()
           
 double getksxy()
           
 double getksy()
           
 double[] getPar()
           
 java.awt.Polygon getPolygon()
           
 double getWeight()
           
 double getXStart()
           
 double getYStart()
           
 void randomKernel(double w)
           
 void save2ndGaussianPolygon(double x1, double y1, double x2, double y2, double r1, double r2)
           
 void setFixedRange(double xSize, double ySize, double xstart, double ystart)
           
 void setplotline()
           
 void setPolygon(java.awt.Polygon _gaussian2ndPolygon)
           
 void setRange(double xSize, double ySize, double xstart, double ystart)
           
 void setXStart(double _xStart)
           
 void setYStart(double _yStart)
           
 
Methods inherited from class edu.ucla.stat.SOCR.chart.util.Module
calcp, EMprob, setweight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurvedGaussian

public CurvedGaussian(double xSize,
                      double ySize,
                      double w)
Method Detail

randomKernel

public void randomKernel(double w)

fixedKernel

public void fixedKernel(double w)

setRange

public void setRange(double xSize,
                     double ySize,
                     double xstart,
                     double ystart)

setFixedRange

public void setFixedRange(double xSize,
                          double ySize,
                          double xstart,
                          double ystart)

setXStart

public void setXStart(double _xStart)

setYStart

public void setYStart(double _yStart)

getXStart

public double getXStart()

getYStart

public double getYStart()

setplotline

public void setplotline()

getPar

public double[] getPar()

getWeight

public double getWeight()

getksx

public double getksx()

getkmx

public double getkmx()

getkmy

public double getkmy()

getksxy

public double getksxy()

getksy

public double getksy()

getDataset

public XYSeriesCollection getDataset()

drawCurvedOval

public XYSeries drawCurvedOval(XYSeries series,
                               double x1,
                               double y1,
                               double x2,
                               double y2,
                               double r1,
                               double r2)

save2ndGaussianPolygon

public void save2ndGaussianPolygon(double x1,
                                   double y1,
                                   double x2,
                                   double y2,
                                   double r1,
                                   double r2)

setPolygon

public void setPolygon(java.awt.Polygon _gaussian2ndPolygon)

getPolygon

public java.awt.Polygon getPolygon()

EMpar

public void EMpar(Database db,
                  double prior)