sample

petrophys.datasets.sample

Also available as petrophys.sample

sample(name)[source]

Return the filesystem path to a bundled sample.

name may include its .las, .dlis, .csv or .xlsx extension, and a well name may be written with / ("30/6-5"). Pass spreadsheet paths to an appropriate table reader such as pandas.read_excel. Repository-only fixtures are deliberately excluded; use integration_fixture() for those.

Raises:

FileNotFoundError – If no bundled sample has that name; the message suggests close names.

Parameters:

name (str)

Return type:

Path