obspy.io.wav.core._is_wav

_is_wav(filename)[source]

Checks whether a file is a audio WAV file or not.

Parameters

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

Return type

bool

Returns

True if a WAV file.

Example

>>> _is_wav("/path/to/3cssan.near.8.1.RNON.wav")  
True