nxm.ice.lib
Class Demod

java.lang.Object
  extended by nxm.ice.lib.Core
      extended by nxm.ice.lib.Demod
All Implemented Interfaces:
nxm.sys.inc.Constants, nxm.sys.inc.DataTypes

public class Demod
extends Core

Implements various demodulators on a complex baseband input.

Author:
Jeff Schoen

Nested Class Summary
static class Demod.CPU
           
static class Demod.ICE
           
static class Demod.VHS
           
 
Field Summary
static int AM
           
static int CW
           
static int FM
           
static java.lang.String keyList
           
static int LSB
           
static int LUT
           
static java.lang.String modeList
           
static int PM
           
static int PSK
           
static int QPSK
           
static int USB
           
 
Fields inherited from class nxm.ice.lib.Core
CPU, factoryList, GPU, ICE, implementation, JDK, MLS, PHI, VHS
 
Fields inherited from interface nxm.sys.inc.Constants
ANGULAR_VELOCITY_PRECESSING_COR, B1G, B1K, B1M, B1T, B64K, CYC2RAD, DEF_EARTH_ANGULAR_VELOCITY, DEG2METERS, DEG2RAD, E, EARTH_ANGULAR_VELOCITY, EARTH_ECCENTRICITY, EARTH_EQUATORIAL_RADIUS, EARTH_FLATTENING_FACTOR, EARTH_GRAV_CONSTANT_W_ATMOS, EARTH_GRAV_CONSTANT_W_ATMOS_ORIG, EARTH_GRAV_CONSTANT_WO_ATMOS, EARTH_GRAV_CONSTANT_WO_ATMOS_ORIG, FEET2METERS, HALFPI, IAU_EARTH_ANGULAR_VELOCITY, LN2DB, LN2LOG, LNTEN, MASS_OF_EARTH_W_ATMOS, METERS2DEG, METERS2FEET, METERS2NM, METERS2SM, NM2FEET, NM2METERS, PI, POLAR_RADIUS_IN_METERS, POLAR_RADIUS_OF_CURVATURE, RAD2CYC, RAD2DEG, SECOND_EARTH_ECCENTRICITY, SM2FEET, SM2METERS, SPEED_OF_LIGHT, TWOPI
 
Fields inherited from interface nxm.sys.inc.DataTypes
ALAW, ASCII, BMAX, BMIN, BOOL, BYTE, COMPLEX, CONVERT_TYPE_LIST, CRAY, DATA_MODE_LIST, DATA_TYPE_LIST, DMAX, DMIN, DOUBLE, EEEI, falseStates, FLOAT, FMAX, FMIN, IEEE, IMAX, IMIN, INT, LMAX, LMIN, LONG, MATRIX, MULT_DATA_MODE_LIST, NIBBLE, NMAX, NMIN, NONHOMOGENEOUS, NUMBER, NUMERIC_DATA_TYPE_LIST, numericTypeList, OBJECT, PACKED, QUAD, repList, RESULT_TYPE_LIST, SCALAR, STRING, TABLE, TRANSMATRIX, trueStates, typeList, ULAW, VAX, VECTOR, XLONG, XMAX, XMIN, XMODE, XMVALUE, XMVALUE_KVLIST, XMVALUE_LIST, XMVALUE_TABLE
 
Constructor Summary
Demod()
           
 
Method Summary
 nxm.sys.lib.Data get(java.lang.String key, byte type)
          get parameters
 int getFlags()
           
 short getLUTentry(int tn, int index)
           
 int getLUTframe()
           
 int process(byte[] a, int na, byte[] b, int nb)
          Process a buffer of data.
 int processFPGA(short[] ibi, short[] ibo, int n)
           
 int processLUT(short[] ibi, short[] ibo, int n)
           
 int processSTD(float[] a, float[] b, int n)
           
 void set(java.lang.String key, nxm.sys.lib.Data value)
          set parameters
 void setLUTentry(int tn, int index, short value)
           
 
Methods inherited from class nxm.ice.lib.Core
allocNative, close, forName, forName, forName, getD, getDataType, getF, getL, getS, getState, isSet, open, process, process, process, process, process, process, set, set, set, set, set, set, set, set, set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyList

public static final java.lang.String keyList
See Also:
Constant Field Values

modeList

public static final java.lang.String modeList
See Also:
Constant Field Values

AM

public static final int AM
See Also:
Constant Field Values

FM

public static final int FM
See Also:
Constant Field Values

PM

public static final int PM
See Also:
Constant Field Values

LSB

public static final int LSB
See Also:
Constant Field Values

USB

public static final int USB
See Also:
Constant Field Values

CW

public static final int CW
See Also:
Constant Field Values

PSK

public static final int PSK
See Also:
Constant Field Values

QPSK

public static final int QPSK
See Also:
Constant Field Values

LUT

public static final int LUT
See Also:
Constant Field Values
Constructor Detail

Demod

public Demod()
Method Detail

set

public void set(java.lang.String key,
                nxm.sys.lib.Data value)
set parameters

Overrides:
set in class Core

get

public nxm.sys.lib.Data get(java.lang.String key,
                            byte type)
get parameters

Overrides:
get in class Core

process

public int process(byte[] a,
                   int na,
                   byte[] b,
                   int nb)
Process a buffer of data. If LUT, buffers are CI,SI else buffers are CF,SF.

Overrides:
process in class Core

processSTD

public int processSTD(float[] a,
                      float[] b,
                      int n)

getLUTframe

public int getLUTframe()

processLUT

public int processLUT(short[] ibi,
                      short[] ibo,
                      int n)

processFPGA

public int processFPGA(short[] ibi,
                       short[] ibo,
                       int n)

getLUTentry

public short getLUTentry(int tn,
                         int index)

setLUTentry

public void setLUTentry(int tn,
                        int index,
                        short value)

getFlags

public int getFlags()