edu.sc.seis.fissuresUtil.bag
Class ResponseGain

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.bag.ResponseGain

public class ResponseGain
extends java.lang.Object

Applies the overall sensitivity to a seismogram. This is purely a scale factor, no frequency change is done.


Constructor Summary
ResponseGain()
           
 
Method Summary
static LocalSeismogramImpl apply(LocalSeismogramImpl seis, float sensitivity_factor, Unit initialUnits)
           
static LocalSeismogramImpl apply(LocalSeismogramImpl seis, Instrumentation inst)
          Applies the overall sensitivity of the response to the seismogram.
static LocalSeismogramImpl apply(LocalSeismogramImpl seis, Sensitivity sensitivity, Unit initialUnits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseGain

public ResponseGain()
Method Detail

apply

public static LocalSeismogramImpl apply(LocalSeismogramImpl seis,
                                        Instrumentation inst)
                                 throws FissuresException
Applies the overall sensitivity of the response to the seismogram. This will promote short or int based seismograms to float to avoid rounding and overflow problems.

Throws:
FissuresException

apply

public static LocalSeismogramImpl apply(LocalSeismogramImpl seis,
                                        Sensitivity sensitivity,
                                        Unit initialUnits)
                                 throws FissuresException
Throws:
FissuresException

apply

public static LocalSeismogramImpl apply(LocalSeismogramImpl seis,
                                        float sensitivity_factor,
                                        Unit initialUnits)
                                 throws FissuresException
Throws:
FissuresException