Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions astrodata/fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,22 +289,13 @@ def header_for_table(table):
return fits_header


@deprecated(
"The functionality of this function is now covered by the "
"astropy.io.fits.Header class."
)
def add_header_to_table(table):
"""Add a FITS header to a table's metadata. Deprecated.

This does not modify the table itself, but adds the header to the table's
metadata. If a header is already present in the table's metadata, it will
ensure it's up to date with the table's columns.

Warning
-------
This function is deprecated and will be removed in a future version. Its
functionality is covered by Tables.

Arguments
---------
table : `astropy.table.Table`
Expand Down
Loading