📄 rel40.me
字号:
.nf.ta 1.5i \fIsymsize\fP \- return the size of a parameter file symbol \fIsymlist\fP \- get list of parameter names and return number of parameters \fIsymdefinite\fP \- indicates whether a run-time parameter prompt will occur \fIsymchoices\fP \- get list of discrete choices for a parameter's value \fIsymrange\fP \- get the value range for a parameter \fIsymprompt\fP \- returns the prompt string for a parameter \fIgetsymdef_X\fP \- get default parameter value of type X from the symbol table \fIfputsym_X\fP \- put a parameter value of type X into an arbitrary file.fi.sp .5.sh 2 "Other Changes and Additions" .np\fIUpdate_waves_gen\fP was generalized to handle FEA_SD. The\fIstart\fP and \fIstep\fP parameters were changed from INT to FLOATin order to handle some important special cases (e.g., less than oneoutput record per input record). Also, the function now handlescorrectly the case in which the generic header item "start_time" is is vector. .npAdded to support processing of generic header items:.sp .5.nf.ta 1.5i \fIget_genhd_val\fP \- get the value of a numeric generic header item.fi.sp .5\fIget_genhd_val\fP differs from the existing generic header getroutines in returning a value rather than a pointer. Furthermore, thevalue is always returned as a double..npAdded to support header processing: .sp .5.nf.ta 1.5i \fIinhibit_hdr_date\fP \- inhibit updating the header field date.fi.sp .5This routine is used in \fIcomment\fP and \fIaddgen\fP to leaveunchanged the original header creation data. .npAdded to support FEA file processing:.sp .5.nf.ta 1.5i \fIfea_compat\fP \- check compatibility of field definitions in FEA headers .fi.npAdded to support ASCII conversions: .sp .5.nf.ta 1.5i \fIatoarray\fP \- convert ASCII file to data array of specified type.fi.sp .5This function generalizes \fIatoarrayf\fP, which is hard-wired toproduce float arrays. The new function supports any type (includingcomplex types)..npAdded to support general type conversions: .sp .5.nh.ta 1.5i \fItype_convert\fP \- convert array from one numeric type to another.fi.sp .5This is an elaborate function, It supports all data types (including complex types), and it includes a user-definable action on clipping. .npMiscellaneous additions: .sp .5.nf.ta 1.5i \fIzero_fill\fP \- fill a newly allocated or existing numeric array with zeros \fIdel_fea_fld\fP \- delete a field from an ESPS Feature File Header \fItypesiz\fP \- return the size of an element of a given ESPS data type \fIcover_type\fP \- returns data type that can contain any data from two input types.fi.sp .5Note that these work with all data types (including complex). .npAdded to support FFT processing:.sp .5.ta 1.5i.nf \fIget_fftd_inv\fP \- compute inverse FFT of doubles.sp .5.np\fIwindow\fP (3\-\s-1ESPS\s+1) has been extended to include a newwindow type, WT_ARB, which permits windowing with an arbitary array of coefficients. .npThe input, output, and state arrays were changed from FLOAT to DOUBLEin \fIblock_filter\fP (3\-\s-1ESPS\s+1) and \fIinterp_filt\fP(3\-\s-1ESPS\s+1). .npAdded to support mu-law and A-law coding: .sp .5.nf.ta 1.5i \fIlinear_to_mu\fP \- converts 14-bit integer data to 8-bit mu-law compressed data \fImu_to_linear\fP \- converts 8-bit mu-law compressed data to 14-bit data \fIlinear_to_a\fP \- converts 13-bit integer data to 8-bit A-law compressed data \fIa_to_linear\fP \- converts 8-bit A-law compressed data to 13-bit data.fi.npThe following functions were added to support maximum entropy (MAXENT)and minimum relative-entropy (MRE) calculations:.sp .5.nf.ta 1.5i \fImin_rel_ent\fP \- compute MAXENT or MRE probability distributions \fIrel_ent\fP \- compute relative entropy of two probability distributions.fi.npThe \fIget_burg\fP functions (computes reflection coefficients usingstandard Burg and modified Burg methods) was modified to use doublesfor internal variables..sh 1 "MISCELLANEOUS BUG FIXES" .lpNumerous minor changes and bug fixes are included in the new release.The more important ones are mentioned here. .npThe \fB-S\fP on \fIbtosps\fP now works. .npIn Version 4.0a, \fItestsd\fP was introducing slight regularities in noise sequences. This has been fixed. .npFEA_SPEC files of type ARB_FIXED are now supported properly by the FEA_SPEC support functions and by \fIpsps\fP. .np\fIme_spec\fP now reads the default parameter file \fIparams\fP if the\fB-P\fP is not used (no file was read in the previous version.)..npThe man page for \fIaddgen\fP (1\-\s-1ESPS\s+1) was changed to notethat \fIaddgen\fP doesn't change "File header date". (Also,\fIaddgen\fP was changed so that the user's name is included in thecomment that documents when \fIaddgen\fP was run.) .np\fIcomment\fP was changed so that the user's name is included in thethe date/time stamp for an added comment. .np\fIbtosps\fP no longer core dumps when the number of samples happens to be a multiple of 1024. .np\fIaddsd\fP (1\-\s-1ESPS\s+1) no longer core dumps when writingcomments in the header about input files that happen to have long pathnames..np\fIsfconvert\fP (1\-\s-1ESPS\s+1) now checks to make sure that temporary files can be written..npThe \fIfea_stats\fP (1\-\s-1ESPS\s+1) man page stated that the programcomputes the sample deviation, but it actually computes the unbiasedestimate of the population standard deviation. The man page has beencorrected..np\fIget_fft\fP, \fIget_fft_inv\fP, \fIget_fftd\fP, and \fIget_rfft\fPwere changed so that they no longer repeatedly allocate storage for newversions of internal tables without freeing the old versions.\fIget_rfft\fP was fixed so that it no longer gives the wrong answersfor the special case of length-1 transforms..np\fImergefea\fP how handles the \fIstart_time\fP generic in a moresensible way (the value is taken from the input file when the outputfile is first created; if the output file already exists,\fIstart_time\fP is not changed). .sh 1 "FILE COMPATIBILITY".lpESPS Version 4.0 will read any files written by programs compiledunder previous releases. Programs compiled from previous previousreleases, however, will not in general read files written by Version4.0 programs. In most cases, programs can be converted to 4.0 merelyby compiling them with the ESPS 4.0 libraries. (If a sampled dataprogram is to be converted to use FEA_SD, some changes will benecessary). .sh 1 "WHAT MIGHT BREAK".lpWe have tried to make changes so that existing scripts (and habits)will still work with the new release or will be easy to change. Forexample, although the \fB-d\fP option on copysd has been generalizedto use the full standard list of data types (e.g., float, float_cplx,etc.), the old codes (e.g., "f" for float) will still work. Somechanges, however, were deemed important enough to make even if theywill break some existing code. We have tried to keep track of thingsin this category and mention them here..npThe order of the file parameters in \fIatofilt\fP (1\-\s-1ESPS\s+1)and \fIzero_pole\fP (1\-\s-1ESPS\s+1) has been changed so that theorder is input file followed by output file (the general conventionfor ESPS). This will break scripts that use the old versions..npThe meaning of the \fB-r\fP option in \fIwplay\fP, \fIplay\fP,\fIsplay\fP, and \fIsdcomp\fP has been changed. It is now used as arange option (to be consistent with all other sampled data programs).The repeat function (old meaning of \fB-r\fP) is now handled by\fB-R\fP..npThe \fB-s\fP (bytest to skip) option for \fIbtosps\fP was changed to\fB-S\fP. Also, all calls to \fIbtosps\fP must now supply a comment(for record keeping); this can be done in the parameter file or byusing the \fB-c\fP or \fB-C\fP option. .npIn the interface to \fIupdate_waves_gen\fP (3\-\s-1ESPS\s+1), theparameters \fIstart\fP and \fIstep\fP were changed from INT to FLOAT.This will break programs that use \fIupdate_waves_gen\fP if they arerecompiled under ESPS 4.0 without changing the call. A simple changewill suffice: just cast the two arguments to FLOAT in the call; e.g.,.nf int start_rec, step; ... update_waves_gen(ihd, ohd, start_rec, step);should change to int start_rec, step; ... update_waves_gen(ihd, ohd, (float) start_rec, (float) step);.fi.lpThe input, output, and state arrays were changed from FLOAT to DOUBLEin \fIblock_filter\fP (3\-\s-1ESPS\s+1) and \fIinterp_filt\fP(3\-\s-1ESPS\s+1). This will break any programs that use them; changethe calling arguments to double and recompile. .sh 1 "COMPUTING ARBITRARY EXPRESSIONS FROM FIELDS IN TWO FEA FILES".lpThe program \fIselect\fP (1\-\s-1ESPS\s+1) offers powerful facilitiesfor computing expressions on fields within FEA records. We are oftenasked about computing expressions that involve fields from more thanone FEA file. In many cases, the desired capability can be achievedby combining \fImergefea\fP (1\-\s-1ESPS\s+1) with \fIselect\fP. Thebasic procedure is to use \fImergefea\fP to produce a single FEA filewith fields from a variety of source files and then to run\fIselect\fP on the combined file. Here's a small example: Supposefea1 is a FEA file containing (among other things) a vector fld1 and ascalar field fld2. And suppose fea2 contains a scalar field fld3.Then the following commands will compute the mean of fld1 and add it tothe log of the square root of fld2 divided by the product of fld3times the first element of fld1:.nf.ft CW %mergefea fea1 fea2 fea3 %select -e "mean(fld1) + log(sqrt(fld2/(fld3*fld1[0])))" fea3 > output.fi.ft LRThe results are stored (in ASCII) in the file output. .sh 1 "Known Problems".npOn Convex systems, with our X programs (and perhaps others?), it isnecessary to use the Internet address of the X server when setting the\fBDISPLAY\fR environment variable. For example, instead of:.nf.ft CW% setenv DISPLAY fred:0.0.fi.ft R.brIt is necessary to use the command:.nf.ft CW% setenv DISPLAY 134.45.232.8:0.0.fi.ft R.brWhere 134.45.232.8 is the Internet address of host fred..npOn Convex systems, depending on the X server, the \fIxmcd\fR programmight fail and result in a white plot on a white background.(\fIxmcd\fR is called by the plot programs to do the X Window drawing.)There is an alternate binary, \fI/usr/esps/bin/xmcd.old\fR, that shouldbe renamed to \fIxmcd\fR if the standard \fIxmcd\fR fails. .npOn Masscomp/Concurrent systems it may be necessary to set the \fIDISPLAY\fRenvironment variable to the full hostname of your system, rather thanthe generic unix:0.0. For example, if the network hostname of yoursystem is fred, then you may have to:.nf.ft CW% setenv DISPLAY fred:0.0.fi.ft R.npOn systems not running a network, in order the for the license serversoftware to operate you need to set the \fBELM_HOST\fR variable to\fIlocalhost\fR, instead of the network hostname. Also in this case,you may need to set the X Window \fBDISPLAY\fR variable to localhostalso (\fIe.g.\fR localhost:0.0).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -