write_table_yanny¶
-
pydl.pydlutils.yanny.write_table_yanny(table, filename, tablename=None, overwrite=False)[source]¶ Write a
Tableto a yanny file.If
tablehas any metadata, it will be written to the file as well.This function is for use with
register_writer().Parameters: table :
astropy.table.TableThe object to be written.
filename :
strName of the file to write to.
tablename :
str, optionalName to give
tablewithin the file.overwrite :
bool, optionalIf
True, any existing file will be silently overwritten.