public class ChipFrequencyRatio extends Object implements IInterpretabilityQualityMetadataValue
The Chip Frequency Ratio is computed by taking the ratio of high-pass to low-pass energy.
See ST 1108.2 Section 7.13 and RP 1203.3.
| Constructor and Description |
|---|
ChipFrequencyRatio(byte[] bytes)
Create from encoded bytes.
|
ChipFrequencyRatio(int ratio)
Create from value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendBytesToBuilder(ArrayBuilder arrayBuilder)
Append the encoded bytes for this item to the byte array builder.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
int |
getRatio()
Get the frequency ratio.
|
public ChipFrequencyRatio(int ratio)
ratio - The chip frequency ratio.public ChipFrequencyRatio(byte[] bytes)
bytes - Byte array of length 2 bytes.public int getRatio()
public String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic final String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValuepublic void appendBytesToBuilder(ArrayBuilder arrayBuilder)
IInterpretabilityQualityMetadataValueThis includes the tag value, and field length.
appendBytesToBuilder in interface IInterpretabilityQualityMetadataValuearrayBuilder - the builder to append to.Copyright © 2022 West Ridge Systems. All rights reserved.