read

method of dascore.io.segy.core.SegyV2 source

read(
    self ,
    path ,
    time = None,
    channel = None,
    **kwargs ,
)

Read should take a path and return a patch or sequence of patches.

It can also define its own optional parameters, and should always accept kwargs. If the format supports partial reads, these should be implemented as well.