Previous topic

Module tracesTestParam

Next topic

Module tracesDefineTreatments

This Page

General methods for the processing.

Module tracesTreatment

class traces.tracesTreatment.TreatmentTrace(**kwargs)

Provide general methods in order to control the workflow: methods to treat the traces before and after resampling and the resampling itself.

Note

Precise workflow is defined in the module traces.tracesDefineTreatments.

makeTreatment(Trace, Frequence)

Return the trace treated with the following processing:

  1. Treat trace before resampling with the method makeTreatmentTraceBeforeNewFrequence().
  2. Resampling with the method ‘makeNewFrequenceTrace’.
  3. Treat trace after resampling with the method makeTreatmentTraceAfterNewFrequence().
makeNewFrequenceTrace(Trace, FrequenceTrace, NewFrequence)

Return the trace resampled.

Note

The ratio FrequenceTrace/NewFrequence must be either a float or a product of powers of numeral in {2, 3, 4, 5, 6, 7, 8}.

makeTreatmentTraceBeforeNewFrequence(Trace, Frequence)

Return the trace treated with the function traces.tracesDefineTreatments.makeTreatmentTraceBeforeNewFrequence() in the module traces.tracesDefineTreatments before the resampling.

makeTreatmentTraceAfterNewFrequence(Trace, Frequence)

Return the trace treated with the function traces.tracesDefineTreatments.makeTreatmentTraceAfterNewFrequence() in the module traces.tracesDefineTreatments after the resampling.


Whisper project: FP7 ERC Advanced grant 227507 (WHISPER).
Codes are develop for the Whisper project (Seismic ambient noise).
If you use this code, specify it is provide by: Whisper project FP7 ERC Advanced grant 227507 (WHISPER).
Author: Xavier Briand. For questions, send email to xav.briand.whisper@gmail.com with subject begin exactly with [whisper].