Skip to content

Commit

Permalink
fixing example for new update
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanakumars committed Aug 19, 2024
1 parent e10ffb1 commit cce0510
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions examples/projection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Decompanding: 100%|████████████████████████████████████████████████████████████████████| 26/26 [00:05<00:00, 4.41it/s]\n",
"Finding jitter: 100%|████████████████████████████████████████████████████████████████| 240/240 [01:50<00:00, 2.16it/s]\n"
"Decompanding: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████| 26/26 [00:06<00:00, 3.83it/s]\n",
"Finding jitter: 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 240/240 [02:17<00:00, 1.74it/s]\n"
]
},
{
Expand All @@ -111,7 +111,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -125,7 +125,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Projecting framelets: 100%|████████████████████████████████████████████████████████████| 78/78 [02:23<00:00, 1.84s/it]\n"
"Projecting framelets: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 78/78 [03:17<00:00, 2.54s/it]\n"
]
},
{
Expand All @@ -140,7 +140,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Building image: 100%|████████████████████████████████████████████████████| 1918645/1918645 [00:05<00:00, 355603.23it/s]\n"
"Building image: 100%|█████████████████████████████████████████████████████████████████████████████████| 1918645/1918645 [00:05<00:00, 340269.25it/s]\n"
]
}
],
Expand All @@ -162,7 +162,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -205,7 +205,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -215,7 +215,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -247,7 +247,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -272,7 +272,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -286,17 +286,17 @@
"name": "stderr",
"output_type": "stream",
"text": [
"Building image: 100%|██████████████████████████████████████████████████| 11018800/11018800 [01:35<00:00, 115777.35it/s]\n"
"Building image: 100%|████████████████████████████████████████████████████████████████████████████████| 11018800/11018800 [01:55<00:00, 95687.41it/s]\n"
]
}
],
"source": [
"IMG = projector.create_image_from_grid(coords_new, imgvals_new, pix, inds, X.shape, n_neighbor=10, min_dist=15)"
"IMG = projector.create_image_from_grid(coords_new, imgvals_new, inds, pix, X.shape, n_neighbor=10, max_dist=15)"
]
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down

0 comments on commit cce0510

Please sign in to comment.