View Single Post
  #1  
Old June 22nd 10, 12:37 AM posted to sci.astro.fits
Tom Kuiper[_2_]
external usenet poster
 
Posts: 7
Default [fitsbits] How to a column to a binary table?

I have a binary table extension. Is there a way to add a column so that
the table header is properly updated? Adding the new column to ColDefs
and calling
new_table(updated_columns,header=old_header)
again, using the old header and columns with the new one added causes a
second TFIELDS entry. I've tried the
tbhdu.update()
on the bintable HDU after adding the new column to ColDefs but that
doesn't seem to do it.

Many thanks

Tom