New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature tracker #37

Open
kbarbary opened this Issue May 21, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@kbarbary
Member

kbarbary commented May 21, 2015

This is an issue to track some obvious features that should be added. My guess is that they will be added gradually over time as needed, but in a backwards-compatible manner.

General

  • Iterator protocol for FITS type: enabling for hdu in FITS(...)
  • Improve appearance of show() for FITS and HDU types. [#38]

Headers

  • Read a single keyword value without the comment, like read_key(hdu, key)[1].

Images

  • Write to a subset of the image: write(hdu, data; start=(100, 200))
  • Read to already-allocated array: read!(hdu, data), read!(hdu, 1:20, 1:30, data)
  • Read/write tile-compressed images.

Tables

  • Read and write variable length table columns [#36]
  • Method to get column names in table (DataFrames extends Base.names but that has a different definition; maybe use colnames) [#93]
  • Method to get number of rows in table (extend Base.length)
  • Relax write method to write(::FITS, ::Dict{Any, Vector}) (raise runtime error if any dictionary key is not ASCII)
  • Read ranges of table rows: read(hdu, "COLNAME", 1:10)
  • Read arbitrary table rows: read(hdu, "COLNAME", [1, 3, 6, 10])
  • Read to already-allocated arrays: read!(hdu, "COLNAME", data)
  • Append rows to a table
  • Insert columns into a table
  • Read/write bit columns (into BitArrays?)
  • Iterate over table rows?
  • Read multiple columns simultaneously (requires low-level tinkering, byteswapping)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment