edu.cmu.emulator.signal
Class TestFadingModel

java.lang.Object
  extended by edu.cmu.emulator.signal.TestFadingModel
All Implemented Interfaces:
FadingModel

public class TestFadingModel
extends Object
implements FadingModel


Field Summary
protected  double amplitude_dB
           
protected  long periodMillis
           
protected  double periodSecs
           
static String TYPE
           
 
Constructor Summary
protected TestFadingModel()
           
  TestFadingModel(double amplitude_dB, double periodSecs)
           
 
Method Summary
 double getAmplitude_dB()
           
 double getLossI(Antenna a1, Antenna a2, long timeMillis)
           
 double getLossQ(Antenna a1, Antenna a2, long timeMillis)
           
 double getPeriodSecs()
           
 String getType()
           
 void initPathFading(Path path)
           
 void parseSubClass(Element fadingModelDef)
           
 void stopPathFading(Path path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

amplitude_dB

protected double amplitude_dB

periodSecs

protected double periodSecs

periodMillis

protected long periodMillis

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

TestFadingModel

protected TestFadingModel()

TestFadingModel

public TestFadingModel(double amplitude_dB,
                       double periodSecs)
Method Detail

getType

public String getType()
Specified by:
getType in interface FadingModel

initPathFading

public void initPathFading(Path path)
Specified by:
initPathFading in interface FadingModel

stopPathFading

public void stopPathFading(Path path)
Specified by:
stopPathFading in interface FadingModel

parseSubClass

public void parseSubClass(Element fadingModelDef)
Specified by:
parseSubClass in interface FadingModel

getLossI

public double getLossI(Antenna a1,
                       Antenna a2,
                       long timeMillis)
Specified by:
getLossI in interface FadingModel

getLossQ

public double getLossQ(Antenna a1,
                       Antenna a2,
                       long timeMillis)
Specified by:
getLossQ in interface FadingModel

getPeriodSecs

public double getPeriodSecs()

getAmplitude_dB

public double getAmplitude_dB()


Copyright © 2013. All Rights Reserved.