Looktxt

Free and open source numerical block reader
Download

Looktxt Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Farhi Emmanuel
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 272 KB

Looktxt Tags


Looktxt Description

Free and open source numerical block reader Looktxt Search and export numerics from any text/ascii file. Data sets (scalar, vector, matrix) are given unique names, based on file content. Results can be generated for Matlab, IDL, Octave, XML, Scilab, HTML while a wrapper offers the possibility of direct usage from Matlab.Extracting data from a text file is a never ending story. Usually, one will write a short script or program/function to analyse each specific input data format. The looktxtcommand purpose is to read any text data file containing numerical blocks just as a human would read it.Specifically, it looks for contiguous numerical blocks, which are stored into matrices, and other parts of the input file are classified as headers which are optionally exported. Numerical blocks are labelled according to the preceeding header block last word.Blocks read from the data file can be sorted into sections. Each section SEC starts when it appears in a header and contains all following fields until a new section is found or the end of the file. Additionally, one may search for specific metadata keywords, at user's choice. Each data field matching the keyword metadata META in its headers will create a new entry in the MetaData section.The output data files may be generated using "Matlab", "Scilab", "IDL", "Octave", "XML", "HTML", and "Raw" formats (using the -f FORMAT option), using a structure-like hierarchy. This hierarchy contains all sections, metadata and optionally headers that have been found during the parsing of the input data file.After using looktxt foothe data is simply loaded into memory using e.g. 'matlab> ans=foo;'. The exact method to import data is indicated at the begining of the output data file, and depends on the format.The command can handle large files (tens of Mo) within a few secconds, with minimal memory requirements. What's New in This Release: · Upgrade MeX support. Build with 'make mex' on Linux/MacOSX


Looktxt Related Software