<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>despite I have been using astropy.io for a few years now, this is
      my first message to the list (which speaks highly of the quality
      of the module and of the documentation - great job, really!).
      Recently, however, I found myself stuck doing an apparently simple
      task. I have a FITS file containing a bunch of binary HDU tables,
      which I open with the:<br>
    </p>
    <p>hdu_list = open_event_file('<i>file_path</i>')</p>
    <p>command. I need to add a new column to one of the HDU tables,
      then write the entire hdu_list to a different file location. <br>
    </p>
    <p>What is the simplest way to do this? The methods for adding
      columns that I found in the online FAQs work for Table objects,
      but what I can get from my hdu_list is a BinTableHDU object, which
      doesn't support dictionary-like assignment or the add_column()
      method. I know I can get a Table object from the hdu_list like
      this:</p>
    <p>table = Table(hdu_list[1].data)</p>
    <p>but this is a copy, so the changes to the table does not apply to
      the original hdu_list.<br>
    </p>
    <p> Any help is appreciated. <br>
    </p>
    <p>Kind Regards<br>
    </p>
    <p>Alberto<br>
    </p>
  </body>
</html>