get_layout

function of dascore.io.rsf.utils source

get_layout(
    path ,
)-> ‘tuple[Path, int, np.dtype, tuple[int, …]]’

Return the file holding the samples, their offset, dtype and shape.

A relative in= resolves against the header’s directory, then the working directory, where Madagascar recorded it.