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