Package RightWhaleEdgeDetector
Class RWEDatagramProvider
java.lang.Object
RightWhaleEdgeDetector.RWEDatagramProvider
- All Implemented Interfaces:
DatagramProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddDatagramData(PamDataUnit dataUnit, float[] dataGramLine) Add datagram data to the dataGram line.intGet the number of points required in a datagram by these data (e.g.
-
Constructor Details
-
RWEDatagramProvider
public RWEDatagramProvider()
-
-
Method Details
-
getNumDataGramPoints
public int getNumDataGramPoints()Description copied from interface:DatagramProviderGet the number of points required in a datagram by these data (e.g. half the fft length)- Specified by:
getNumDataGramPointsin interfaceDatagramProvider- Returns:
- the number of points in each time slice
-
addDatagramData
Description copied from interface:DatagramProviderAdd datagram data to the dataGram line. The implementation should simply add data into the passed array.- Specified by:
addDatagramDatain interfaceDatagramProvider- Parameters:
dataGramLine-- Returns:
- number of points added ?
-
getScaleInformation
- Specified by:
getScaleInformationin interfaceDatagramProvider- Returns:
- information on the datagram scale
-