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
ConstructorsConstructorDescriptionStandardQACluster(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 hydrophonevoidsetSequenceGenerator(QASequenceGenerator qaSequenceGenerator) voidsetSoundGenerator(QASoundGenerator qaSoundGenerator) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getVersionin 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:QAClusterThe sound generator can generate single sounds with the correct phase on each hydrophone- Specified by:
getSoundGeneratorin interfaceQACluster- Returns:
- The sound generator
-
getSequenceGenerator
Description copied from interface:QAClusterThe 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:
getSequenceGeneratorin interfaceQACluster- Returns:
- The sequence generator
-
getDepthDistribution
Description copied from interface:QAClusterThe 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:
getDepthDistributionin interfaceQACluster- Returns:
- the depth distribution
-