HOME GUIDE OPERATIONS DOCS ERRORS FORMATS INSTALL NEW TIPS WEB SITES

TR - Tape Read--Perkin Elmer format

(TR S Tape Read--STEM format TR S)
(TR A Tape Read--Amherst format TR A)
(12/18/89)

PURPOSE

Copies a file from tape to disk. OBSOLETE!! VAX?VMS ONLY

USAGE

.OPERATION: TR

.TAPE DEVICE NAME: MUA0
[Enter the name of the drive the tape is mounted on. This question is entirely installation-dependent; for the Albany 6210, the drive is 'MUA0:'.]

.TAPE FILE NUMBER: 1
[Enter the number of the file on tape which is to be copied onto disk.]

If the command is "TR S" then SPIDER will ask:
.ENTER CHANNEL NO. (1 OR 2): 2

.SPECIFY OPTIONS: (S)TAND (T)RANS (D)UMP (W)INDOW,
(C)OND (M)ARK: S [Enter 'S' to read the entire file, or 'W' to window out a portion thereof. In addition, enter 'D' if you want a dump of the image data in the results file (see Note 1). For an explanation of the 'C' (condense) and 'M' (mark) options, see Note 2.]

Further questions depend upon the option requested:

1. 'S'--Standard. SPIDER will ask:

.DISK FILE: PIC001
[Enter the file on disk where the file on tape is to be copied.]

[In the Optronics mode, the system now prints out the dimensions and title of the file as found in the file label. If NSAM or NROW are found to be zero, the system will ask]:

.ENTER DIMS (NSAM,NROW): 512,124
[Enter the dimensions.]

.TAPE FILE NUMBER: 0
[If no more pictures are to be copied, enter a '0'; otherwise, proceed with the next file number.]

[The first file on tape is then copied into PIC001.]

2. 'W'--Window. SPIDER will now ask:

.DISK FILE: PIC001
[Enter the file on the disk where the window is to be kept.]

[In the Optronics mode, the system now prints out the dimensions and title of the file as found in the file label. If NSAM or NROW are found to be zero, SPIDER will ask]:

.ENTER TAPE DIMS (NSAM,NROW): 512,124
[Enter the dimensions of the tape file.]

.DISK FILE DIMENSIONS: 42,32
[Enter the size of the window.]

.UPPER LEFT COOS: 64,64
[Enter the upper left coordinates of the window.]

.TAPE FILE NUMBER: 0
[If no more files are to be copied, enter a '0'.]

[A window of size 42x32 of the first file on tape is kept in PIC001. The upper left coordinates of the window are at position 64,64 of the original picture.]

3. 'T'--Trans. SPIDER will now ask:

.ENTER GAIN FACTOR: 1.5
[Enter the the gain.]

.DISK FILE: PIC001
[Enter the file on disk where the file on tape is to be copied.]

[In the Optronics mode, the system now prints out the dimensions and title of the file as found in the file label. If NSAM or NROW are found to be zero, SPIDER will ask]:

.ENTER DIMS (NSAM,NROW): 512,124
[Enter the dimensions.]

.TAPE FILE NUMBER: 0
[If no more pictures are to be copied, enter a '0'; otherwise, proceed with the next file number.]

[The first file on tape is then copied into PIC001.]

NOTES

  1. The 'D' option may be specified together with either the 'S' or 'W' option, e.g., 'SD', 'WD'. Therefore, legal operations are : 'SD', 'WD', 'S', 'W'. Note that 'D' and 'SW' are illegal, since in the former case no mode of processing was specified (either "Standard" or "Window"), and in the latter case, the options are contradictory.

  2. The 'C' option may be used to create an n-fold reduced survey file, with optional crosshair markings every 100 pixels (in terms of the original image scale). The reduction factor N is solicited. If the 'M' option is used, it must be entered in the third position in the string of options selected, e.g., .SPECIFY OPTIONS: CWM SPIDER will then ask: .DISK FILE: .TAPE DIMENSIONS: .INTERPOLATION FACTOR: [Enter reduction factor.] .DISK FILE DIMS: [Enter the dimensions of the window of the original tape file that you wish to survey. SPIDER will then calculate and echo the condensed file dimensions.] .UPPER LEFT COOS: .DENSITY FACTOR(0<F<1): [Enter the density factor for crosshair: 0=dark, 1=light.]

  3. If the tape contains valuable data, make sure the write ring is removed.

  4. In the batch mode, SPIDER will not return to the tape file number, but will solicit the next operation.

  5. The tape position is internally kept in register X100 ( = PARAM(99) ). In repeated accesses to either 'TR' or 'TW', the tape will not be rewound, but starts from the current position.

  6. Mount tape as "Foreign": $ MOU/FOR MUA0 For the VAX 6210

SUBROUTINES

MARK, TAPE1, TPEOF, TPERR, TPFILE, TPINIT, TPMIDF, TPREC, TPSKP, TPWRT

CALLER

TAPE1

© Copyright Notice /       Enquiries: spider@wadsworth.org