public class StereoList extends DataProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
CVS ID
|
Constructor and Description |
---|
StereoList() |
Modifier and Type | Method and Description |
---|---|
StereoPairCollection |
getPairs()
Get the list of StereoPairs
|
java.lang.String |
getSQL()
Return the query string used to select candidates.
|
org.jfree.data.xy.XYSeriesCollection |
getXYDataset()
Get the collected data for charting
|
void |
init(StereoForm form)
Perform our query and collect data based on information in the form
|
static java.lang.Double |
stereoAngle(double clat0,
double clat1,
double clon0,
double clon1,
double slat0,
double slat1,
double slon0,
double slon1,
double dist0,
double dist1)
Compute the stereo separation angle between two stereo halves
|
static java.lang.Double |
stereoAngle(StereoHalf left,
StereoHalf rite)
Calculate the stereo angle between two halves
|
getConnection, setConnection
public static final java.lang.String ID
public void init(StereoForm form) throws java.sql.SQLException
form
- Instance with user options or defaultsjava.sql.SQLException
- Could not collect datapublic StereoPairCollection getPairs()
public java.lang.String getSQL()
public static java.lang.Double stereoAngle(StereoHalf left, StereoHalf rite)
left
- halfrite
- halfpublic static java.lang.Double stereoAngle(double clat0, double clat1, double clon0, double clon1, double slat0, double slat1, double slon0, double slon1, double dist0, double dist1)
clat0
- center latitude of first halfclat1
- center latitude of second halfclon0
- center longitude of first halfclon1
- center longitude of second halfslat0
- spacecraft latitude of first halfslat1
- spacecraft latitude of second halfslon0
- spacecraft longitude of first halfslon1
- spacecraft longitude of second halfdist0
- spacecraft-target distance of first halfdist1
- spacecraft-target distance of second halfpublic org.jfree.data.xy.XYSeriesCollection getXYDataset()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona