注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

notes

@-@

 
 
 

日志

 
 
 
 

SAC Commands Listing: Functional  

2012-11-21 16:55:24|  分类: 程序 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
Executive Function: Information and Control
ModuleDefinition
ABOUT
Displays version and copyright information
INTRO

Provides a brief introduction to SAC

HELPCONTENTSList contents of SAC's help package
HELP
Prints information about SAC commands and features.
PRINTHELPCommand for printing help pages from within SAC
FAQList of Frequently Asked Questions
NEWS
Prints current news concerning SAC.
COMCOR
Controls SAC's command correction option.
INICM
Reinitializes all of SAC's common blocks.
PRODUCTION
Controls the production mode option.
REPORT
Informs the user about the current state of SAC.
SYNTAX
Prints basic information about SAC commands.
TRACE
Controls the tracing of blackboard and header variables.
ECHO
Controls echoing of commands to the terminal.
HISTORY
Provides easy access to previous commands (like unix history)
MESSAGE
Sends a message to the user's terminal.
QUIT
Terminates SAC.
QUITSUB
Terminates the currently active subprocess.
PAUSE
Sends a message to the terminal and pauses.
TRANSCRIPT
Controls output to the transcript file.
Executive Function: Processing and Macros
EVALUATE
Evaluates simple arithmetic expressions.
GETBB
Gets (prints) values of blackboard variables.
SETBB
Sets (defines) values of blackboard variables.
UNSETBB
Unsets (deletes) blackboard variables.
INSTALLMACRO
Installs macro files in the global SAC macro directory.
MACRO
Executes a SAC macro file.
SETMACRO
Defines directories to search when executing a SAC macro file.
SYSTEMCOMMAND
Executes system commands from SAC.

Data File Module
ModuleDefinition
READ
Reads data from SAC data files on disk into memory.
WRITE
Writes data in memory to disk.
READDBReads data from an Oracle database
READCSS
Reads CSS format data files into SAC.
WRITECSS
Writes CSS format data files from SAC.
READGSEReads GSE2.0 format data
WRITEGSEWrites GSE2.0 format data
READSUDSReads PC Suds data
READALPHA
Reads alphanumeric data files on disk into memory.
READTABLE
Reads alphanumeric data files on disk into memory.
DATAGEN
Generates sample data files and stores them in memory.
FUNCGEN
Generates a function and stores it in memory.
CONVERT
Converts data files from one format to another.
COMMITCommits (copies) SAC's data to the I/O buffers
ROLLBACKReplaces active data with data last committed to the I/O buffers
RECALLTRACERolls back waveforms and selected headers from I/O buffers and commits the rest of the headers.
READHDR
Reads headers from SAC data files into memory.
WRITEHDR
Overwrites the headers on disk with those in memory.
LISTHDR 
Lists the values of selected header fields.
CHNHDR
Changes the values of selected header fields.
COPYHDR
Copies header variables from one file in memory to all others.
READBBF
Reads a blackboard variable file into memory.
WRITEBBF
Writes a blackboard variable file to disk.
CUT
Defines how much of a data file is to be read.
CUTERR
Controls errors due to bad cut parameters.
CUTIMCuts data after its already been read into memory
DELETECHANNELDeletes selected channels from memory
PICKAUTHORControls author name when reading picks.
PICKPHASEControls phase names to load into the SAC headers.
READERR
Controls errors that occur during the read command.
SYNCHRONIZE
Synchronizes the reference times of all files in memory.
SORTSorts waveforms based on selected header variables
WILD
Sets wildcard characters used in read commands to expand filelists.

