obspy.io.ascii.core._is_tspair

_is_tspair(filename)[source]

Checks whether a file is ASCII TSPAIR format.

Parameters

filename (str) – Name of the ASCII TSPAIR file to be checked.

Return type

bool

Returns

True if ASCII TSPAIR file.

Example

>>> _is_tspair('/path/to/tspair.ascii')  
True