@Equality public static interface SpectrogramPlotter.ChannelGrid
Modifier and Type | Method | 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.
|
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) axisCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.