TABLE OF CONTENTS


::pwtk::lobster::datafy

SYNOPSIS

proc ::pwtk::lobster::datafy {file} {

PURPOSE

Tranform the *CAR*.lobster file into *CAR*.dat datafile(s) suitable for Gnuplot plotting, i.e.:

ARGUMENT

RETURN VALUE

The info about the LOBSTER *CAR*.lobster file returned as dictionary, see ::pwtk::lobster::getinfo.

SOURCE

    if { [regexp {^DOS} [file tail $file]] } {
        return [::pwtk::lobster::DOSCAR_dat_ $file]
    } else {
        return [::pwtk::lobster::COXXCAR_dat_ $file]
    }
}