Uses of Class
jspecview.common.Coordinate
Packages that use Coordinate
-
Uses of Coordinate in jspecview.common
Subclasses of Coordinate in jspecview.commonModifier and TypeClassDescriptionclassTheAnnotationclass stores the spectral x and pixel y values of an annotation text along with its textclassColoredAnnotation is a label on the spectrum; not an integralRegionclassclassTheMeasurementclass 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 voidCoordinate.applyScale(Coordinate[] xyCoords, double xScale, double yScale) Apply the scale factor to the coordinatesbooleanCoordinate.equals(Coordinate coord) Indicates whether some other Coordinate is equal to this oneSpectrum.findPeakByCoord(int xPixel, Coordinate coord) static doubleCoordinate.findXForPeakNearest(Coordinate[] xyCoords, double x, boolean isMin) Spectrum.getAssociatedPeakInfo(int xPixel, Coordinate coord) static doubleCoordinate.getMaxX(Coordinate[] coords, int start, int end) Returns the minimum x value of an array ofCoordinatesstatic doubleCoordinate.getMaxY(Coordinate[] coords, int start, int end) Returns the maximum y value of an array ofCoordinatesstatic doubleCoordinate.getMinX(Coordinate[] coords, int start, int end) Returns the minimum x value of an array ofCoordinatesstatic doubleCoordinate.getMinY(Coordinate[] coords, int start, int end) Returns the minimum y value of an array ofCoordinatesstatic intCoordinate.getNearestIndexForX(Coordinate[] xyCoords, double xPt) static doubleCoordinate.getNearestXWithYAbove(Coordinate[] xyCoords, double x, double y, boolean inverted, boolean andGreaterThanX) discovers nearest peak left or right of x that is above threshold ybooleanPanelData.getPickedCoordinates(Coordinate coord, Coordinate actualCoord) click event processingstatic doubleCoordinate.getYValueAt(Coordinate[] xyCoords, double xPt) static booleanCoordinate.isYInRange(Coordinate[] xyCoords, double min, double max) Determines if the y values of a spectrum are in a certain rangestatic SpectrumSpectrum.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 doubleCoordinate.parabolicInterpolation(Coordinate[] xyCoords, int pt) see https://ccrma.stanford.edu/~jos/sasp/Quadratic_Interpolation_Spectral_Peaks.htmlstatic voidCoordinate.removeScale(Coordinate[] xyCoords, double xScale, double yScale) Removes the scale factor from the coordinatesstatic Coordinate[]Coordinate.reverse(Coordinate[] x) intSpectrum.setNextPeak(Coordinate coord, int istep) voidViewData.setXRangeForSubSpectrum(Coordinate[] xyCoords) static voidCoordinate.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 thatJSVPanelneeds in order to render a graph, (eg. -
Uses of Coordinate in jspecview.dialog
Subclasses of Coordinate in jspecview.dialogModifier and TypeClassDescriptionclassDialog for managing the integral listing for a Spectrum within a GraphSetclassclassDialog for managing the measurement list for a Spectrum within a GraphSetclassDialog for showing the legend or key for overlaid plots in aJSVPanel.classDialog for managing the peak listing for a Spectrum within a GraphSetclassDialog for managing overlaying spectra and closing filesMethods in jspecview.dialog with parameters of type CoordinateModifier and TypeMethodDescriptionvoidJSVDialog.update(Coordinate clicked, double xRange, int yOffset) -
Uses of Coordinate in jspecview.export
Fields in jspecview.export declared as CoordinateModifier and TypeFieldDescriptionprotected Coordinate[]XMLExporter.xyCoordsprotected Coordinate[]XMLExporter.xyCoordsFields in jspecview.export with type parameters of type CoordinateModifier and TypeFieldDescriptionprotected Lst<Coordinate> XMLExporter.newXYCoordsprotected 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 TypeMethodDescriptionvoidJDXDataObject.setXYCoords(Coordinate[] coords) Sets the array of coordinates