HOME GUIDE OPERATIONS DOCS ERRORS FORMATS INSTALL NEW TIPS WEB SITES

MO 3D - 3-D MOdel creation using a document file

(for coordinate input (spheres only) 1/19/94)

PURPOSE

Creates a 3-D model density distribution.

SEE ALSO

MO [model creation]
MO 3 [3D model creation]

USAGE

.OPERATION: MO 3D

.OUTPUT FILE: MOD001
[Enter the name of the file where the 3-D density distribution is to be kept.]

.ENTER DIMS NSAM,NROW: 32,32
[Enter number of samples and rows.]

.ENTER SLICE NUMBER: 16

[Following menu appears.]

 
          .MENU: 
                 (B)LANK    -- CONSTANT DENSITY   
                 (C)YLINDER -- SET OF CYLINDERS 
                 (H)ELIX    -- HELIX OF SPHERES 
                 (HA)       -- AS (H), ADD DENSITIES 
                 (NUM)BERS  -- LINE NUMBERS 
                 (Q)UICK    -- RANDOM UNIFORM STATISTICS 
                 (R)ANDOM   -- RANDOM UNIFORM STATISTICS 
                 (S)INE     -- SET OF SINE WAVES 
                 (SP)HERE   -- SET OF SPHERES 
                 (SPA)      -- AS (SP), ADD DENSITIES 
                 (SPV)      -- AS (SP), VARIABLE DENSITIES 
                 (T)EST     -- 3D SINE WAVE 
                 (W)EDGE    -- DENSITY WEDGE 

.B/C/H/HA/NUM/Q/R/S/SP/SPA/SPV/T/W:
[Enter the desired menu option.]

[These options are same as the options in MO 3 except for the capabilities of the SP/SPA/SPV options. Thus, for the other options see MO 3]

Option "SP" - SPhere. Spheres of given outer and inner radius with a given density are created, with centers located at specified points. The default inner radius is zero and the default density value is 2.0. The default coordinates of the center are (NSAM/2+1, NROW/2+1, NSLICE/2+1). After modelling a sphere of a given radius the program asks for the radii and location of the next sphere. If the outer radius + the any of the center coordinates exceeds the boundary of the 3-D file, the program warns that part of the sphere will be truncated. To exit enter 0,0 or space as radius. This information is entered via a document file.

If 'SP/SPA' Spider then asks:

.ENTER MASS VALUE PER VOXEL (DEFAULT = 2.0):
[Enter the density value to be stored.]

Option "SPV" - SPheres Variable Added to old file. Same as SP except that mass values are read from the document file instead of being set the same for all spheres. The mass values are in the column following the radii (if the radii are in the document file). The only difference for SPVA is that it adds the spheres to an existing 3-D file.

If 'SP/SPA/SPV' Spider then asks:

.DOCMNT FILE: DOC001
[Enter name of document file with center coordinates of spheres, in order: X,Y,Z ( ,Radius2,Radius1 - optional) (,Mass value - optional) starting in any column]

.NUMBER OF SPHERES, STARTING COL. FOR X,Y,Z: 50,1
[Enter number of spheres and column of x-coordinate in document file]

.X,Y,Z -OFFSET: 20.,-10.,51.
[Enter offset for X,Y,Z]

.OUTER AND INNER RADIUS OF SPHERE (FL.PT.): 4.5,1.7
[Enter radius of sphere as a floating point number. If a negative value is entered for one or both of the radii, they are taken from the document file. If the inner radius is taken from the document file, the outer radius also m u s t be in this file, the outer radius can be taken from the document file while the inner one can be fixed for all spheres and enetered explicitely.]

NOTES

  1. Manual chapter updated to describe usage with a series of spheres. I am not sure if it uses a document file also in connection with other options. M.R.

SUBROUTINES

MODEL3, MODELH

CALLER

UTIL1

© Copyright Notice /       Enquiries: spider@wadsworth.org