From 36bbe555283c370298db7c6c32411bfa3bd0f410 Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Wed, 9 Aug 2023 17:35:20 +0200 Subject: [PATCH] clean up --- notebooks/zarr.ipynb | 70 ++++++++++++++------------------------------ 1 file changed, 22 insertions(+), 48 deletions(-) diff --git a/notebooks/zarr.ipynb b/notebooks/zarr.ipynb index 442b41be37..4bfe2fc94d 100644 --- a/notebooks/zarr.ipynb +++ b/notebooks/zarr.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 25, + "execution_count": 1, "id": "7a060f7d-9a0c-4763-98df-7dc82409c6ba", "metadata": {}, "outputs": [], @@ -34,33 +34,7 @@ }, { "cell_type": "code", - "execution_count": 26, - "id": "2b10a868-849b-4bd1-9a12-ba0ce81e57f5", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "[ANS(device_ordinal=0),\n", - " Bitcomp(device_ordinal=0),\n", - " Cascaded(device_ordinal=0),\n", - " Gdeflate(device_ordinal=0),\n", - " LZ4(device_ordinal=0),\n", - " Snappy(device_ordinal=0)]" - ] - }, - "execution_count": 26, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "kvikio.zarr.nvcomp_compressors" - ] - }, - { - "cell_type": "code", - "execution_count": 27, + "execution_count": 2, "id": "c179c24a-766e-4e09-83c5-349868042576", "metadata": {}, "outputs": [ @@ -69,10 +43,10 @@ "text/plain": [ "(,\n", " NvCompBatchCodec(algorithm='lz4', options={}),\n", - " )" + " )" ] }, - "execution_count": 27, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -92,7 +66,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -101,7 +75,7 @@ "cupy.ndarray" ] }, - "execution_count": 28, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -121,7 +95,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 4, "id": "8221742d-f15c-450a-9701-dc8c05326126", "metadata": {}, "outputs": [ @@ -131,7 +105,7 @@ "array([1, 2, 3, 4, 5, 6, 7, 8])" ] }, - "execution_count": 29, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -142,7 +116,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 5, "id": "f0c451c1-a240-4b26-a5ef-6e70a5bbeb55", "metadata": {}, "outputs": [ @@ -152,7 +126,7 @@ "array([42, 43, 44, 45, 46, 47, 48, 49, 50, 51])" ] }, - "execution_count": 30, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -179,7 +153,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 6, "id": "399f23f7-4475-496a-a537-a7163a35c888", "metadata": {}, "outputs": [ @@ -191,7 +165,7 @@ " array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))" ] }, - "execution_count": 31, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } @@ -211,7 +185,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 7, "id": "4b1f46b2", "metadata": {}, "outputs": [ @@ -223,7 +197,7 @@ " array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))" ] }, - "execution_count": 32, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -245,7 +219,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 8, "id": "d980361a-e132-4f29-ab13-cbceec5bbbb5", "metadata": {}, "outputs": [ @@ -255,7 +229,7 @@ "(numpy.ndarray, numcodecs.lz4.LZ4, array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))" ] }, - "execution_count": 33, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -284,7 +258,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 9, "id": "c9b2d56a", "metadata": {}, "outputs": [ @@ -293,10 +267,10 @@ "text/plain": [ "(,\n", " LZ4(acceleration=1),\n", - " )" + " )" ] }, - "execution_count": 34, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -325,7 +299,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 10, "id": "ac3f30b1", "metadata": {}, "outputs": [ @@ -337,7 +311,7 @@ " array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]))" ] }, - "execution_count": 35, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -356,7 +330,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 11, "id": "80682922-b7b0-4b08-b595-228c2b446a78", "metadata": {}, "outputs": [],