public class JitPlot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RANGE_PX
The initial range limit (offset axis), will be increased as needed
|
static java.lang.String |
ID
CVS ID
|
static int |
PLOT_DOT_SIZE
Size of the points in pixels
|
Constructor and Description |
---|
JitPlot()
Create a new instance using the default configuration.
|
JitPlot(JitParser jitParser)
Create a new instance a pre-configured parser.
|
JitPlot(java.lang.String config)
Create a new instance with a particular configuration.
|
Modifier and Type | Method and Description |
---|---|
org.jfree.chart.JFreeChart |
getPlot(Observation observation)
Create the plot for a particular observation, parsing all the data.
|
org.jfree.chart.JFreeChart |
getPlot(Observation observation,
java.util.Map<CCD,JitData> map)
Create the plot for a particular observation, using collected data.
|
org.jfree.chart.plot.XYPlot |
getSubPlot(java.lang.String name,
JitData data,
int maxRange)
Create the subplot for a particular CCD.
|
static void |
main(java.lang.String[] args)
Command-line JitPlot, writes plot to a bitmap image file.
|
public static final java.lang.String ID
public static final int PLOT_DOT_SIZE
public static final int DEFAULT_RANGE_PX
public JitPlot() throws java.lang.Exception
java.lang.Exception
- Invalid config filepublic JitPlot(java.lang.String config) throws java.lang.Exception
config
- Path to HiJitReg configjava.lang.Exception
- Invalid config filepublic JitPlot(JitParser jitParser)
jitParser
- The parser instancepublic org.jfree.chart.JFreeChart getPlot(Observation observation) throws Invalid_Argument_Exception, java.io.IOException
observation
- The observation to plotInvalid_Argument_Exception
- Bad IDsjava.io.IOException
- Files could not be readpublic org.jfree.chart.JFreeChart getPlot(Observation observation, java.util.Map<CCD,JitData> map) throws Invalid_Argument_Exception, java.io.IOException
observation
- The observation to plotmap
- Collected data for each available CCDInvalid_Argument_Exception
- Bad IDsjava.io.IOException
- Files could not be readpublic org.jfree.chart.plot.XYPlot getSubPlot(java.lang.String name, JitData data, int maxRange)
name
- The name of the CCDdata
- The data collected for this CCDmaxRange
- The range (horizontal axis) limitpublic static void main(java.lang.String[] args)
args
- Command-line interface for pipelines, etc.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona