Package qa.generator.clusters
Class StandardQACluster
java.lang.Object
qa.generator.clusters.StandardQACluster
- All Implemented Interfaces:
QACluster
- Direct Known Subclasses:
BeakedWhaleCluster
,BlackFishCluster
,DolphinClicksCluster
,DolphinWhistlesCluster
,HFBaleenCluster
,LFBaleenCluster
,PorpoiseCluster
,RightWhaleCluster
,SpermWhaleCluster
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionStandardQACluster
(String clusterName, String version, QASequenceGenerator qaSequenceGenerator, StandardSoundGenerator qaSoundGenerator) -
Method Summary
Modifier and TypeMethodDescriptionThe depth distribution for the species cluster.double[]
getName()
The sequence generator can generate the precise times and source amplitudes for a sequence of (possibly) autocorrelated sounds, e.g.The sound generator can generate single sounds with the correct phase on each hydrophonevoid
setSequenceGenerator
(QASequenceGenerator qaSequenceGenerator) void
setSoundGenerator
(QASoundGenerator qaSoundGenerator) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qa.generator.clusters.QACluster
getPrimaryDetectorType
-
Constructor Details
-
StandardQACluster
public StandardQACluster(String clusterName, String version, QASequenceGenerator qaSequenceGenerator, StandardSoundGenerator qaSoundGenerator) - Parameters:
clusterName
- name of the clusterqaSequenceGenerator
- sound sequence generatorqaSoundGenerator
- sound generator
-
-
Method Details
-
getName
-
getVersion
- Specified by:
getVersion
in interfaceQACluster
- Returns:
- Version number for this sound sequence.
-
getFrequencyRange
public double[] getFrequencyRange() -
setSequenceGenerator
- Parameters:
qaSequenceGenerator
- the qaSequenceGenerator to set
-
setSoundGenerator
- Parameters:
qaSoundGenerator
- the qaSoundGenerator to set
-
getSoundGenerator
Description copied from interface:QACluster
The sound generator can generate single sounds with the correct phase on each hydrophone- Specified by:
getSoundGenerator
in interfaceQACluster
- Returns:
- The sound generator
-
getSequenceGenerator
Description copied from interface:QACluster
The sequence generator can generate the precise times and source amplitudes for a sequence of (possibly) autocorrelated sounds, e.g. click trains, totally random whistles, etc.- Specified by:
getSequenceGenerator
in interfaceQACluster
- Returns:
- The sequence generator
-
getDepthDistribution
Description copied from interface:QACluster
The depth distribution for the species cluster. This can be null in which case 0 will be used. Remember that PAMGuard uses height, not depth, however, so that distributions that don't allow negative numbers (gamma) can be used, this will genuinely produce a positive number for a real animal depth and whatever uses this distribution will flip it's sign.
Depths will be generated independently for each sequence and will be constant within each sequence.- Specified by:
getDepthDistribution
in interfaceQACluster
- Returns:
- the depth distribution
-