Package whistleDetector
Class WhistleLocaliser
java.lang.Object
whistleDetector.WhistleLocaliser
- Author:
- Doug Gillespie Utility functions to measure time delays for whistles and eventually to get localisations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getDelay
(FFTDataBlock fftDataBlock, WhistleShape whistle, int whistleChannel, int bearingChannel) Calculates the delay between a whistle on one channel and another given channel number.
-
Constructor Details
-
WhistleLocaliser
-
-
Method Details
-
getDelay
public int getDelay(FFTDataBlock fftDataBlock, WhistleShape whistle, int whistleChannel, int bearingChannel) Calculates the delay between a whistle on one channel and another given channel number. Used the whistle contour width and the sweep to calculate only in a very narrow band so that overlapping whistles may simultaneously get bearings calculated.- Parameters:
whistle
-- Returns:
- a delay in bins or WHISTLE_NODELAY.
-