Difference between revisions of "BCU task-centric program list"

From Madagascar
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== ASCII, binary file ==
 
== ASCII, binary file ==
* Convert the binary file of a RSF dataset between different formats (binary, ASCII): [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfdd dd guide], [http://egl.beg.utexas.edu/RSF/sfdd.html dd]
+
* Convert the binary file of a RSF dataset between different formats (binary, ASCII): [[Guide_to_madagascar_programs#sfdd | dd guide]], [http://reproducibility.org/RSF/sfdd.html dd]
  
 
==SEG-Y file==
 
==SEG-Y file==
* Convert SEG-Y files to RSF: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfsegyread segyread guide], [http://reproducibility.org/RSF/sfsegyread.html segyread]
+
* Convert SEG-Y files to RSF: [[Guide_to_madagascar_programs#sfsegyread | segyread guide]], [http://reproducibility.org/RSF/sfsegyread.html segyread]
* Convert RSF to SEG-Y or SU: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfsegywrite segywrite guide], [http://reproducibility.org/RSF/sfsegywrite.html segywrite]
+
* Convert RSF to SEG-Y or SU: [[Guide_to_madagascar_programs#sfsegywrite | segywrite guide]], [http://reproducibility.org/RSF/sfsegywrite.html segywrite]
* Make a trace header file for segywrite: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfsegyheader segyheader guide], [http://reproducibility.org/RSF/segyheader.html segyheader]
+
* Make a trace header file for segywrite: [[Guide_to_madagascar_programs#sfsegyheader | segyheader guide]], [http://reproducibility.org/RSF/segyheader.html segyheader]
  
 
==SU file==
 
==SU file==
* Convert SU files to RSF: [http://egl.beg.utexas.edu/RSF/sfsegyread.html suread]
+
* Convert SU files to RSF: [http://reproducibility.org/RSF/sfsegyread.html suread]
* Convert RSF to SU: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfsegywrite segywrite guide], [http://egl.beg.utexas.edu/RSF/sfsegywrite.html segywrite]
+
* Convert RSF to SU: [[Guide_to_madagascar_programs#sfsegywrite | segywrite guide]], [http://reproducibility.org/RSF/sfsegywrite.html segywrite]
  
 
=File operations=
 
=File operations=
Line 24: Line 24:
  
 
== Basic operations ==
 
== Basic operations ==
* Display basic information about RSF files: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfin in guide], [http://egl.beg.utexas.edu/RSF/sfin.html in]
+
* Display basic information about RSF files: [[Guide_to_madagascar_programs#sfin in guide]], [http://reproducibility.org/RSF/sfin.html in]
* Copy a dataset: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfcp cp guide], [http://egl.beg.utexas.edu/RSF/sfcp.html cp]
+
* Copy a dataset: [[Guide_to_madagascar_programs#sfcp | cp guide]], [http://reproducibility.org/RSF/sfcp.html cp]
* Move a dataset: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfmv mv guide], [http://egl.beg.utexas.edu/RSF/sfcp.html mv]
+
* Move a dataset: [[Guide_to_madagascar_programs#sfmv | mv guide]], [http://reproducibility.org/RSF/sfcp.html mv]
* Remove RSF files together with their data: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfrm rm guide], [http://egl.beg.utexas.edu/RSF/sfrm.html rm]
+
* Remove RSF files together with their data: [[Guide_to_madagascar_programs#sfrm | rm guide]], [http://reproducibility.org/RSF/sfrm.html rm]
* Print out data values: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfdisfil disfil guide], [http://egl.beg.utexas.edu/RSF/sfdisfil.html disfil]
+
* Print out data values: [[Guide_to_madagascar_programs#sfdisfil | disfil guide]], [http://reproducibility.org/RSF/sfdisfil.html disfil]
  
 
== Operation on file content ==
 
== Operation on file content ==
  
*  Generate simple data (spikes, boxes, planes, constants): [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfspike spike guide], [http://egl.beg.utexas.edu/RSF/sfspike.html spike]
+
*  Generate simple data (spikes, boxes, planes, constants): [[Guide_to_madagascar_programs#sfspike | spike guide]], [http://reproducibility.org/RSF/sfspike.html spike]
* Mathematical operations on data files: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfmath math guide], [http://egl.beg.utexas.edu/RSF/sfmath.html math]
+
* Mathematical operations on data files: [[Guide_to_madagascar_programs#sfmath | math guide]], [http://reproducibility.org/RSF/sfmath.html math]
* Add, multiply, or divide  RSF datasets: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfadd add guide], [http://egl.beg.utexas.edu/RSF/sfadd.html add]
+
* Add, multiply, or divide  RSF datasets: [[Guide_to_madagascar_programs#sfadd | add guide]], [http://reproducibility.org/RSF/sfadd.html add]
* Add, multiply, or divide  RSF datasets (fast, OMP-enabled): [http://egl.beg.utexas.edu/RSF/sfparadd.html paradd]
+
* Add, multiply, or divide  RSF datasets (fast, OMP-enabled): [http://reproducibility.org/RSF/sfparadd.html paradd]
* Window a portion of the dataset: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfwindow window guide], [http://egl.beg.utexas.edu/RSF/sfwindow.html window]
+
* Window a portion of the dataset: [[Guide_to_madagascar_programs#sfwindow | window guide]], [http://reproducibility.org/RSF/sfwindow.html window]
* Create a mask: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfmask mask guide], [http://egl.beg.utexas.edu/RSF/sfmask.html mask]
+
* Create a mask: [[Guide_to_madagascar_programs#sfmask | mask guide]], [http://reproducibility.org/RSF/sfmask.html mask]
* Stack a dataset over one of the dimensions: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfstack stack guide], [http://egl.beg.utexas.edu/RSF/sfstack.html stack]
+
* Stack a dataset over one of the dimensions: [[Guide_to_madagascar_programs#sfstack | stack guide]], [http://reproducibility.org/RSF/sfstack.html stack]
* Transpose two axes in a dataset: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sftransp transp guide], [http://egl.beg.utexas.edu/RSF/sftransp.html transp]
+
* Transpose two axes in a dataset: [[Guide_to_madagascar_programs#sftransp | transp guide]], [http://reproducibility.org/RSF/sftransp.html transp]
* Concatenate datasets: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfcat cat guide], [http://egl.beg.utexas.edu/RSF/sfcat.html cat] or [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfmerge merge guide], [http://egl.beg.utexas.edu/RSF/sfcat.html merge]
+
* Concatenate datasets: [[Guide_to_madagascar_programs#sfcat | cat guide]], [http://reproducibility.org/RSF/sfcat.html cat] or [[Guide_to_madagascar_programs#sfmerge | merge guide]], [http://reproducibility.org/RSF/sfcat.html merge]
* Convert real data to complex (by adding zero imaginary part): [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfrtoc rtoc guide], [http://egl.beg.utexas.edu/RSF/sfrtoc.html rtoc]
+
* Convert real data to complex (by adding zero imaginary part): [[Guide_to_madagascar_programs#sfrtoc | rtoc guide]], [http://reproducibility.org/RSF/sfrtoc.html rtoc]
* Extract real part of a complex dataset: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfreal real guide], [http://egl.beg.utexas.edu/RSF/sfreal.html real]
+
* Extract real part of a complex dataset: [[Guide_to_madagascar_programs#sfreal | real guide]], [http://reproducibility.org/RSF/sfreal.html real]
* Extract imaginary part of a complex dataset: [http://egl.beg.utexas.edu/RSF/sfreal.html imag]
+
* Extract imaginary part of a complex dataset: [http://reproducibility.org/RSF/sfreal.html imag]
* Create a complex dataset from its real and imaginary parts: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfcomplex complex guide], [http://egl.beg.utexas.edu/RSF/sfcmplx.html cmplx]
+
* Create a complex dataset from its real and imaginary parts: [[Guide_to_madagascar_programs#sfcomplex | complex guide]], [http://reproducibility.org/RSF/sfcmplx.html cmplx]
* Scale data: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfscale scale guide], [http://egl.beg.utexas.edu/RSF/sfscale.html scale]
+
* Scale data: [[Guide_to_madagascar_programs#sfscale | scale guide]], [http://reproducibility.org/RSF/sfscale.html scale]
* Rotate a portion of one or more axes in the data hypercube: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfrotate rotate guide], [http://egl.beg.utexas.edu/RSF/sfrotate.html rotate]
+
* Rotate a portion of one or more axes in the data hypercube: [[Guide_to_madagascar_programs#sfrotate | rotate guide]], [http://reproducibility.org/RSF/sfrotate.html rotate]
* Zero a portion of the dataset: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfcut cut guide], [http://egl.beg.utexas.edu/RSF/sfcut.html cut]
+
* Zero a portion of the dataset: [[Guide_to_madagascar_programs#sfcut | cut guide]], [http://reproducibility.org/RSF/sfcut.html cut]
* Pad a dataset with zeros: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfpad pad guide], [http://egl.beg.utexas.edu/RSF/sfpad.html pad]
+
* Pad a dataset with zeros: [[Guide_to_madagascar_programs#sfpad | pad guide]], [http://reproducibility.org/RSF/sfpad.html pad]
* Combine several datasets by interleaving: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfinterleave interleave guide], [http://egl.beg.utexas.edu/RSF/sfinterleave.html interleave]
+
* Combine several datasets by interleaving: [[Guide_to_madagascar_programs#sfinterleave | interleave guide]], [http://reproducibility.org/RSF/sfinterleave.html interleave]
* Pad and interleave traces: [http://egl.beg.utexas.edu/RSF/sflpad.html lpad]
+
* Pad and interleave traces: [http://reproducibility.org/RSF/sflpad.html lpad]
* Computes Ni+1 x Ni+2 x ...: [http://egl.beg.utexas.edu/RSF/sfleftsize.html leftsize]
+
* Computes Ni+1 x Ni+2 x ...: [http://reproducibility.org/RSF/sfleftsize.html leftsize]
* Reverse one or more axes in the data hypercube: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfreverse reverse guide], [http://egl.beg.utexas.edu/RSF/sfreverse.html reverse]
+
* Reverse one or more axes in the data hypercube: [[Guide_to_madagascar_programs#sfreverse | reverse guide]], [http://reproducibility.org/RSF/sfreverse.html reverse]
* Extend a dataset by duplicating in the specified axis dimension: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfspray spray guide], [http://egl.beg.utexas.edu/RSF/sfspray.html spray]
+
* Extend a dataset by duplicating in the specified axis dimension: [[Guide_to_madagascar_programs#sfspray | spray guide]], [http://reproducibility.org/RSF/sfspray.html spray]
  
 
==Header operations==
 
==Header operations==
  
* Input parameters into a header: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfput put guide], [http://egl.beg.utexas.edu/RSF/sfput.html put]
+
* Input parameters into a header: [[Guide_to_madagascar_programs#sfput | put guide]], [http://reproducibility.org/RSF/sfput.html put]
* Output parameters from the header: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfget get guide], [http://egl.beg.utexas.edu/RSF/sfget.html get]
+
* Output parameters from the header: [[Guide_to_madagascar_programs#sfget | get guide]], [http://reproducibility.org/RSF/sfget.html get]
* Display the content of a header file: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfheaderattr headerattr guide], [http://egl.beg.utexas.edu/RSF/sfheaderattr.html headerattr]
+
* Display the content of a header file: [[Guide_to_madagascar_programs#sfheaderattr | headerattr guide]], [http://reproducibility.org/RSF/sfheaderattr.html headerattr]
* Zero a portion of a dataset based on a header mask: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfheadercut headercut guide], [http://egl.beg.utexas.edu/RSF/sfheadercut.html headercut]
+
* Zero a portion of a dataset based on a header mask: [[Guide_to_madagascar_programs#sfheadercut | headercut guide]], [http://reproducibility.org/RSF/sfheadercut.html headercut]
* Mathematical operations, possibly on header keys: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfheadermath headermath guide], [http://egl.beg.utexas.edu/RSF/sfheadermath.html headermath]
+
* Mathematical operations, possibly on header keys: [[Guide_to_madagascar_programs#sfheadermath | headermath guide]], [http://reproducibility.org/RSF/sfheadermath.html headermath]
* Sort a dataset according to a header key: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfheadersort headersort guide], [http://egl.beg.utexas.edu/RSF/sfheadersort.html headersort]
+
* Sort a dataset according to a header key: [[Guide_to_madagascar_programs#sfheadersort | headersort guide]], [http://reproducibility.org/RSF/sfheadersort.html headersort]
* Window a dataset based on a header mask: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfheaderwindow headerwindow guide],  [http://egl.beg.utexas.edu/RSF/sfheaderwindow.html headerwindow]
+
* Window a dataset based on a header mask: [[Guide_to_madagascar_programs#sfheaderwindow | headerwindow guide]],  [http://reproducibility.org/RSF/sfheaderwindow.html headerwindow]
  
 
=Statistical operations on files=
 
=Statistical operations on files=
 
==Single-file==
 
==Single-file==
* Display dataset attributes: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfattr attr guide], [http://egl.beg.utexas.edu/RSF/sfattr.html attr]
+
* Display dataset attributes: [[Guide_to_madagascar_programs#sfattr | attr guide]], [http://reproducibility.org/RSF/sfattr.html attr]
* Compute a histogram of data values: [http://egl.beg.utexas.edu/RSF/sfhistogram.html histogram]
+
* Compute a histogram of data values: [http://reproducibility.org/RSF/sfhistogram.html histogram]
* Computes what clip value corresponds to a given pclip: [http://egl.beg.utexas.edu/RSF/sfquantile.html quantile]
+
* Computes what clip value corresponds to a given pclip: [http://reproducibility.org/RSF/sfquantile.html quantile]
* Clip the data: [http://egl.beg.utexas.edu/RSF/sfclip.html clip]
+
* Clip the data: [http://reproducibility.org/RSF/sfclip.html clip]
* One- or two-sided data clipping: [http://egl.beg.utexas.edu/RSF/sfclip2.html clip2]
+
* One- or two-sided data clipping: [http://reproducibility.org/RSF/sfclip2.html clip2]
* Percentile clip: [http://egl.beg.utexas.edu/RSF/sfpclip.html pclip]
+
* Percentile clip: [http://reproducibility.org/RSF/sfpclip.html pclip]
* Threshold float/complex inputs given a constant/varying threshold level: [http://egl.beg.utexas.edu/RSF/sfthr.html thr]
+
* Threshold float/complex inputs given a constant/varying threshold level: [http://reproducibility.org/RSF/sfthr.html thr]
* Soft thresholding: [http://egl.beg.utexas.edu/RSF/sfthreshold.html threshold]
+
* Soft thresholding: [http://reproducibility.org/RSF/sfthreshold.html threshold]
* Construct incremental minimum or maximum lists from an RSF file: [http://egl.beg.utexas.edu/RSF/sflistminmax.html listminmax]
+
* Construct incremental minimum or maximum lists from an RSF file: [http://reproducibility.org/RSF/sflistminmax.html listminmax]
* Sort a float/complex vector by absolute values: [http://egl.beg.utexas.edu/RSF/sfsort.html sort]
+
* Sort a float/complex vector by absolute values: [http://reproducibility.org/RSF/sfsort.html sort]
  
 
==Multi-file==
 
==Multi-file==
* Element by element minimum or maximum of two RSF files: [http://egl.beg.utexas.edu/RSF/sfminmax.html minmax]
+
* Element by element minimum or maximum of two RSF files: [http://reproducibility.org/RSF/sfminmax.html minmax]
* Similarity measure between two datasets: [http://egl.beg.utexas.edu/RSF/sfsimilarity.html similarity]
+
* Similarity measure between two datasets: [http://reproducibility.org/RSF/sfsimilarity.html similarity]
  
 
= Mathematics algorithms =
 
= Mathematics algorithms =
Line 86: Line 86:
 
==Basic mathematic processes==
 
==Basic mathematic processes==
  
* Causal integration on the first axis: [http://egl.beg.utexas.edu/RSF/sfcausint.html causint]
+
* Causal integration on the first axis: [http://reproducibility.org/RSF/sfcausint.html causint]
* Fast Fourier Transform along the first axis (from real to complex): [http://egl.beg.utexas.edu/RSF/sffft1.html fft1]
+
* Fast Fourier Transform along the first axis (from real to complex): [http://reproducibility.org/RSF/sffft1.html fft1]
* FFT transform on extra axis (from complex to complex): [http://egl.beg.utexas.edu/RSF/sffft1.html fft3]
+
* FFT transform on extra axis (from complex to complex): [http://reproducibility.org/RSF/sffft1.html fft3]
* 3D FFT with centering and Hermitian scaling: [http://egl.beg.utexas.edu/RSF/sffft1.html fft3d]
+
* 3D FFT with centering and Hermitian scaling: [http://reproducibility.org/RSF/sffft1.html fft3d]
* Frequency spectra: [http://egl.beg.utexas.edu/RSF/sfspectra.html spectra]
+
* Frequency spectra: [http://reproducibility.org/RSF/sfspectra.html spectra]
* Frequency spectra in 2-D: [http://egl.beg.utexas.edu/RSF/sfspectra2.html spectra2]
+
* Frequency spectra in 2-D: [http://reproducibility.org/RSF/sfspectra2.html spectra2]
* 1-D Digital Wavelet Transform: [http://egl.beg.utexas.edu/RSF/sfdwt.html dwt]
+
* 1-D Digital Wavelet Transform: [http://reproducibility.org/RSF/sfdwt.html dwt]
* Multi-dimensional cosine transform: [http://egl.beg.utexas.edu/RSF/sfcosft.html cosft]
+
* Multi-dimensional cosine transform: [http://reproducibility.org/RSF/sfcosft.html cosft]
  
 
==Linear Algebra==
 
==Linear Algebra==
  
* Simple matrix multiplication: [http://egl.beg.utexas.edu/RSF/sfmatmult.html matmult]
+
* Simple matrix multiplication: [http://reproducibility.org/RSF/sfmatmult.html matmult]
* Simple matrix multiplication for complex matrices: [http://egl.beg.utexas.edu/RSF/sfcmatmult.html cmatmult]
+
* Simple matrix multiplication for complex matrices: [http://reproducibility.org/RSF/sfcmatmult.html cmatmult]
* Find eigenvalues and eigenvectors of a symmetric positive definite matrix: [http://egl.beg.utexas.edu/RSF/sfdmeig.html dmeig]
+
* Find eigenvalues and eigenvectors of a symmetric positive definite matrix: [http://reproducibility.org/RSF/sfdmeig.html dmeig]
* Kroneker product with square matrices: [http://egl.beg.utexas.edu/RSF/sfkron.html kron]
+
* Kroneker product with square matrices: [http://reproducibility.org/RSF/sfkron.html kron]
* Generic conjugate-gradient solver for linear inversion: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfconjgrad conjgrad guide], [http://egl.beg.utexas.edu/RSF/sfconjgrad.html conjgrad]
+
* Generic conjugate-gradient solver for linear inversion: [[Guide_to_madagascar_programs#sfconjgrad | conjgrad guide]], [http://reproducibility.org/RSF/sfconjgrad.html conjgrad]
* Generic dot-product test for linear operators with adjoints: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfdottest dottest guide], [http://egl.beg.utexas.edu/RSF/sfdottest.html dottest]
+
* Generic dot-product test for linear operators with adjoints: [[Guide_to_madagascar_programs#sfdottest | dottest guide]], [http://reproducibility.org/RSF/sfdottest.html dottest]
* Generic conjugate-gradient solver for linear inversion with complex data: [http://egl.beg.utexas.edu/RSF/sfcconjgrad.html cconjgrad]
+
* Generic conjugate-gradient solver for linear inversion with complex data: [http://reproducibility.org/RSF/sfcconjgrad.html cconjgrad]
* Generic dot-product test for complex linear operators with adjoints: [http://egl.beg.utexas.edu/RSF/sfcdottest.html cdottest]
+
* Generic dot-product test for complex linear operators with adjoints: [http://reproducibility.org/RSF/sfcdottest.html cdottest]
  
 
== Interpolation ==
 
== Interpolation ==
* 1-D ENO (Essentiallly Non Oscillatory) interpolation:  [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfremap1 remap1 guide], [http://egl.beg.utexas.edu/RSF/sfemap1.html remap1]
+
* 1-D ENO (Essentiallly Non Oscillatory) interpolation:  [[Guide_to_madagascar_programs#sfremap1 | remap1 guide]], [http://reproducibility.org/RSF/sfemap1.html remap1]
* 1-D sinc interpolation: [http://egl.beg.utexas.edu/RSF/sfsinc.html sinc]
+
* 1-D sinc interpolation: [http://reproducibility.org/RSF/sfsinc.html sinc]
  
 
==Diffusion equation ==
 
==Diffusion equation ==
* Heat diffusion equation FD modeling: [http://egl.beg.utexas.edu/RSF/sfhdefd.html hdefd]
+
* Heat diffusion equation FD modeling: [http://reproducibility.org/RSF/sfhdefd.html hdefd]
* Finite-difference solution of 2-D heat-flow equation: [http://egl.beg.utexas.edu/RSF/sfheat.html heat]
+
* Finite-difference solution of 2-D heat-flow equation: [http://reproducibility.org/RSF/sfheat.html heat]
* Finite-difference 3-D heat-flow equation using helix: [http://egl.beg.utexas.edu/RSF/sfheat3.html heat3]
+
* Finite-difference 3-D heat-flow equation using helix: [http://reproducibility.org/RSF/sfheat3.html heat3]
  
 
==Fractals==
 
==Fractals==
* Fractal fern generator: [http://egl.beg.utexas.edu/RSF/sffern.html fern]
+
* Fractal fern generator: [http://reproducibility.org/RSF/sffern.html fern]
* Mandelbrot set generator: [http://egl.beg.utexas.edu/RSF/sfmandelbrot.html mandelbrot]
+
* Mandelbrot set generator: [http://reproducibility.org/RSF/sfmandelbrot.html mandelbrot]
* 1-D von Karman's spectrum parameter estimation: [http://egl.beg.utexas.edu/RSF/sfkarman.html karman]
+
* 1-D von Karman's spectrum parameter estimation: [http://reproducibility.org/RSF/sfkarman.html karman]
  
 
=Illustrations/wrappers of librsf functions=
 
=Illustrations/wrappers of librsf functions=
Line 124: Line 124:
 
!Library function || Program
 
!Library function || Program
 
|-
 
|-
| sf_filedims || [http://egl.beg.utexas.edu/RSF/sffiledims.html filedims]
+
| sf_filedims || [http://reproducibility.org/RSF/sffiledims.html filedims]
 
|-
 
|-
| sf_leftsize || [http://egl.beg.utexas.edu/RSF/sfleftsize.html leftsize]
+
| sf_leftsize || [http://reproducibility.org/RSF/sfleftsize.html leftsize]
 
|-
 
|-
| sf_quantile || [http://egl.beg.utexas.edu/RSF/sfquantile.html quantile]
+
| sf_quantile || [http://reproducibility.org/RSF/sfquantile.html quantile]
 
|}
 
|}
  
Line 136: Line 136:
  
  
* Generate raster plot: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfgrey grey guide], [http://egl.beg.utexas.edu/RSF/sfgrey.html grey] (sfbyte is the same)
+
* Generate raster plot: [[Guide_to_madagascar_programs#sfgrey | grey guide]], [http://reproducibility.org/RSF/sfgrey.html grey] (sfbyte is the same)
  
* Draw a balloon-style label: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfbox box guide], [http://egl.beg.utexas.edu/RSF/sfbox.html box]
+
* Draw a balloon-style label: [[Guide_to_madagascar_programs#sfbox | box guide]], [http://reproducibility.org/RSF/sfbox.html box]
  
* Contour plot: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfcontour contour guide], [http://egl.beg.utexas.edu/RSF/sfcontour.html contour]
+
* Contour plot: [[Guide_to_madagascar_programs#sfcontour | contour guide]], [http://reproducibility.org/RSF/sfcontour.html contour]
  
* Generate 3-D contour plot: [http://egl.beg.utexas.edu/RSF/sfcontour3.html contour3]
+
* Generate 3-D contour plot: [http://reproducibility.org/RSF/sfcontour3.html contour3]
  
* Plot signal with lollipops: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfdots dots guide], [http://egl.beg.utexas.edu/RSF/sfdots.html dots]
+
* Plot signal with lollipops: [[Guide_to_madagascar_programs#sfdots | dots guide]], [http://reproducibility.org/RSF/sfdots.html dots]
  
* Generate 3-D cube plot for surfaces: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfgraph3 graph3 guide], [http://egl.beg.utexas.edu/RSF/sfgraph3.html graph3]
+
* Generate 3-D cube plot for surfaces: [[Guide_to_madagascar_programs#sfgraph3 | graph3 guide]], [http://reproducibility.org/RSF/sfgraph3.html graph3]
  
* Graph plot: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfgraph graph guide], [http://egl.beg.utexas.edu/RSF/sfgraph.html graph]
+
* Graph plot: [[Guide_to_madagascar_programs#sfgraph | graph guide]], [http://reproducibility.org/RSF/sfgraph.html graph]
  
* Generate 3-D cube plot: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfgrey3 grey3 guide], [http://egl.beg.utexas.edu/RSF/sfgrey3.html grey3] (sfcubeplot is the same)
+
* Generate 3-D cube plot: [[Guide_to_madagascar_programs#sfgrey3 | grey3 guide]], [http://reproducibility.org/RSF/sfgrey3.html grey3] (sfcubeplot is the same)
  
* Plot rays: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfplotrays plotrays guide], [http://egl.beg.utexas.edu/RSF/sfplotrays.html plotrays]
+
* Plot rays: [[Guide_to_madagascar_programs#sfplotrays | plotrays guide]], [http://reproducibility.org/RSF/sfplotrays.html plotrays]
  
* Hidden-line surface plot: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfthplot thplot guide], [http://egl.beg.utexas.edu/RSF/sfthplot.html thplot]
+
* Hidden-line surface plot: [[Guide_to_madagascar_programs#sfthplot | thplot guide]], [http://reproducibility.org/RSF/sfthplot.html thplot]
  
* Plot data with wiggly traces:  [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfwiggle wiggle guide], [http://egl.beg.utexas.edu/RSF/sfwiggle.html wiggle]
+
* Plot data with wiggly traces:  [[Guide_to_madagascar_programs#sfwiggle | wiggle guide]], [http://reproducibility.org/RSF/sfwiggle.html wiggle]
  
* Resamples a 2-D dataset to the desired picture resolution, with antialias:  [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfprep4plot prep4plot guide], [http://egl.beg.utexas.edu/RSF/sfprep4plot.html prep4plot]
+
* Resamples a 2-D dataset to the desired picture resolution, with antialias:  [[Guide_to_madagascar_programs#sfprep4plot | prep4plot guide]], [http://reproducibility.org/RSF/sfprep4plot.html prep4plot]
  
* Setting up frames for a generic plot: [http://egl.beg.utexas.edu/RSF/sfstdplot.html stdplot]
+
* Setting up frames for a generic plot: [http://reproducibility.org/RSF/sfstdplot.html stdplot]
  
 
== Plot format ==
 
== Plot format ==
  
* Plot Assembler - convert ascii to vplot: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfplas plas guide], [http://egl.beg.utexas.edu/RSF/sfplas.html plas]
+
* Plot Assembler - convert ascii to vplot: [[Guide_to_madagascar_programs#sfplas | plas guide]], [http://reproducibility.org/RSF/sfplas.html plas]
  
* Plot Debugger - convert vplot to ascii: [http://rsf.sourceforge.net/Guide_to_madagascar_programs#sfpldb pldb guide], [http://egl.beg.utexas.edu/RSF/sfpldb.html pldb]
+
* Plot Debugger - convert vplot to ascii: [[Guide_to_madagascar_programs#sfpldb | pldb guide]], [http://reproducibility.org/RSF/sfpldb.html pldb]
  
* Vplot filter for postscript: [http://egl.beg.utexas.edu/RSF/sfpspen.html pspen]
+
* Vplot filter for postscript: [http://reproducibility.org/RSF/sfpspen.html pspen]
  
* Vplot filter for the virtual vplot device: [http://egl.beg.utexas.edu/RSF/sfvppen.html vppen]
+
* Vplot filter for the virtual vplot device: [http://reproducibility.org/RSF/sfvppen.html vppen]
  
 
=References=
 
=References=
 
<references/>
 
<references/>

Revision as of 03:53, 12 October 2008

The most frequent question encountered from a new user is: "Does Madagascar do [some needed process]?" The first level of classification is therefore by types of procedures. The classifications below try to follow the user's workflow:

  1. What is the function to read such type of input data file ?
  2. Is there a function to perform a Fourier transform, a causal integration ?
  3. How can I display 2-D data ?

All program names below should be prefixed with "sf".

I/O and file format conversions

ASCII, binary file

  • Convert the binary file of a RSF dataset between different formats (binary, ASCII): dd guide, dd

SEG-Y file

SU file

File operations

This section contains physics-agnostic methods for slicing, dicing, adding together files, etc:

Basic operations

Operation on file content

Header operations

Statistical operations on files

Single-file

  • Display dataset attributes: attr guide, attr
  • Compute a histogram of data values: histogram
  • Computes what clip value corresponds to a given pclip: quantile
  • Clip the data: clip
  • One- or two-sided data clipping: clip2
  • Percentile clip: pclip
  • Threshold float/complex inputs given a constant/varying threshold level: thr
  • Soft thresholding: threshold
  • Construct incremental minimum or maximum lists from an RSF file: listminmax
  • Sort a float/complex vector by absolute values: sort

Multi-file

  • Element by element minimum or maximum of two RSF files: minmax
  • Similarity measure between two datasets: similarity

Mathematics algorithms

Basic mathematic processes

  • Causal integration on the first axis: causint
  • Fast Fourier Transform along the first axis (from real to complex): fft1
  • FFT transform on extra axis (from complex to complex): fft3
  • 3D FFT with centering and Hermitian scaling: fft3d
  • Frequency spectra: spectra
  • Frequency spectra in 2-D: spectra2
  • 1-D Digital Wavelet Transform: dwt
  • Multi-dimensional cosine transform: cosft

Linear Algebra

  • Simple matrix multiplication: matmult
  • Simple matrix multiplication for complex matrices: cmatmult
  • Find eigenvalues and eigenvectors of a symmetric positive definite matrix: dmeig
  • Kroneker product with square matrices: kron
  • Generic conjugate-gradient solver for linear inversion: conjgrad guide, conjgrad
  • Generic dot-product test for linear operators with adjoints: dottest guide, dottest
  • Generic conjugate-gradient solver for linear inversion with complex data: cconjgrad
  • Generic dot-product test for complex linear operators with adjoints: cdottest

Interpolation

Diffusion equation

  • Heat diffusion equation FD modeling: hdefd
  • Finite-difference solution of 2-D heat-flow equation: heat
  • Finite-difference 3-D heat-flow equation using helix: heat3

Fractals

  • Fractal fern generator: fern
  • Mandelbrot set generator: mandelbrot
  • 1-D von Karman's spectrum parameter estimation: karman

Illustrations/wrappers of librsf functions

Library function Program
sf_filedims filedims
sf_leftsize leftsize
sf_quantile quantile

Graph, plots, displays

Display

  • Setting up frames for a generic plot: stdplot

Plot format

  • Vplot filter for postscript: pspen
  • Vplot filter for the virtual vplot device: vppen

References