Uses of Class
adams.data.spectrum.SpectrumPoint
-
Packages that use SpectrumPoint Package Description adams.data.spectrum adams.data.spectrumfilter adams.data.spectrumfilter.amplitudetransform adams.gui.visualization.spectrum -
-
Uses of SpectrumPoint in adams.data.spectrum
Fields in adams.data.spectrum declared as SpectrumPoint Modifier and Type Field Description protected SpectrumPoint
Spectrum. m_MaxAmplitude
point of greatest amplitude.protected SpectrumPoint
Spectrum. m_MaxWaveNumber
point of greatest wave number.protected SpectrumPoint
Spectrum. m_MinAmplitude
point of smallest amplitude.protected SpectrumPoint
Spectrum. m_MinWaveNumber
point of smallest wave number.Fields in adams.data.spectrum with type parameters of type SpectrumPoint Modifier and Type Field Description protected static adams.data.container.DataPointComparator<SpectrumPoint>
Spectrum. m_Comparator
the default comparator.Methods in adams.data.spectrum that return SpectrumPoint Modifier and Type Method Description SpectrumPoint
Spectrum. find(float waveno)
Returns the SpectrumPoint with the exact wave number, null if not found.SpectrumPoint
Spectrum. findClosest(float waveno)
Returns the SpectrumPoint with a wave number closest to the one provided.SpectrumPoint
Spectrum. getMaxAmplitude()
Get point with greatest amplitude.SpectrumPoint
Spectrum. getMaxWaveNumber()
Get point with greatest wave number.SpectrumPoint
Spectrum. getMinAmplitude()
Get point with smallest amplitude.SpectrumPoint
Spectrum. getMinWaveNumber()
Get point with smallest wave number.SpectrumPoint
Spectrum. newPoint()
Returns a new instance of a sequence point.SpectrumPoint
SpectrumPoint. parse(String s)
Parses a string and instantiates a sequence point of it.Methods in adams.data.spectrum that return types with arguments of type SpectrumPoint Modifier and Type Method Description adams.data.container.DataPointComparator<SpectrumPoint>
Spectrum. getComparator()
Returns the comparator in use.adams.data.container.DataPointComparator<SpectrumPoint>
Spectrum. newComparator()
Returns a new instance of the default comparator.Methods in adams.data.spectrum with parameters of type SpectrumPoint Modifier and Type Method Description int
SpectrumPointComparator. compare(SpectrumPoint o1, SpectrumPoint o2)
Compares its two arguments for order.static int
SpectrumUtils. findWaveNumber(List<SpectrumPoint> points, SpectrumPoint p)
Returns the index in points of the given spectrum point, -1 if not found.static Spectrum
SpectrumUtils. getConsecutiveRegion(List<SpectrumPoint> points, SpectrumPoint lastEnd, SpectrumPoint end)
Returns a region for the given range, starting just after the wave number of "lastEnd" and ending (including) at "end".static Spectrum
SpectrumUtils. getRegion(List<SpectrumPoint> points, SpectrumPoint start, SpectrumPoint end)
Returns a region for the given range, including both, start and end point.Method parameters in adams.data.spectrum with type arguments of type SpectrumPoint Modifier and Type Method Description protected static void
SpectrumUtils. add(Hashtable<Float,SpectrumPoint> pool, Spectrum s)
Merges the given spectrum with the current data pool.void
Spectrum. assign(adams.data.container.DataContainer<SpectrumPoint> other)
Obtains the stored variables from the other data point, but not the actual data points.static int
SpectrumUtils. countRegions(List<SpectrumPoint> points, long start, long end, boolean positive)
Counts the positive or negative regions between the given points (incl.static int
SpectrumUtils. countSignChanges(List<SpectrumPoint> points, long start, long end)
Counts the sign changes in the given data between the given points (incl.static int
SpectrumUtils. findClosestWaveNumber(List<SpectrumPoint> points, float waveno)
Returns the index in points closest to the given wave number.static int[]
SpectrumUtils. findEnclosingWaveNumbers(List<SpectrumPoint> points, float waveno)
Returns the indices of points in m_Points that enclose the given wave number.static int
SpectrumUtils. findWaveNumber(List<SpectrumPoint> points, float waveno)
Returns the index in points of the given wave number.static int
SpectrumUtils. findWaveNumber(List<SpectrumPoint> points, SpectrumPoint p)
Returns the index in points of the given spectrum point, -1 if not found.static Spectrum
SpectrumUtils. getConsecutiveRegion(List<SpectrumPoint> points, SpectrumPoint lastEnd, SpectrumPoint end)
Returns a region for the given range, starting just after the wave number of "lastEnd" and ending (including) at "end".protected static Spectrum
SpectrumUtils. getHeader(List<SpectrumPoint> points)
Creates a header based on the given spectrum points.static Spectrum
SpectrumUtils. getRegion(List<SpectrumPoint> points, SpectrumPoint start, SpectrumPoint end)
Returns a region for the given range, including both, start and end point.static double[]
SpectrumUtils. toDoubleArray(List<SpectrumPoint> data)
Returns the amplitudes as double array. -
Uses of SpectrumPoint in adams.data.spectrumfilter
Methods in adams.data.spectrumfilter that return SpectrumPoint Modifier and Type Method Description protected SpectrumPoint
EquiDistance. interpolate(float waveno, SpectrumPoint left, SpectrumPoint right)
Returns a SpectrumPoint with interpolated amplitude.Methods in adams.data.spectrumfilter that return types with arguments of type SpectrumPoint Modifier and Type Method Description protected List<SpectrumPoint>
StandardiseByInterpolation. getClosestPoints(double waveno, List<SpectrumPoint> data, int numpoints)
Methods in adams.data.spectrumfilter with parameters of type SpectrumPoint Modifier and Type Method Description protected SpectrumPoint
EquiDistance. interpolate(float waveno, SpectrumPoint left, SpectrumPoint right)
Returns a SpectrumPoint with interpolated amplitude.Method parameters in adams.data.spectrumfilter with type arguments of type SpectrumPoint Modifier and Type Method Description protected List<SpectrumPoint>
StandardiseByInterpolation. getClosestPoints(double waveno, List<SpectrumPoint> data, int numpoints)
protected double
AbstractStandardiseFilter. interp(double int_point, List<SpectrumPoint> lsp, int poly)
protected double
AbstractStandardiseFilter. L(double x, List<SpectrumPoint> lsp, int m)
-
Uses of SpectrumPoint in adams.data.spectrumfilter.amplitudetransform
Methods in adams.data.spectrumfilter.amplitudetransform that return SpectrumPoint Modifier and Type Method Description protected abstract SpectrumPoint
AbstractAmplitudeTransformer. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.protected SpectrumPoint
ApplyMultiplicativeScatterCorrection. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.protected SpectrumPoint
PassThrough. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.protected SpectrumPoint
Triangle. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.Methods in adams.data.spectrumfilter.amplitudetransform with parameters of type SpectrumPoint Modifier and Type Method Description protected abstract SpectrumPoint
AbstractAmplitudeTransformer. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.protected SpectrumPoint
ApplyMultiplicativeScatterCorrection. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.protected SpectrumPoint
PassThrough. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object.protected SpectrumPoint
Triangle. transform(int index, SpectrumPoint point)
Transform the spectrum point and returns a new object. -
Uses of SpectrumPoint in adams.gui.visualization.spectrum
Fields in adams.gui.visualization.spectrum declared as SpectrumPoint Modifier and Type Field Description protected SpectrumPoint
SelectedWaveNumberPaintlet. m_Point
the point to paint.Methods in adams.gui.visualization.spectrum that return SpectrumPoint Modifier and Type Method Description protected static SpectrumPoint
WaveNumberHitDetector. findClosestSpectrumPoint(SpectrumContainerManager manager, float waveno)
Returns the closest spectrum point to the specified wave number across all visible spectra.SpectrumPoint
SelectedWaveNumberPaintlet. getPoint()
Returns the currently set point to highlight.Methods in adams.gui.visualization.spectrum that return types with arguments of type SpectrumPoint Modifier and Type Method Description protected List<SpectrumPoint>
SpectrumPointHitDetector. isHit(MouseEvent e)
Checks for a hit.Methods in adams.gui.visualization.spectrum with parameters of type SpectrumPoint Modifier and Type Method Description void
SelectedWaveNumberPaintlet. setPoint(SpectrumPoint value)
Sets the point to highlight, automatically repaints the panel.Method parameters in adams.gui.visualization.spectrum with type arguments of type SpectrumPoint Modifier and Type Method Description protected String
SpectrumPointHitDetector. processHit(MouseEvent e, List<SpectrumPoint> hit)
Performs the action when a hit is detected.
-