The ReedSolomonDecoder class provided functionality for validating the ReedSolomon of a data frame
◆ decode()
static RSDecodeState org.esa.s2g.dfdllib.quality.ReedSolomonDecoder.decode 
( 
byte[] 
data, 


boolean 
correct 

) 
 

static 
Do Reed Solomon decoding on one frame
 Calculate the syndrome vector from the received RS codeword.
 Calculate the coefficients of the error locator polynomial.
Calculate the roots of the error locator polynomial.
 Calculate the error magnitudes.
 Correct the symbols in error with the previously calculated information.
The algorithm used is described in [1].
[1] https://public.ccsds.org/Pubs/130x1g3.pdf (section 5)
 Parameters

data  The data frame to be decoded 
correct  Flag indicating if correction is to be applied 
 Returns
 RSDecodeState object after the decoding containing the:
 state of RS decode; OK=0 , CORRECTED=1 or UNCORRECTABLE=2
 list containing information about the errors detect during the decode (empty list is return if no error is detected)
The documentation for this class was generated from the following file:
 src/main/java/org/esa/s2g/dfdllib/quality/ReedSolomonDecoder.java