User Tools

Site Tools


tutorials:first_steps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:first_steps [2019/07/29 23:49] – [Data importation] seisunixtutorials:first_steps [2019/08/03 22:08] (current) – [Data input and output] seisunix
Line 23: Line 23:
 For example: For example:
 <WRAP box 800px round center centeralign> <WRAP box 800px round center centeralign>
-''sufilter f=10,20,150,200 <data_to_be_filtered.su >filtered_data.su''+''sufilter f=10,20,150,200 amps=0,1,1,<data_to_be_filtered.su >bandpass_data.su''
 </WRAP> </WRAP>
  
-will apply a band-pass filter to a SU data file and store the result in an other data file.+will apply a band-pass filter to a SU data file and store the result in the file bandpass_data.su , 
 + 
 +<WRAP box 800px round center centeralign> 
 +''sufilter f=10,20,150,200 amps=1,1,0,0 <data_to_be_filtered.su >low_pass_data.su'' 
 +</WRAP> 
 + 
 +will apply a low pass filter, and 
 + 
 +<WRAP box 800px round center centeralign> 
 +''sufilter f=10,20,150,200 amps=0,0,1,1 <data_to_be_filtered.su >high_pass_data.su'' 
 +</WRAP>
  
 As other UNIX tools, SU tools can be linked with the pipe mechanism. As other UNIX tools, SU tools can be linked with the pipe mechanism.
Line 36: Line 46:
 </WRAP> </WRAP>
  
-''suwind'' reads the file other_data.su, keeps only the first 10 traces and its stdout is linked to the stdin of ''sufilter'' whose stdout is redirected into the file new_su_file.su.+''suwind'' reads the file other_data.su, keeps only the first 10 traces and its stdout is linked to the stdin of ''sufilter'' whose stdout is redirected into the file new_su_file.su.The default filter is a trapezoidal bandpass filter.
  
 <WRAP info> <WRAP info>
 if you are running SU on a multicore/multiprocessor computer with shared memory, the tasks will be distributed by the operating system to different cores/processors. if you are running SU on a multicore/multiprocessor computer with shared memory, the tasks will be distributed by the operating system to different cores/processors.
 </WRAP> </WRAP>
- 
 ===== Structure of a SU command ===== ===== Structure of a SU command =====
  
tutorials/first_steps.txt · Last modified: 2019/08/03 22:08 by seisunix