gov.nasa.gsfc.drl.rtstps.core
Class ReedSolomonDecoder.Setup

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.ReedSolomonDecoder.Setup
Enclosing class:
ReedSolomonDecoder

public static class ReedSolomonDecoder.Setup
extends java.lang.Object

This class defines setup fields that are commonly associated with a Reed Solomon block decoder component.


Field Summary
 int bitsPerSymbol
           
 boolean discardUncorrectables
          If true, the system discards frames with uncorrectable errors.
 boolean doBlockCorrection
          If true, the system corrects frames with Reed Solomon errors.
 int interleave
          The interleave.
 boolean isCCSDS
          When this field is true, the RS will set standard CCSDS values for bitsPerSymbol, mo, poa, maxCorrectableErrors, virtualFill, and isDual depending on the interleave.
 boolean isDual
          There are two Reed Solomon decoder modes: dual and non-dual.
 int maxCorrectableErrors
          max number of correctable errors per codeword
 int mo
           
 int poa
           
private static int[] validFrameLengths
           
 int virtualFill
           
private static int[] virtualFillTable
           
 
Constructor Summary
ReedSolomonDecoder.Setup(org.w3c.dom.Element element)
           
 
Method Summary
 void setCCSDS(int interleave)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discardUncorrectables

public boolean discardUncorrectables
If true, the system discards frames with uncorrectable errors. The default is true.


doBlockCorrection

public boolean doBlockCorrection
If true, the system corrects frames with Reed Solomon errors. If false, it marks a frame's annotation, but it does not correct any errors. The default is true.


interleave

public int interleave
The interleave. The default is 4.


isCCSDS

public boolean isCCSDS
When this field is true, the RS will set standard CCSDS values for bitsPerSymbol, mo, poa, maxCorrectableErrors, virtualFill, and isDual depending on the interleave.


maxCorrectableErrors

public int maxCorrectableErrors
max number of correctable errors per codeword


isDual

public boolean isDual
There are two Reed Solomon decoder modes: dual and non-dual. The default CCSDS mode is dual (true).


bitsPerSymbol

public int bitsPerSymbol

mo

public int mo

poa

public int poa

virtualFill

public int virtualFill

virtualFillTable

private static final int[] virtualFillTable

validFrameLengths

private static final int[] validFrameLengths
Constructor Detail

ReedSolomonDecoder.Setup

public ReedSolomonDecoder.Setup(org.w3c.dom.Element element)
                         throws RtStpsException,
                                java.lang.NumberFormatException
Throws:
RtStpsException
java.lang.NumberFormatException
Method Detail

setCCSDS

public void setCCSDS(int interleave)
              throws RtStpsException
Throws:
RtStpsException