|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AmpConfig
AmpConfigs calculate the amp ranges for a given set of seismograms based on a certain rule. See BasicAmpConfig or RMeanAmpConfig for implementations of a couple rules. Created: Tue Aug 27 14:48:03 2002
Method Summary | |
---|---|
void |
addListener(AmpListener listener)
addListener causes listener to receive updates when this
AmpConfig changes |
AmpEvent |
calculate()
|
void |
fireAmpEvent()
fireAmpEvent makes the AmpConfig create a new AmpEvent
reflecting its current internal state and send it to all AmpListeners |
edu.iris.Fissures.model.UnitRangeImpl |
getAmp()
|
edu.iris.Fissures.model.UnitRangeImpl |
getAmp(DataSetSeismogram seis)
|
AmpConfigData[] |
getAmpData()
|
AmpConfigData |
getAmpData(DataSetSeismogram seis)
|
void |
removeListener(AmpListener listener)
removeListener causes listener to no longer receive updates from
this AmpConfig |
void |
shaleAmp(double shift,
double scale)
shaleAmp shifts then scales all the seismograms in the config. |
void |
shaleAmp(double shift,
double scale,
DataSetSeismogram[] seismos)
shaleAmp performs a shaleAmp on the seismograms in the array |
Methods inherited from interface edu.sc.seis.fissuresUtil.display.registrar.DataSetSeismogramReceptacle |
---|
add, clear, contains, getSeismograms, remove, reset, reset |
Methods inherited from interface edu.sc.seis.fissuresUtil.display.registrar.TimeListener |
---|
updateTime |
Method Detail |
---|
void shaleAmp(double shift, double scale)
shaleAmp
shifts then scales all the seismograms in the config.
First, the shift value is used to move the amp range by shift
*amp range.
Then the scale value is used to adjust the high amp value so that the new amp range is
scale*amp range.
So, if shift = 1 and scale = 2, the shift is applied and the new low end on the amp range is equal to the
old high value. Then the range itself is modified to be two times its original size. The new
range starts at the old low end and is twice as wide
An adjustment of shift = 0, scale = 1 will leave the seismograms unchanged. A scale value must
be greater than 0, or it will reduce the range to nothing.
shift
- the percentage of current amp range by which the seismograms
will be shiftedscale
- the percentage of the current amp range that will exist after
the high end is adjustedvoid shaleAmp(double shift, double scale, DataSetSeismogram[] seismos)
shaleAmp
performs a shaleAmp on the seismograms in the array
void addListener(AmpListener listener)
addListener
causes listener to receive updates when this
AmpConfig changes
void removeListener(AmpListener listener)
removeListener
causes listener to no longer receive updates from
this AmpConfig
void fireAmpEvent()
fireAmpEvent
makes the AmpConfig create a new AmpEvent
reflecting its current internal state and send it to all AmpListeners
AmpEvent calculate()
AmpConfigData getAmpData(DataSetSeismogram seis)
AmpConfigData[] getAmpData()
edu.iris.Fissures.model.UnitRangeImpl getAmp()
edu.iris.Fissures.model.UnitRangeImpl getAmp(DataSetSeismogram seis)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |