simplify_name

zdm.optical.simplify_name(TNSname)[source]

Reduce a TNS FRB name to a six-character YYMMDD[L] identifier.

Strips the leading FRB prefix (if present) and the year’s century digits, retaining only the six-digit date plus any trailing letter suffix, to allow case-insensitive matching between survey entries and external FRB catalogues.

Parameters:

TNSname (str) – FRB name in TNS format, e.g. 'FRB20180924B' or '20180924B'.

Returns:

simplified six-character identifier, e.g. '180924B'

(six digits plus optional letter).

Return type:

name (str)