public class PayloadUtil
extends java.lang.Object
Constructor and Description |
---|
PayloadUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Byte> |
extractBytePayload(Api900.EvenlySampledChannel evenlySampledChannel,
int channelIdx,
int step)
Extracts a byte payload from an evenly sampled channel.
|
static java.util.List<java.lang.Byte> |
extractBytePayload(Api900.UnevenlySampledChannel unevenlySampledChannel,
int channelIdx,
int step)
Extracts a byte payload from an unevenly sampled channel.
|
static java.util.List<java.lang.Double> |
extractFloatingPayload(Api900.EvenlySampledChannel evenlySampledChannel)
Extracts and transforms a payload to floating point from a given evenly sampled channel.
|
static java.util.List<java.lang.Double> |
extractFloatingPayload(Api900.UnevenlySampledChannel unevenlySampledChannel)
Extracts and transforms a payload to floating point from a given unevenly sampled channel.
|
static java.util.List<java.lang.Double> |
extractFloatingPayload(Api900.UnevenlySampledChannel unevenlySampledChannel,
int channelIdx,
int step)
Extracts and transforms a payload to floating point from a given unevenly sampled channel.
|
static java.util.List<java.lang.Long> |
extractIntegralPayload(Api900.EvenlySampledChannel evenlySampledChannel)
Extracts and transforms payload values from evenly or unevenly sampled channels into 64-bit integers.
|
static java.util.List<java.lang.Long> |
extractIntegralPayload(Api900.UnevenlySampledChannel unevenlySampledChannel)
Extracts and transforms payload values from evenly or unevenly sampled channels into 64-bit integers.
|
public static java.util.List<java.lang.Double> extractFloatingPayload(Api900.EvenlySampledChannel evenlySampledChannel)
evenlySampledChannel
- An instance of an evenly sampled channel.public static java.util.List<java.lang.Double> extractFloatingPayload(Api900.UnevenlySampledChannel unevenlySampledChannel, int channelIdx, int step)
unevenlySampledChannel
- An instance of an unevenly sampled channel.channelIdx
- The index to begin extraction from.step
- The step size used for extraction.public static java.util.List<java.lang.Double> extractFloatingPayload(Api900.UnevenlySampledChannel unevenlySampledChannel)
unevenlySampledChannel
- An instance of an unevenly sampled channel.public static java.util.List<java.lang.Long> extractIntegralPayload(Api900.EvenlySampledChannel evenlySampledChannel)
evenlySampledChannel
- An instance of an evenly sampled channel.public static java.util.List<java.lang.Long> extractIntegralPayload(Api900.UnevenlySampledChannel unevenlySampledChannel)
unevenlySampledChannel
- An instance of an unevenly sampled payload.public static java.util.List<java.lang.Byte> extractBytePayload(Api900.EvenlySampledChannel evenlySampledChannel, int channelIdx, int step)
evenlySampledChannel
- An instance of an evenly sampled channel.channelIdx
- The index to begin extraction from.step
- The step size used for extraction.public static java.util.List<java.lang.Byte> extractBytePayload(Api900.UnevenlySampledChannel unevenlySampledChannel, int channelIdx, int step)
unevenlySampledChannel
- An instance of an unevenly sampled channel.channelIdx
- The index to begin extraction from.step
- The step size used for extraction.