simulatedAcquisition
Class SimSignal

java.lang.Object
  extended by simulatedAcquisition.SimSignal
Direct Known Subclasses:
ClickSound, ImpulseSignal, LinearChirp, RandomWhistles

public abstract class SimSignal
extends java.lang.Object

Class to hold information and generate a signal of a specific type

Author:
Doug Gillespie

Constructor Summary
SimSignal()
           
 
Method Summary
(package private) abstract  java.lang.String getName()
           
abstract  double[] getSignal()
           
protected  void taperEnds(double[] signal, double percentTaper)
          Taper the ends of the signal using a hanning window function.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimSignal

public SimSignal()
Method Detail

getName

abstract java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSignal

public abstract double[] getSignal()

taperEnds

protected void taperEnds(double[] signal,
                         double percentTaper)
Taper the ends of the signal using a hanning window function.

if the percentTaper parameter is 50%, then the entire signal is windowed, otherwise, it will just taper the bits at the end.

Parameters:
percentTaper -