obspy.io.sh.core._is_q

_is_q(filename)[source]

Checks whether a file is a Seismic Handler Q file or not.

Parameters

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

Return type

bool

Returns

True if a Seismic Handler Q file.

Example

>>> _is_q("/path/to/QFILE-TEST.QHD")  
True