Package Spectrogram
Class SpectrogramParameters
java.lang.Object
userDisplay.UserFrameParameters
Spectrogram.SpectrogramParameters
- All Implemented Interfaces:
 Serializable,Cloneable,ManagedParameters
public class SpectrogramParameters
extends UserFrameParameters
implements Serializable, Cloneable, ManagedParameters
These are the parameter settings for a single
         spectrogram window, note tha a single spectrogram tab may have
         multiple windows
- Author:
 - Doug Gillespie
 - See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]Limits of amplitude rangebooleanapply meny selections to all channelsbooleanint[]To make a whistle detector type display with different overlays on each panel, channelList needs to be a list rather than a bit map so that each panel can, if it wants, display the same data.doubleDisplay length in seconds.double[]Frequency limits for displaybooleanbooleanflag to say don't show raw data in viewer mode.intintUsed if timeScaleFixed is false to set the scaleboolean[]booleanbooleanAlso show the waveform display under the spectrogrambooleanFixed time scale, if this is false, then it's based on the number of pixels and a set number of slices per pixelboolean[]booleanWraps display if this is true (defalt)Fields inherited from class userDisplay.UserFrameParameters
boundingRectangle - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintchannelUsers(int iChannel) Get a bitmap of plot numbers which use a particular channel.clone()intShouldn't be used, just there for legacy configurations.getOverlayDataInfo(PamDataBlock dataBlock, int panelId) Get overlay data information for a given panel and datablock.Get a set of data that describes all of the parameters in a classvoidsetColourMap(ColourArray.ColourArrayType colourMap)  
- 
Field Details
- 
sourceName
 - 
windowName
 - 
nPanels
public int nPanels - 
hideSidePanels
public boolean hideSidePanels - 
channelList
public int[] channelListTo make a whistle detector type display with different overlays on each panel, channelList needs to be a list rather than a bit map so that each panel can, if it wants, display the same data.Note that channelList may actually refer to sequence numbers and not channels, depending on the FFT data source
 - 
frequencyLimits
public double[] frequencyLimitsFrequency limits for display - 
amplitudeLimits
public double[] amplitudeLimitsLimits of amplitude range - 
horizontalSplitLocation
 - 
hideViewerSpectrogram
public boolean hideViewerSpectrogramflag to say don't show raw data in viewer mode. - 
wrapDisplay
public boolean wrapDisplayWraps display if this is true (defalt) - 
timeScaleFixed
public boolean timeScaleFixedFixed time scale, if this is false, then it's based on the number of pixels and a set number of slices per pixel - 
displayLength
public double displayLengthDisplay length in seconds. - 
pixelsPerSlics
public int pixelsPerSlicsUsed if timeScaleFixed is false to set the scale - 
showScale
public boolean showScale - 
showWaveform
public boolean showWaveformAlso show the waveform display under the spectrogram - 
autoScaleWaveform
public boolean autoScaleWaveform - 
showPluginDisplay
public boolean[] showPluginDisplay - 
useSpectrogramMarkObserver
public boolean[] useSpectrogramMarkObserver - 
applySelectAll
public boolean applySelectAllapply meny selections to all channels 
 - 
 - 
Constructor Details
- 
SpectrogramParameters
public SpectrogramParameters() 
 - 
 - 
Method Details
- 
channelUsers
public int channelUsers(int iChannel) Get a bitmap of plot numbers which use a particular channel. 0 means it's not used at all. 1, by panel 0, 3 by panels 0 and 1, etc.- Parameters:
 iChannel-- Returns:
 
 - 
getColourMap
 - 
setColourMap
 - 
clone
 - 
getOverlayDataInfo
Get overlay data information for a given panel and datablock.- Parameters:
 dataBlock- Data blockpanelId- panel index / id- Returns:
 - Overlay Data information.
 
 - 
getFftBlockIndex
public int getFftBlockIndex()Shouldn't be used, just there for legacy configurations. Data block should be identified only by name.- Returns:
 - the fftBlockIndex
 
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Overrides:
 getParameterSetin classUserFrameParameters- Returns:
 - description of the parameters in a class.
 
 
 -