obspy.core.ascii.isTSPAIR

isTSPAIR(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

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

This Page