Editing
Tutorial
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=Quick reference= {| class="wikitable" align="center" cellspacing="0" border="1" ! colspan="2" style="background:#ffdead;" | Environmental variables that are used in Madagascar programs |- | '''RSFROOT''' || location of the main Madagascar installation |- | '''RSFSRC''' || location of the source for Madagascar |- | '''DATAPATH''' || location where to put the binary RSF files |- | '''RSF_MEMSIZE''' || maximum memory size for some programs to use |- | '''PYTHONPATH''' || set to point to Python libraries |- | '''LD_LIBRARY_PATH || set to point to RSF dynamic libraries |} {| class="wikitable" align="center" cellspacing="0" border="1" ! style="background:#ffdead;" | Using programs on the command line |- |<tt>sfprogram < input.rsf arg1=val1 arg2=val2 ... > output.rsf</tt> |- |<tt>sftransp < file.rsf plane=12 > file2.rsf</tt> |- |<tt>sftransp < file.rsf plane=12 <math>|</math> sftransp plane=23 <math>|</math> sftransp plane=34 > file2.rsf</tt> |} {| class="wikitable" align="center" cellspacing="0" border="1" ! colspan="2" style="background:#ffdead;" | Some useful programs |- | '''sfdoc -k . <math>|</math> less''' || show program descriptions |- | '''sfbrowser''' || show program browser |- | '''sfgui''' || show tkMadagascar GUI |- | '''sfspike''' || create RSF files |- | '''sfmath''' || create and manipulate RSF files |- | '''sftransp''' || change the order of axes in RSF files |- | '''sfwindow''' || window out portions of RSF files |- | '''sfricker1''' || create a Ricker wavelet |- | '''sfft1''' || FFT on the first axis (real to complex) |- | '''sffft3''' || FFT on other axes (complex) |- | '''sfnoise''' || add noise |- | '''sfdd''' || convert datasets |- | '''sfgrey''' || make raster plots |- | '''sfcat'' || concatenate datasets together |- | '''sfput''' || modify header values |- | '''sfsegyread''' || read SEGY/SU files |- | '''sfsegywrite''' || write SEGY/SU files |} {| class="wikitable" align="center" cellspacing="0" border="1" ! colspan="2" style="background:#ffdead;" | SCons commands |- | '''scons''' || run an SConstruct |- | '''scons view''' || view the results from an SConstruct, run if necessary |- | '''scons lock''' || lock the results from an SConstruct |- | '''scons -c''' || clean the local directory, delete all target files |- | '''scons -n''' || dry-run of an SConstruct |- | '''scons --debug=explain''' || explain why SCons is doing what it does |- | '''pscons''' || parallel execution of an SConstruct |}
Summary:
Please note that all contributions to Madagascar are considered to be released under the GNU Free Documentation License 1.3 or later (see
My wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Getting Madagascar
download
Installation
GitHub repository
SEGTeX
Introduction
Package overview
Tutorial
Hands-on tour
Reproducible documents
Hall of Fame
User Documentation
List of programs
Common programs
Popular programs
The RSF file format
Reproducibility with SCons
Developer documentation
Adding programs
Contributing programs
API demo: clipping data
API demo: explicit finite differences
Community
Conferences
User mailing list
Developer mailing list
GitHub organization
LinkedIn group
Development blog
Twitter
Slack
Tools
What links here
Related changes
Special pages
Page information