public class AcquisitionParameters
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
int |
nChannels |
Preamplifier |
preamplifier |
float |
sampleRate |
double |
voltsPeak2Peak |
Constructor and Description |
---|
AcquisitionParameters() |
Modifier and Type | Method and Description |
---|---|
int |
getChannelList(int index)
Gets the channel number for a particular channel index.
|
int[] |
getChannelListIndexes()
Gets the complete list of channel indexes.
|
int |
getChannelListIndexes(int channel)
Gets the channel index for a particular hardware channel
|
java.lang.String |
getDaqSystemType() |
int[] |
getHardwareChannelList()
Gets / creates a list of hardware channels used.
|
int |
getHydrophone(int channel)
Gets a hydrophone number from a channel number (not channel index)
|
int[] |
getHydrophoneList()
Gets a list of hydrophones from channel Indexes (not channel numbers)
|
int[] |
getNChannelList() |
int |
getNChannels() |
Preamplifier |
getPreamplifier() |
float |
getSampleRate() |
double |
getVoltsPeak2Peak() |
void |
setChannelList(int[] channelList) |
void |
setChannelList(int index,
int channelNumber) |
void |
setChannelListIndexes(int[] channelListIndexes)
Sets the channel list indeces
|
void |
setDaqSystemType(java.lang.String daqSystemType) |
void |
setDefaultChannelList()
Creates a default channel list 0,1,2,3,4 etc.
|
void |
setHydrophoneList(int[] hydrophoneList)
Set a hydrophone list.
|
void |
setNChannels(int channels) |
void |
setPreamplifier(Preamplifier preamplifier) |
void |
setSampleRate(float sampleRate) |
void |
setVoltsPeak2Peak(double voltsPeak2Peak) |
public float sampleRate
public int nChannels
public double voltsPeak2Peak
public Preamplifier preamplifier
public java.lang.String getDaqSystemType()
public void setDaqSystemType(java.lang.String daqSystemType)
public int[] getHydrophoneList()
public void setHydrophoneList(int[] hydrophoneList)
hydrophoneList
- public int getHydrophone(int channel)
channel
- software channel numberpublic int getNChannels()
public void setNChannels(int channels)
public int[] getNChannelList()
public Preamplifier getPreamplifier()
public void setPreamplifier(Preamplifier preamplifier)
public float getSampleRate()
public void setSampleRate(float sampleRate)
public double getVoltsPeak2Peak()
public void setVoltsPeak2Peak(double voltsPeak2Peak)
public int[] getHardwareChannelList()
i.e. converts from channel indexes to channel numbers.
public void setChannelList(int[] channelList)
public void setChannelList(int index, int channelNumber)
public void setDefaultChannelList()
public int getChannelList(int index)
index
- channel indexpublic int[] getChannelListIndexes()
public void setChannelListIndexes(int[] channelListIndexes)
channelListIndexes
- public int getChannelListIndexes(int channel)
channel
-