@Equality public static interface SpectrogramPlotter.ChannelGrid
Modifier and Type | Method and Description |
---|---|
void |
getChannelBounds(int ichan,
double[] ybounds)
Reports the upper and lower Y (spectral) bounds for a given channel.
|
int |
getChannelCount()
Returns the number of channels if known.
|
int[] |
getChannelRange(double ylo,
double yhi)
Returns the range of channel indices which are completely or
partially covered in a given range of Y (spectral) values.
|
String |
getSpectralName()
Returns the name of the quantity plotted on the spectral axis.
|
String |
getSpectralUnit()
Returns the unit of the quantity plotted on the spectral axis.
|
int getChannelCount()
int[] getChannelRange(double ylo, double yhi)
ylo
- lower bound of Y valueyhi
- upper bound of Y valuevoid getChannelBounds(int ichan, double[] ybounds)
ichan
- channel indexybounds
- 2-element array, on return contains (lower,upper)
bounds of channel on the Y (spectral) axisString getSpectralName()
String getSpectralUnit()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.