A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

[fitsbits] How to a column to a binary table?



 
 
Thread Tools Display Modes
  #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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting a column from a binary table Sebastian FITS 0 May 14th 07 01:38 PM
Delete fits table column from python (pyraf, stsdas, pyfits, ...)? Sebastian Research 0 April 15th 07 08:07 PM
[fitsbits] Start of "column limits" public comment period Robert Hanisch FITS 0 July 14th 06 06:56 PM
[fitsbits] Start of "column limits" public comment period William Pence FITS 0 July 14th 06 06:43 PM
[fitsbits] FITS Binary Table Proposals William Pence FITS 5 November 23rd 04 09:54 PM


All times are GMT +1. The time now is 03:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.