Skip to content

Mention Table interface in "Creating a New Table File" in FITS docs #3552

Closed

Description

@astrofrog

When people want to create a simple binary FITS table with no other HDUs, most users should probably just use the Table interface in Astropy instead and then write to FITS. Therefore I think in the io.fits docs (e.g. here: http://docs.astropy.org/en/stable/io/fits/index.html#creating-a-new-table-file) we should add a note to mention the Table interface, or maybe even provide an example.

(This is not high priority, so could be done as a starter GSoC project)

Activity

  1. embray commented on Feb 27, 2015

    @embray
    Member

    👍 (This is practically a FAQ).

  2. astrofrog commented on Mar 1, 2015

    @astrofrog
    MemberAuthor

    @vortex-ape - what you have is a good start, but please open a pull request so that we can comment on it in detail (pull requests can be updated once opened)

  3. embray commented on Mar 2, 2015

    @embray
    Member

    I don't think this should have been labeled package-novice now that I look.

  4. embray commented on Mar 3, 2015

    @embray
    Member

    Per #3561, it would also be nice to clarify in the docs that even when using the "lower-level" interface it is not strictly necessary to go through the effort of creating Column objects manually--that data already in a Numpy array can be used to directly create a FITS table as long as it's in a structured array. Direct use of the old interface is more of a FITS-ism, and only required in certain cases.

  5. vinayak-mehta commented on Mar 3, 2015

    @vinayak-mehta
    Contributor

    @embray - What more benefits can I add?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions