simulatedAcquisition
Class SimSound
java.lang.Object
simulatedAcquisition.SimSound
public class SimSound
- extends java.lang.Object
Class to hold information on a single sound.
These will be held in a list for each simulated object
- Author:
- Doug Gillespie
|
Constructor Summary |
SimSound(long startSample,
long startTimeMillis,
LatLong latLong,
double depth,
double[] waveform)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
waveform
double[] waveform
startSample
long startSample
- first sample - at the animal. It will get to the hydrophone later.
startTimeMillis
long startTimeMillis
endSample
long endSample
started
boolean started
completeChannels
int completeChannels
latLong
LatLong latLong
depth
double depth
hydrophoneDelays
double[][] hydrophoneDelays
transmissionGains
double[][] transmissionGains
soundAmplitude
double[] soundAmplitude
- Signal level of the sound 1m from the hydrophone
SimSound
public SimSound(long startSample,
long startTimeMillis,
LatLong latLong,
double depth,
double[] waveform)
setCompleteChannel
public void setCompleteChannel(int iChan)
isComplete
public boolean isComplete(int channelMap)
getHydrophoneDelays
public double[][] getHydrophoneDelays()
setHydrophoneDelays
public void setHydrophoneDelays(double[][] delays)
getHydrophoneDelay
public double getHydrophoneDelay(int iPhone,
int iDelay)
getNumDelays
public int getNumDelays()
getTransmissionGains
public double[][] getTransmissionGains()
setTransmissionGains
public void setTransmissionGains(double[][] gains)
getTranmissionGain
public double getTranmissionGain(int iPhone,
int iGain)
getSoundAmplitude
public double[] getSoundAmplitude()
getSoundAmplitude
public double getSoundAmplitude(int iChan)
setSoundAmplitude
public void setSoundAmplitude(double[] soundAmplitude)