TRiP98 HLUT command



hlut | file / import()   list      num()             debug
              export()   delete    eqvpathlength()
              read       display
              write      inspect

Purpose

Handles input, output and interpolation of a Hounsfield Look-Up table (HLUT). Only one single table is supported.

Parameters

file
Name of a file which contains a HLUT. May contain environment variables. Usually Hounsfield Look-Up tables have the extension .hlut
import()
Not yet implemented.
export(fmt)
Exports current HLUT in some other format, at present only gd is implemented to export for the gd plot program.
read
Read a HLUT specified by file.
write
Write the current HLUT to file
list
Lists loaded HLUT.
delete
Deletes the loaded HLUT.
display
Displays the current HLUT. Not yet implemented.
inspect
Show some internal info about the current HLUT.
num(hf)
Interpolate water-equivalent path length for the Hounsfield number hf.
eqvpathlength(len)
Interpolate the Hounsfield number for the water-equivalent path length len.
debug
Debug switch. Lots of output!

Remark

none

Examples

  1.    hlut $TRIP98/DATA/*.hlut /read
    
    Reads all files in the directory "$TRIP98/DATA" with the extension ".hlut" and interpretes them as HLUTs. The last one read will replace all previous ones and become the currently loaded table.
  2.    hlut / num(-41)
       hlut / eqv(1)
    
    First interpolate the equivalent path length for the CT number -41, then the CT number for equivalent path length 1.

Last updated:
$Id: trip98cmdhlut.html,v 1.11 2018/08/10 20:48:50 kraemer Exp $
M.Kraemer@gsi.de