diff --git a/examples/example_01.ipynb b/examples/example_01.ipynb index 7fa4900..bb6cef7 100644 --- a/examples/example_01.ipynb +++ b/examples/example_01.ipynb @@ -170,6 +170,47 @@ "image, pixel_to_nm_scaling = load_ibw(file_path=FILE, channel=\"HeightTracee\")" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Plot the image\n", + "import matplotlib.pyplot as plt\n", + "\n", + "plt.imshow(image, cmap=\"afmhot\")\n", + "plt.show()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# IBW Files" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Import the load_ibw function from topofileformats\n", + "from topofileformats.ibw import load_ibw" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Load the IBW file as an image and pixel to nm scaling factor\n", + "FILE = \"../tests/resources/sample_0.ibw\"\n", + "image, pixel_to_nm_scaling = load_ibw(file_path=FILE, channel=\"HeightTracee\")" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/pyproject.toml b/pyproject.toml index 7ebb0a7..d696f16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,6 @@ dependencies = [ "igor2", "tifffile", "pySPM", - "pySPM", "loguru", ]