Uses of Class
jspecview.common.Coordinate
Packages that use Coordinate
-
Uses of Coordinate in jspecview.common
Subclasses of Coordinate in jspecview.commonModifier and TypeClassDescriptionclass
TheAnnotation
class stores the spectral x and pixel y values of an annotation text along with its textclass
ColoredAnnotation is a label on the spectrum; not an integralRegionclass
class
TheMeasurement
class stores an annotation that is a measurementFields in jspecview.common declared as CoordinateMethods in jspecview.common that return CoordinateModifier and TypeMethodDescriptionIntegralData.calculateIntegral()
Coordinate.copy()
Returns a new coordinate that has the same x and y values of this coordinatePanelData.getClickedCoordinate()
Returns the spectrum coordinate of the point on the display that was clickedPeakPickEvent.getCoord()
IntegralData.getXYCoords()
Spectrum.getXYCoords()
Returns the array of coordinatesstatic Coordinate[]
Coordinate.normalise
(Coordinate[] xyCoords, double min, double max) Normalises the y values of a spectrum to a certain rangestatic Coordinate[]
Parses data stored in x, y formatstatic Coordinate[]
Coordinate.reverse
(Coordinate[] x) Coordinate.set
(double x, double y) ConstructorMethods in jspecview.common with parameters of type CoordinateModifier and TypeMethodDescriptionstatic void
Coordinate.applyScale
(Coordinate[] xyCoords, double xScale, double yScale) Apply the scale factor to the coordinatesboolean
Coordinate.equals
(Coordinate coord) Indicates whether some other Coordinate is equal to this oneSpectrum.findPeakByCoord
(int xPixel, Coordinate coord) static double
Coordinate.findXForPeakNearest
(Coordinate[] xyCoords, double x, boolean isMin) Spectrum.getAssociatedPeakInfo
(int xPixel, Coordinate coord) static double
Coordinate.getMaxX
(Coordinate[] coords, int start, int end) Returns the minimum x value of an array ofCoordinate
sstatic double
Coordinate.getMaxY
(Coordinate[] coords, int start, int end) Returns the maximum y value of an array ofCoordinate
sstatic double
Coordinate.getMinX
(Coordinate[] coords, int start, int end) Returns the minimum x value of an array ofCoordinate
sstatic double
Coordinate.getMinY
(Coordinate[] coords, int start, int end) Returns the minimum y value of an array ofCoordinate
sstatic 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 yboolean
PanelData.getPickedCoordinates
(Coordinate coord, Coordinate actualCoord) click event processingstatic 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 rangestatic Spectrum
Spectrum.newSpectrum
(Spectrum spectrum, Coordinate[] newXYCoords, String units) copy spectrum with new coordinatesstatic Coordinate[]
Coordinate.normalise
(Coordinate[] xyCoords, double min, double max) Normalises the y values of a spectrum to a certain rangestatic double
Coordinate.parabolicInterpolation
(Coordinate[] xyCoords, int pt) see https://ccrma.stanford.edu/~jos/sasp/Quadratic_Interpolation_Spectral_Peaks.htmlstatic void
Coordinate.removeScale
(Coordinate[] xyCoords, double xScale, double yScale) Removes the scale factor from the coordinatesstatic Coordinate[]
Coordinate.reverse
(Coordinate[] x) int
Spectrum.setNextPeak
(Coordinate coord, int istep) void
ViewData.setXRangeForSubSpectrum
(Coordinate[] xyCoords) static void
Coordinate.shiftX
(Coordinate[] xyCoords, double dx) Constructors in jspecview.common with parameters of type CoordinateModifierConstructorDescriptionPeakPickEvent
(Object source, Coordinate coord, PeakInfo peakInfo) ScaleData
(Coordinate[] coords, int start, int end, boolean isContinuous, boolean isInverted) Calculates values thatJSVPanel
needs in order to render a graph, (eg. -
Uses of Coordinate in jspecview.dialog
Subclasses of Coordinate in jspecview.dialogModifier and TypeClassDescriptionclass
Dialog for managing the integral listing for a Spectrum within a GraphSetclass
class
Dialog for managing the measurement list for a Spectrum within a GraphSetclass
Dialog for showing the legend or key for overlaid plots in aJSVPanel
.class
Dialog for managing the peak listing for a Spectrum within a GraphSetclass
Dialog for managing overlaying spectra and closing filesMethods in jspecview.dialog with parameters of type CoordinateModifier and TypeMethodDescriptionvoid
JSVDialog.update
(Coordinate clicked, double xRange, int yOffset) -
Uses of Coordinate in jspecview.export
Fields in jspecview.export declared as CoordinateModifier and TypeFieldDescriptionprotected Coordinate[]
XMLExporter.xyCoords
protected Coordinate[]
XMLExporter.xyCoords
Fields in jspecview.export with type parameters of type CoordinateModifier and TypeFieldDescriptionprotected Lst
<Coordinate> XMLExporter.newXYCoords
protected Lst
<Coordinate> XMLExporter.newXYCoords
-
Uses of Coordinate in jspecview.source
Fields in jspecview.source declared as CoordinateMethods in jspecview.source that return CoordinateModifier and TypeMethodDescriptionJDXDecompressor.decompressData
(SB errorLog) Determines the type of compression, decompresses the data and stores coordinates in an array to be returnedMethods in jspecview.source with parameters of type CoordinateModifier and TypeMethodDescriptionvoid
JDXDataObject.setXYCoords
(Coordinate[] coords) Sets the array of coordinates