obspy.io.cybershake.core._internal_is_cybershake

_internal_is_cybershake(buf)[source]

Checks whether a file-like object contains a CyberShake file or not.

Parameters:

buf (file-like object or open file) – CyberShake file to be checked.

Return type:

bool

Returns:

True if a CyberShake file.