Package whistlesAndMoans
Class WhistleDelays
java.lang.Object
whistlesAndMoans.WhistleDelays
Class for estimating whistle delays from a whistle shape.
to save processing, one of these should be created for each channel group so that multiple delay measures can be pre prepared and populated simultaneously - i.e. each bit of FFT data will need to go into one measure as it, but into the next as it's complex conjugate.
Doing everything at once should save data access times.
to save processing, one of these should be created for each channel group so that multiple delay measures can be pre prepared and populated simultaneously - i.e. each bit of FFT data will need to go into one measure as it, but into the next as it's complex conjugate.
Doing everything at once should save data access times.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
getDelays
(ConnectedRegion region) Gets the delays for a connected region.void
-
Constructor Details
-
WhistleDelays
-
-
Method Details
-
prepareBearings
public void prepareBearings() -
getDelays
Gets the delays for a connected region. nChan(nChan-1)/2 delays will be returned. Delays are channels 0-1, 0-2, 1-2, etc.- Parameters:
region
- connected regionchannelBitMap
- channel bitmap- Returns:
- array of delays from cross correlation in samples.
-