matchFRB
- zdm.optical.matchFRB(TNSname, survey)[source]
Find the index of an FRB in a survey by TNS name.
Uses
simplify_nameto normalise both the query name and the survey entries, so minor formatting differences (century digits, trailing letters) do not prevent a match.- Parameters:
- Returns:
- index into
survey.frbsof the first matching FRB, or
Noneif the FRB is not found in the survey.
- index into
- Return type:
int or None