obspy.io.segy.core._is_segy

_is_segy(filename)[source]

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

Parameters:filename (str) SEG Y file to be checked.
Return type:bool
Returns:True if a SEG Y file.