⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news19

📁 su 的源代码库
💻
字号:
CWP Software Update: 4/01/93  (19th edition)The new compressed tars are available at our anonymous ftp Internet address:	hilbert.mines.colorado.edu	or	138.67.12.63Remark: some users have noted that to see the filenames, they have touse the command 'mls' instead of the standard unix command 'ls'.New Program:sufdmod2 - Finite-Difference MODeling (2nd order) 2D acoustic wave equation	   (adapted for SU by John Stockwell from a code by Dave Hale)Bug Fixes:segyreadpscube - major rewrite by Craig Artley--Craig's notes follow:I wrote and installed a new version of pscube last week.  You shouldnotice considerable improvement in the images of the top and side ofthe cube.  I also cleaned up the data input scheme.  Three input formatsare now supported:	1. Entire data volume read from stdin.  Program picks off the	   appropriate data samples for the three faces.  [Default	   format, same as before]	2. Data for just the three faces read from stdin.  First n1*n2	   samples are front, followed by n1*n3 for side, and n2*n3 for	   top.  [Specify faces=1]	3. Data for three faces read from three separate data files.	   [Specify filenames with front=, side=, and top= parameters]If you use the first format, you will notice significant performanceimprovement with large data sets.  Before, the entire 3-D volume wasread into memory.  Now, data are read one trace at a time.  Only thesamples that appear on a face of the cube are saved in memory.The latter two formats are useful if you want to plot slices extractedfrom a volume using subset, for example.Furthermore, the x1beg/x1end, etc., parameters can now be specified, asin the other programs in the CWP psplot family.	-craig 03/15/93-----------Those interested in the guts of the code might like to read on.  Theold pscube painted the three faces of the cube as a single image.  Todo this, the side and top data were mapped to the corresponding facesthrough stretching operations.  Still, the resulting image was distortedbecause the image pixels were all rectangular.  The pixels on the topand side, however, should be parallograms---i.e., rectangles skewed bythe projection angle.  This gave the top and side a rough and jaggedappearance.I started from scratch and borrowed heavily from psimage.  The threefaces are now drawn as three separate images, and the projection isapplied through PostScript's transformation matrix operators.  Not onlyis the result significantly better, the code is also much simpler.  Onceyou figure out the appropriate transformations for the three faces, therest is straightforward.  PostScript does the work.The axes drawing routine is largely unchanged from the original byZhiming Li and Dave Hale.  I changed the name from psAxes3 to the moredescriptive psCubeAxesBox, and it is now kept in a file of its own inthe lib directory.  I also applied some minor bug fixes supplied by DaveHale.  The old psCubeSub.c has been removed, because the remainingfunctions therein are now obsolete.The face selection logic of input format 1 (entire cube) is quite basic.Rather than make it more sophisticated (and the code more complicated),I decided that users would be better served by extracting slices froma volume using subset.  Perhaps someone could write a nice shell scriptto make this even more convenient.Also, someone could add the ability to set plot clips for the threefaces independently.  Currently, the same clip parameters are used forall of the faces.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -