[AstroPy] asciitable: an extensible ASCII table reader

Tom Aldcroft aldcroft at head.cfa.harvard.edu
Thu May 27 13:20:10 EDT 2010


I'm pleased to announce the release of version 0.2.4 of the asciitable
module.  Please see the project home page for download and
documentation:

http://cxc.harvard.edu/contrib/asciitable/

===================================
Asciitable is an extensible ASCII table reader.
===================================
At the top level asciitable looks like many other ASCII table readers
since it provides a default read() function with a long list of
parameters to accommodate the many variations possible in commonly
encountered ASCII table formats. But unlike other monolithic table
reader implementations, asciitable is based on a modular and
extensible class structure. Formats that cannot be handled by the
existing hooks in the read() function can be accomodated by modifying
the underlying class methods as needed.

The asciitable can read a wide range of ASCII table formats via
built-in Extension Reader Classes (derived from base class elements):

    * Basic: basic table with customizable delimiters and header configurations
    * Cds: CDS format table (also Vizier and ApJ machine readable tables)
    * CommentedHeader: column names given in a line that begins with
the comment character
    * Daophot: table from the IRAF DAOphot package
    * Ipac: IPAC format table
    * NoHeader: basic table with no header where columns are auto-named
    * Rdb: tab-separated values with an extra line after the column
definition line
    * Tab: tab-separated values

Copyright:	Smithsonian Astrophysical Observatory (2010)
Author:	Tom Aldcroft (aldcroft at head.cfa.harvard.edu)



More information about the AstroPy mailing list