Examples

Tutorial on parameter testing

October 22, 2014 Examples No comments

The example in rsf/tutorials/parameters reproduces the tutorial from Matt Hall on parameter testing. Madagascar users are encouraged to try improving the results.

In his blog post and in the discussion that follows, Matt brings up an interesting question about finding the best way for parameter selection.

For the lack of a better approach, parameter selection in seismic attributes is just an interactive game. In the Madagascar version, the key parameter for the Canny edge detector is the amount of prior anisotropic-diffusion smoothing, controlled by the smoothing radius (rect= parameter.) We can do different things with it: for example, make a movie of different images looping through different values of the radius, or, by exposing the parameter to the command-line SCons interface, build a simple GUI script for controlling it. The question posted by Matt waits for a better answer.

See also:

Tutorial on colormaps

October 18, 2014 Examples No comments

The example in rsf/tutorials/colormaps reproduces the tutorial from Matteo Niccoli on how to evaluate and compare color maps. The tutorial was published in the August 2014 issue of The Leading Edge. Madagascar users are encouraged to try improving the results.

See also:

Several new color palettes have been recently added to Madagascar (thanks to Aaron Stanton): color=seismic (red-yellow-white-black, popular among seismic interpreters), color=owb (orange-white-black), and color=rwb (red-white-black).

Tutorial on data slicing

August 20, 2014 Examples No comments

The example in rsf/tutorials/slicing reproduces the tutorial from Evan Bianco of simple data slicing.

See also:

Madagascar users are encouraged to try improving the results.

Making a wedge

July 1, 2014 Examples No comments

The example in rsf/tutorials/wedge reproduces the example from Evan Bianco of simple convolution modeling with a wedge model.

See also:

Erupting Mount St. Helens

May 27, 2014 Examples No comments

The example in rsf/tutorials/sthelens reproduces the analysis by Evan Bianco of the digital elevation data from Mount St. Helens before and after its catastrophic eruption.


Madagascar users are encouraged to try improving the results.

Light Bartlein color palette

May 15, 2014 Examples No comments

The orange-white-purple diverging color palette was suggested in the article

Light, A. and P.J. Bartlein (2004) The end of the rainbow? Color schemes for improved data graphics. EOS Transactions of the American Geophysical Union 85(40):385

Matteo Niccoli recommends it for seismic data as a replacement for the familiar red-white-blue pallete (color=g in Madagascar). Now the Light-Bartlein palette is available to Madagascar plotting programs, such as sfgrey, as color=lb. See the following example from rsf/rsf/sfgrey:

More information:

Matt Hall’s tutorial on smoothing

March 11, 2014 Examples No comments

If you enjoyed Matt Hall‘s tutorial on smoothing surfaces and attributes in the last month’s issue of The Leading Edge, you can find it reproduced in Madagascar (with some extensions) under rsf/tutorials/smoothing.

If you like IPython notebooks, you can also reproduce this exercise using the provided notebook.

Madagascar users are encouraged to try improving this reproducible example.

Cube-helix color palette

August 23, 2013 Examples No comments

The “cube helix” color palette was suggested by Dave Green for displaying astronomical intensity. This pallette is designed to be monotonically increasing on terms of its perceived brightness, which results in a nice greyscale when printed on a black and white printer.

Now this palette is available to Madagascar plotting programs, such as sfgrey, as color=x. See the following example from rsf/rsf/sfgrey:

More information:

Color palettes

March 19, 2013 Examples No comments

In addition to the standard color palettes, it is now possible to use a custom palette by specifying it in a simple comma-separated text file (CSV). The following example from rsf/rsf/sfgrey uses the perceptional rainbow palette created by Matteo Niccoli. See Matteo’s blog posts for an explanation.

Lorenz attractor

May 17, 2011 Examples No comments

Just for fun… sflorenz computes “Lorenz attractor” in X-Z plane. See an example in rsf/rsf/fractal and an animated gif. Need 3D plot …