BIN2RUN

Section: User Commands (1)
Updated:
Index
Return to Main Contents
 

NAME

bin2run - convert old bin files to new averaged run files  

SYNOPSIS

bin2run binfile newrun  

DESCRIPTION

Bin2run allows you to convert old format bin files, created by analysis(1) and wtsum(1) before August 24, 1988, to the new format averaged run files now created by those programs, and also used by the current versions of raster(1) and peel(1).

The specified binfile must be a valid old format bin file. The specified newrun is the name of the run that will be created to store the converted data. The file name suffix .frm is appended to newrun, if not already present. Note that the program does not check to see if a run of that name already exists - it will be silently overwritten.

The conversion involves writing a new run header, based on the data in the bin file header, and writing out one frame for each bin read. The trace from the bin is stored as trace # 0 in the frame, and the bin's sweep count is recorded in the frame header.

If the binfile was one created by the old wtsum(1), a frame description file will be created for the newrun (with the .frd suffix). Each bin's origin information will be written as a frame description in this new file.

If the run description from the run used to produce the old binfile is accessible, it will be written out as the run description for the newrun (with the .txt suffix).  

DIAGNOSTICS

If any error occurs, bin2run prints a message, and quits. If a file was being written at the time, it will be removed. The exit status is 0 if no errors were detected, or 1 otherwise.  

SEE ALSO

analysis(1), wtsum(1), raster(1), peel(1)
 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:58:02 GMT, February 20, 2019
Copyright © G. R. Detillieux, Spinal Cord Research Centre, The University of Manitoba.