obspy.io.segy.core._is_segy

_is_segy(file)[source]

Checks whether or not the given file is a SEG Y file.

Parameters:

file (str or file-like object) – SEG Y file to be checked.

Return type:

bool

Returns:

True if a SEG Y file.