Barak 0.3.2 documentation

barak.io.writetabfits

«  barak.io.write_DS9reg   ::   Contents   ::   barak.io.writetable  »

barak.io.writetabfits

barak.io.writetabfits(filename, rec, units=None, overwrite=True)[source]

This is deprecated. Use writetable() with file type ‘.fits’ instead.

Writes a list of numpy arrays or a structured array to a binary fits table. Works best with structured arrays.

Parameters :

filename : str

Filename to write to.

rec : Sequence of arrays or record array

Data to write.

units : list of str (default None)

Sequence of strings giving the units for each column.

«  barak.io.write_DS9reg   ::   Contents   ::   barak.io.writetable  »