Package group3dlocaliser.grouper
Class DetectionGrouper
java.lang.Object
group3dlocaliser.grouper.DetectionGrouper
Receives detections, which may come from multiple channel groups, which in 
 the case of the click detector means they may not be in order (or for 
 any other detector in fact) and may have come out of multiple threads, 
 so can get dead messy.
- Author:
 - dg50
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateGroupDelays(double sampleRate) booleancanSelectData(PamDataUnit dataUnit) voidclear()voidClose the existing group and make a new one.voidmasterClockUpdate(long timeMilliseconds, long sampleNumber) voidnewData(PamDataUnit pamDataUnit) voidsetDataSelector(DataSelector dataSelector) voidsetDetectionGrouperParams(DetectionGrouperParams detectionGrouperParams) voidsetGroupedSourceParameters(GroupedSourceParameters groupedSourceParameters, double sampleRate)  
- 
Constructor Details
- 
DetectionGrouper
 
 - 
 - 
Method Details
- 
newData
 - 
masterClockUpdate
public void masterClockUpdate(long timeMilliseconds, long sampleNumber)  - 
closeMotherGroup
public void closeMotherGroup()Close the existing group and make a new one. - 
canSelectData
 - 
clear
public void clear() - 
getGroupedSourceParameters
- Returns:
 - the groupedSourceParameters
 
 - 
setGroupedSourceParameters
public void setGroupedSourceParameters(GroupedSourceParameters groupedSourceParameters, double sampleRate) - Parameters:
 groupedSourceParameters- the groupedSourceParameters to set
 - 
calculateGroupDelays
public void calculateGroupDelays(double sampleRate)  - 
getDetectionGrouperParams
- Returns:
 - the detectionGrouperParams
 
 - 
setDetectionGrouperParams
- Parameters:
 detectionGrouperParams- the detectionGrouperParams to set
 - 
getDataSelector
- Returns:
 - the dataSelector
 
 - 
setDataSelector
- Parameters:
 dataSelector- the dataSelector to set
 
 -