furanku

NMRPipe System Programs

byteAdjust

Adjustment of Binary Word Size



Command-Line Argument List

Program byteAdjust, argument checking enabled.
ByteAdjust: adjust length of words in stream:
 byteAdjust < inStream > outStream
Options:
 -in  inName  [stdin]  Input name of data to adjust.
 -out outName [stdout] Output name for result.
 -bs  bSize   [4096]   Buffer Size, Words.
 -iws wSize   [2]      Input Word Size, Bytes.
 -ows wSize   [4]      Output Word Size, Bytes.
 -bo  bOffset [0]      Byte Offset for Adjustment.
 -bp  bPad    [0]      Byte Pad Between Buffers.
 -wc  wCount  [0]      Total Words to Adjust;
                        Use 0 for Auto-Mode.
 -is  iScale  [1]      Integer Scale Factor;
                        Assumes 4-byte Integer Output.
 -last                 Pack Using Last Bytes of Word.
 -nofs                 Suppress File Size Check.
 -verb                 Verbose Mode On.
Special Float Conversions:
 -u2f                  Unsigned Char to Float.
 -c2f                  Char to Float.
 -s2f                  Short to Float.
 -t2f                  Unsigned Short to Float.
 -i2f                  Int to Float.
 -d2f                  Double to Float.
Byte-Swap Options:
 -swap             Do Four-Byte Swap.
 -noswap           Suppress Four-Byte Swap.
 -aswap            Do Four-Byte Swap.
                   (Meaning is System-dependant)
 -noaswap          Suppress Four-Byte Swap.
                   (Meaning is System-dependant)
Notes:
 1. In-place processing (same input and output) is
    allowed if options -in and -out are both used.
 2. Auto Byte-Count determination requires use of
    option -in inName.
 3. Use a scale factor of -is 65536 to convert 2-byte
    integers to 4-byte integers.
ByteAdjust Error extracting command-line arguments.