Graphics Environment Module
ModuleDefinition
XLIM
Determines the plot limits for the x axis.
YLIM
Determines the plot limits for the y axis.
LINLIN
Turns on linear scaling for the x and y axes.
LINLOG
Turns on linear scaling for x axis and logarithmic for y axis.
LOGLIN
Turns on logarithmic scaling for x axis and linear for y axis.
LOGLOG
Turns on logarithmic scaling for the x and y axes.
XLIN
Turns on linear scaling for the x axis.
XLOG
Turns on logarithimic scaling for the x axis.
YLIN
Turns on linear scaling for the y axis.
YLOG
Turns on logarithimic scaling for the y axis.
XDIV
Controls the x axis division spacing.
YDIV
Controls the y axis division spacing.
XFULL
Controls plotting of x axis full logarithmic decades.
YFULL
Controls plotting of y axis full logarithmic decades.
XFUDGE
Changes the x axis "fudge factor."
YFUDGE
Changes the y axis "fudge factor."
AXES
Controls the location of annotated axes.
BORDER
Controls the plotting of a border around plots.
GRID
Controls the plotting of grid lines in plots.
XGRID
Controls plotting of grid lines in the x direction.
YGRID
Controls plotting of grid lines in the y direction.
TICKS
Controls the location of tick marks on plots.
TITLE
Defines the plot title and attributes.
XLABEL
Defines the x axis label and attributes.
YLABEL 
Defines the y axis label and attributes.
PLABEL 
Defines general plot labels and their attributes.
FILENUMBER
Controls plotting of filenumbers next to each file.
FILEID
Controls the file id display found on most SAC plots.
PICKS
Controls the display of time picks on most SAC plots.
GTEXT
Controls the quality and font of text used in plots.
TSIZE
Controls the text size attributes.
LOGLAB
Controls labels on logarithmically scaled axes.
COLOR
Controls color selection for color graphics devices.
LINE
Controls the linestyle selection in plots.
SYMBOL
Controls the symbol plotting attributes.
QDP
Controls the "quick and dirty plot" option
WIDTHControls the width of data lines
BEGINFRAME
Turns off automatic new frame actions between plots.
ENDFRAME
Resumes automatic new frame actions between plots.
BEGINWINDOW
Begins plotting to a new graphics window.
WINDOW
Sets the location and shape of graphics windows.
XVPORT
Defines the viewport for the x axis.
YVPORT
Defines the viewport for the y axis.
FLOOR
Puts a minimum value on logarithmically interpolated data.
NULL
Controls plotting of predefined null data values.

Graphics Control Module
ModuleDefinition
SETDEVICE
Defines a default graphics device to use in subsequent plots.
BEGINDEVICES
Begins plotting to one or more graphics devices.
ENDDEVICES
Terminates one or more graphics devices.
VSPACE
Changes the maximum size and shape of plots.
SGF
Controls the SAC Graphics File device options.
PAUSETells SAC to pause for specified length of time.
WAIT
Tells SAC whether or not to pause between plots.
PRINTPrint the most recent SGF file. Many plot commands also have a print option.

Graphics Action Module
ModuleDefinition
PLOT
Generates a single-trace single-window plot.
PLOT1
Generates a multi-trace multi-window plot.
PLOT2
Generates a multi-trace single-window (overlay) plot.
PLOTPK
Produces a plot for the picking of arrival times.
PLOTPKTABLE
Table describing PLOTPK options.
PLOTDYPlots data with error bars
PLOTXY
Plots one or more data files versus another data file.
PLOTALPHAReads data from Tables and plots with labels
PLOTC
Annotates SAC plots and creates figures using cursor.
PLOTCTABLE
Table describing PLOTC options.
PLOTSP
Plots spectral data in several different formats.
PLOTPM
Generates a "particle-motion" plot of pairs of data files.
ERASE
Erases the graphics display area.

Spectral Analysis Module
ModuleDefinition
FFT
Performs a discrete Fourier transform.
KEEPAM
Keep only the amplitude component of the spectral file.
IFFT
Performs an inverse discrete Fourier transform.
PLOTSP
Plots spectral data in several different formats.
WRITESP
Writes spectral files to disk as "normal" data files.
READSP
Reads spectral files written by @writesp@.
LOWPASS
Applies an IIR lowpass filter.
HIGHPASS
Applies an IIR highpass filter.
BANDPASS
Applies an IIR bandpass filter.
BANDREJ
Applies an IIR bandreject filter.
WIENER
Applies an adaptive Wiener filter.
FIR
Applies a finite-impulse-response filter.
HANNING
Applies a "hanning" window to each data file.
UNWRAP
Computes amplitude and unwrapped phase.
KHRONHITE
Applies a Khronhite filter to the data.
BENIOFF
Applies a Benioff filter to the data.
DIVOMEGA
Performs integration in the frequency domain.
MULOMEGA
Performs differentiation in the frequency domain.
HILBERT
Applies a Hilbert transform.
CONVOLVE
Computes the convolution of waveforms.
CORRELATE
Computes the auto- and cross- correlation functions.
ENVELOPE
Computes the envelope function using a Hilbert transform.

Unary Operations Module
ModuleDefinition
ADD
Adds a constant to each data point.
SUB
Subtracts a constant from each data point.
MUL
Multiplies each data point by a constant.
DIV
Divides each data point by a constant.
SQR
Squares each data point.
SQRT
Takes the square root of each data point.
INT
Performs integration using the trapezoidal rule.
ABS
Takes the absolute value of each data point.
LOG
Takes the natural logarithm of each data point.
LOG10
Takes the base 10 logarithm of each data point.
EXP
Computes the exponential of each data point.
EXP10
Computes the base 10 exponential (10.**y) of each data point.
DIF
Differentiates data in memory.


Binary Operations Module
ModuleDefinition
MERGE
Merges (concantenates) a set of files to data in memory.
ADDF
Adds a set of data files to data in memory.
SUBF
Subtracts a set of data files from data in memory.
MULF
Multiplies a set of files by the data in memory.
DIVF
Divides data in memory by a set of data files.
BINOPERR
Controls errors that can occur during binary file operations.

Signal Correction Module
ModuleDefinition
RQ
Removes the seismic Q factor from spectral data.
RGLITCHES
Removes glitches and timing marks.
RTREND
Removes the linear trend.
RMEAN
Removes the mean.
TAPER
Applies a symmetric taper to each end of data.
ROTATE
Rotates a pair of data components through an angle.
INTERPOLATE
Interpolates evenly or unevenly spaced data to a new sampling rate.
QUANTIZE
Converts continuous data into its quantized equivalent.
STRETCH
Stretches (upsamples) data, including an optional interpolating FIR filter.
REVERSE
Reverse the order of data points.
SMOOTH
Applies an arithmetic smoothing algorithm to the data.
DECIMATE
Decimates (downsamples) data, including an optional anti-aliasing FIR filter.

Event Analysis Module
ModuleDefinition
OHPF
Opens a HYPO formatted pick file.
CHPF
Closes the currently open HYPO pick file.
WHPF
Writes auxiliary cards into the @hypo@ pick file.
OAPF
Opens a alphanumeric pick file.
CAPF
Closes the currently open alphanumeric pick file.
APK
Applies an automatic event picking algorithm.
PLOTPK
Produces a plot for the picking of arrival times.
PLOTPKTABLE
Table describing PLOTPK options.
PICKAUTHORControls author name when reading picks.
PICKPHASEControls phase names to load into the SAC headers.

Signal Measurement Module
ModuleDefinition
MTW
Determines the measurement time window for use in subsequent measurement commands.
MARKVALUE
Searches for and marks values in a data file.
MARKTIMES
Marks files with travel times from a velocity set.
MARKPTP
Measures and marks the maximum peak to peak amplitude of each signal within the measurement time window.
RMS
Computes the root mean square of the data within the measurement time window.

XYZ (3-d) Data Module
ModuleDefinition
SPECTROGRAM
Calculates a spectrogram using all of the data in memory.
SONOGRAM
Calculates a sonogram using all of the data in memory.
IMAGEPlots 3D data files as color images
LOADCTABLELoads specified color table into memory
GRAYSCALE
Produces grayscale images of data in memory.
CONTOUR
Produces contour plots of data in memory.
ZLEVELS
Controls the contour line spacing in subsequent contour plots.
ZLINES
Controls the contour linestyles in subsequent contour plots.
ZTICKS
Controls the labeling of contour lines with directional tick marks.
ZLABELS
Controls the labeling of contour lines with alphanumeric labels.
ZCOLORS
Controls the color display of contour lines.

Instrument Correction Module
ModuleDefinition
TRANSFER
Performs deconvolution to remove an instrument response and convolution to apply another instrument response.
TRANSFERTABLE
Describes options to the transfer command.

Subprocess Invoking Module
ModuleDefinition
SPE
Initializes the Spectral Estimation Subprocess. SPE Commands
SSS
Initializes the Signal Stacking Subprocess. SSS Commands

Analysis Tools
ModuleDefinition
3CGUI based three component processing tool
CONVOLVE
Computes the convolution of waveforms.
CORRELATE
Computes the auto- and cross- correlation functions.
ENVELOPE
Computes the envelope function using a Hilbert transform.
FILTERDESIGN
Graphicly display the filter's digital vs. analog characteristics.
LINEFITFits a line to data in memory and write results to blackboard
MATRuns a MATLAB interactively or as a script on data in SAC
MAPUses GMT to create a MAP based on data in SAC
WHITENWhitens the data in memory

FK Spectrum
ModuleDefinition
BBFK
Computes broadband frequency-wavenumber (FK) spectral estimate.
BEAM
Computes the beam.
COARRAY
Produces a map of the array or "coarray".

  评论这张
 
阅读(804)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017