@ilwdchar_compat<EOL>def _get_property_columns(tabletype, columns):
from ligo.lw.lsctables import gpsproperty as GpsProperty<EOL>rowvars = vars(tabletype.RowType)<EOL>extracols = {}<EOL>for key in columns:<EOL><INDENT>prop = rowvars[key]<EOL>if isinstance(prop, GpsProperty):<EOL><INDENT>extracols[key] = (prop.s_name, prop.ns_name)<EOL><DEDENT><DEDENT>return extracols<EOL>
Returns list of GPS columns required to read gpsproperties for a table

    Examples
    --------
    >>> _get_property_columns(lsctables.SnglBurstTable, ['peak'])
    ['peak_time', 'peak_time_ns']