to_ds9_meta

regions.to_ds9_meta(shape_meta)[source]

Makes the meta data DS9 compatible by filtering and mapping the valid keys

Parameters:
shape_meta: dict

meta attribute of a regions.Shape object

Returns:
meta : dict

DS9 compatible meta dictionary