Pooch

The datasets that are used in the documentation examples below are not included the inktime package but need to be downloaded individually as required from the github repository. This module provides functions that download the required data files into a cache directory once. In case you are interested, this module follows a similar strategy as the excellent python package skimage with under the hood the python package pooch.

Example

from inktime import data
import matplotlib.pyplot as plt 

im = data.fetch_star()
plt.imshow(im);

Functions

fetch_star[source]

fetch_star()

Download demo data file *star.png* into cache once.

Utility function. Blah.
Blah.


Returns:
--------
    im: numpy array

fetch_blackwhite[source]

fetch_blackwhite()

Download demo data file *blackwhite.png* into cache once.

Utility function.


Returns:
--------
    im: numpy array