Package Acquisition
Class AcquisitionParameters
java.lang.Object
Acquisition.AcquisitionParameters
- All Implemented Interfaces:
 Serializable,Cloneable,ManagedParameters
public class AcquisitionParameters
extends Object
implements Serializable, Cloneable, ManagedParameters
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleintfloatbooleandouble - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()intgetChannelList(int index) Gets the channel number for a particular channel index.int[]Gets the complete list of channel indexes.intgetChannelListIndexes(int channel) Gets the channel index for a particular hardware channelint[]Gets / creates a list of hardware channels used.intgetHydrophone(int channel) Gets a hydrophone number from a channel number (not channel index)int[]Gets a list of hydrophones from channel Indexes (not channel numbers)int[]intGet a set of data that describes all of the parameters in a classfloatdoublevoidsetChannelList(int[] channelList) voidsetChannelList(int index, int channelNumber) voidsetChannelListIndexes(int[] channelListIndexes) Sets the channel list indecesvoidsetDaqSystemType(String daqSystemType) voidCreates a default channel list 0,1,2,3,4 etc.voidsetHydrophoneList(int[] hydrophoneList) Set a hydrophone list.voidsetNChannels(int channels) voidsetPreamplifier(Preamplifier preamplifier) voidsetSampleRate(float sampleRate) voidsetVoltsPeak2Peak(double voltsPeak2Peak)  
- 
Field Details
- 
sampleRate
public float sampleRate - 
nChannels
public int nChannels - 
voltsPeak2Peak
public double voltsPeak2Peak - 
preamplifier
 - 
subtractDC
public boolean subtractDC - 
dcTimeConstant
public double dcTimeConstant 
 - 
 - 
Constructor Details
- 
AcquisitionParameters
public AcquisitionParameters() 
 - 
 - 
Method Details
- 
clone
 - 
getDaqSystemType
 - 
setDaqSystemType
 - 
getHydrophoneList
public int[] getHydrophoneList()Gets a list of hydrophones from channel Indexes (not channel numbers)- Returns:
 - list of hydrophones.
 
 - 
setHydrophoneList
public void setHydrophoneList(int[] hydrophoneList) Set a hydrophone list.- Parameters:
 hydrophoneList-
 - 
getHydrophone
public int getHydrophone(int channel) Gets a hydrophone number from a channel number (not channel index)- Parameters:
 channel- software channel number- Returns:
 - a specific hydrophone number from the selected array
 
 - 
getNChannels
public int getNChannels() - 
setNChannels
public void setNChannels(int channels)  - 
getNChannelList
public int[] getNChannelList() - 
getPreamplifier
 - 
setPreamplifier
 - 
getSampleRate
public float getSampleRate() - 
setSampleRate
public void setSampleRate(float sampleRate)  - 
getVoltsPeak2Peak
public double getVoltsPeak2Peak() - 
setVoltsPeak2Peak
public void setVoltsPeak2Peak(double voltsPeak2Peak)  - 
getHardwareChannelList
public int[] getHardwareChannelList()Gets / creates a list of hardware channels used.i.e. converts from channel indexes to channel numbers.
- Returns:
 - List of channel numbers
 
 - 
setChannelList
public void setChannelList(int[] channelList)  - 
setChannelList
public void setChannelList(int index, int channelNumber)  - 
setDefaultChannelList
public void setDefaultChannelList()Creates a default channel list 0,1,2,3,4 etc. - 
getChannelList
public int getChannelList(int index) Gets the channel number for a particular channel index.- Parameters:
 index- channel index- Returns:
 - channel number
 
 - 
getChannelListIndexes
public int[] getChannelListIndexes()Gets the complete list of channel indexes.- Returns:
 - list of channel indexes.
 
 - 
setChannelListIndexes
public void setChannelListIndexes(int[] channelListIndexes) Sets the channel list indeces- Parameters:
 channelListIndexes-
 - 
getChannelListIndexes
public int getChannelListIndexes(int channel) Gets the channel index for a particular hardware channel- Parameters:
 channel-- Returns:
 - channel index or -1 if it doesn't exist.
 
 - 
getPpsParameters
- Returns:
 - the ppsParameters
 
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -