📄 xfft
字号:
#! /bin/sh# This material contains unpublished, proprietary software of # Entropic Research Laboratory, Inc. Any reproduction, distribution, # or publication of this work must be authorized in writing by Entropic # Research Laboratory, Inc., and must bear the notice: ## "Copyright (c) 1990-1993 Entropic Research Laboratory, Inc. # All rights reserved"## The copyright notice above does not evidence any actual or intended # publication of this source code. ## @(#)xfft 1.10 6/28/93 ERL# # Written by: John Shore# Checked by:# Revised by:# # Brief description: X cover for fft# # This script computes and plots a maximum entropy spectrum, with # interactive (X-Windows) prompting for the analysis parameters## The script takes two arguments:## $1 = standard ESPS range argument (e.g., -r100:2000)# $2 = name of ESPS sampled data file## exprompt is used to fill out a form specifying the order and the # window method; the FFT is then computed, displayed, and plotted. ## It is often useful to add this to a xwaves+ menu via ## add_espsn name xfft command xfftTEMP_DIR=$ESPS_TEMP_PATHif test x$TEMP_DIR = x then TEMP_DIR=/usr/tmpfi# define temp files for parameters and spectrumrange=complex=params=$TEMP_DIR/xfft$$.prm case $# in0|4|5) echo "Usage: xfft [-{pr} range] input.sd" exit 1;;1) input=$1 ;;2) range=$1 input=$2 ;;3) complex=$1 range=$2 input=$3 esac# prompt for parameters (except start, nan, frame_len, and step) exprompt -h fft -P PWfft $params# compute and plot results{ fft -P$params $complex $range $input - | plotspec -r1 - ; rm -f $params ;} &
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -