Package | Description |
---|---|
jspecview.common | |
jspecview.source |
Modifier and Type | Class and Description |
---|---|
class |
Annotation
The
Annotation class stores the spectral x and pixel y values of an
annotation text along with its text |
class |
AwtColoredAnnotation
ColoredAnnotation is a label on the spectrum; not an integralRegion
|
class |
Integral |
class |
Measurement
The
Measurement class stores an annotation that is a measurement |
class |
PeakPick |
Modifier and Type | Method and Description |
---|---|
Coordinate[] |
IntegralData.calculateIntegral() |
Coordinate |
Coordinate.copy()
Returns a new coordinate that has the same x and y values of this
coordinate
|
Coordinate |
PanelData.getClickedCoordinate()
Returns the spectrum coordinate of the point on the display that was
clicked
|
Coordinate |
PeakPickEvent.getCoord() |
Coordinate[] |
JDXSpectrum.getXYCoords()
Returns the array of coordinates
|
Coordinate[] |
IntegralData.getXYCoords() |
static Coordinate[] |
Coordinate.normalise(Coordinate[] xyCoords,
double min,
double max)
Normalises the y values of a spectrum to a certain range
|
static Coordinate[] |
Coordinate.parseDSV(java.lang.String dataPoints,
double xFactor,
double yFactor)
Parses data stored in x, y format
|
static Coordinate[] |
Coordinate.reverse(Coordinate[] x) |
Modifier and Type | Method and Description |
---|---|
static void |
Coordinate.applyScale(Coordinate[] xyCoords,
double xScale,
double yScale)
Apply the scale factor to the coordinates
|
static void |
Coordinate.applyShiftReference(Coordinate[] xyCoords,
int dataPointNum,
double firstX,
double lastX,
double offset,
double observedFreq,
int shiftRefType)
Applies the shift reference to all coordinates
|
static java.lang.String |
Visible.Colour(Coordinate[] xyCoords,
java.lang.String Yunits) |
int |
CoordComparator.compare(Coordinate c1,
Coordinate c2) |
boolean |
Coordinate.equals(Coordinate coord)
Indicates whether some other Coordinate is equal to this one
|
PeakInfo |
JDXSpectrum.findPeakByCoord(Coordinate coord) |
static double |
Coordinate.findXForPeakNearest(Coordinate[] xyCoords,
double x,
boolean isMin) |
PeakInfo |
JDXSpectrum.getAssociatedPeakInfo(Coordinate coord) |
static double |
Coordinate.getMaxX(Coordinate[] coords,
int start,
int end)
Returns the minimum x value of an array of
Coordinate s |
static double |
Coordinate.getMaxY(Coordinate[] coords,
int start,
int end)
Returns the maximum y value of an array of
Coordinate s |
static double |
Coordinate.getMinX(Coordinate[] coords,
int start,
int end)
Returns the minimum x value of an array of
Coordinate s |
static double |
Coordinate.getMinY(Coordinate[] coords,
int start,
int end)
Returns the minimum y value of an array of
Coordinate s |
static int |
Coordinate.getNearestIndexForX(Coordinate[] xyCoords,
double xPt) |
static double |
Coordinate.getNearestXWithYAbove(Coordinate[] xyCoords,
double x,
double y,
boolean inverted,
boolean andGreaterThanX)
discovers nearest peak left or right of x that is above threshold y
|
boolean |
PanelData.getPickedCoordinates(Coordinate coord,
Coordinate actualCoord)
click event processing
|
static double |
Coordinate.getYValueAt(Coordinate[] xyCoords,
double xPt) |
static boolean |
Coordinate.isYInRange(Coordinate[] xyCoords,
double min,
double max)
Determines if the y values of a spectrum are in a certain range
|
static JDXSpectrum |
JDXSpectrum.newSpectrum(JDXSpectrum spectrum,
Coordinate[] newXYCoords,
java.lang.String units)
copy spectrum with new coordinates
|
static Coordinate[] |
Coordinate.normalise(Coordinate[] xyCoords,
double min,
double max)
Normalises the y values of a spectrum to a certain range
|
static double |
Coordinate.parabolicInterpolation(Coordinate[] xyCoords,
int pt)
see https://ccrma.stanford.edu/~jos/sasp/Quadratic_Interpolation_Spectral_Peaks.html
|
static void |
Coordinate.removeScale(Coordinate[] xyCoords,
double xScale,
double yScale)
Removes the scale factor from the coordinates
|
static Coordinate[] |
Coordinate.reverse(Coordinate[] x) |
int |
JDXSpectrum.setNextPeak(Coordinate coord,
int istep) |
void |
JDXDataObject.setXYCoords(Coordinate[] coords)
Sets the array of coordinates
|
void |
AnnotationDialog.update(Coordinate clicked) |
Constructor and Description |
---|
PeakPickEvent(java.lang.Object source,
Coordinate coord,
PeakInfo peakInfo) |
ScaleData(Coordinate[] coords,
int start,
int end,
boolean isContinuous,
boolean isInverted)
Calculates values that
JSVPanel needs in order to render a
graph, (eg. |
Modifier and Type | Method and Description |
---|---|
Coordinate[] |
JDXDecompressor.decompressData(java.lang.StringBuffer errorLog,
double[] firstLastX)
Determines the type of compression, decompresses the data and stores
coordinates in an array to be returned
|