This page contains the
SLIMpy Tutorials found in the ROOT/doc/tut/ directory
Link:
ExampleSet1
This examples is for the SLIMpy beginer. We will build up to solving the l1 minimization problem. We denote y a seismic trace corrupted by swell noise. A possible approach to denoising takes advantage of the sparsity of swell noise in the DCT domain and of seismic signal in the wavelet domain. The forward problem is as follows:
In this equation, represents the DCT contribution in the total data and the wavelet contribution. The operators , , and are a frequency weighting, the DCT, and the wavelet transforms, respectively. The inverse problem is as follows:
and the denoise signal, s , is given by
- Learing objectives:
- To start a simple slimpy script.
- Learn about SLIMpy.
- Create a black box package to solve a general problem
- Inputs:
- swellnoise.rsf the synthetic model of the swell noise
- sig.rsf the synthetic model of the data
- data.rsf the synthetic model produced from sfsigmoid
- Outputs:
- esig.rsf the esimated signal
- enoise.rsf the esimated noise
- residual.rsf the diffrence between the data, esimated signal and esimated noise
- Prerequisite:
- SLIMpy and ContribSLIMpy
- Madagascar
- SCons
- All steps require `scons' to be run from the Set1 directory to create inputs.
Link:
ExampleSet2
This examples is for a SLIMpy user who is familiar with the SLIMpy vector and linear operator API. In this example I will go through the steps to create a new linear operator in SLIMpy.
- Learing objectives:
- Add a new Linear Operator to SLIMpy
- Gain more understanding about SLIMpy's AST
- Inputs:
-
- Python Modules:
-
- Outputs:
-
- Prerequisite:
- SLIMpy and ContribSLIMpy
- Madagascar
- SCons