Skip to content

Commit 45e5434

Browse files
ismael-mendozaThomas Sainrat
andauthored
Spell check notebooks (#527)
* spell check this one * Spell check notebooks --------- Co-authored-by: Thomas Sainrat <thuiop49@gmail.com>
1 parent dfe2a15 commit 45e5434

File tree

4 files changed

+98
-143
lines changed

4 files changed

+98
-143
lines changed

notebooks/00-quickstart.ipynb

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
]
99
},
1010
{
11-
"attachments": {},
1211
"cell_type": "markdown",
1312
"metadata": {},
1413
"source": [
1514
"# Intro"
1615
]
1716
},
1817
{
19-
"attachments": {},
2018
"cell_type": "markdown",
2119
"metadata": {},
2220
"source": [
@@ -26,7 +24,6 @@
2624
]
2725
},
2826
{
29-
"attachments": {},
3027
"cell_type": "markdown",
3128
"metadata": {},
3229
"source": [
@@ -60,15 +57,13 @@
6057
]
6158
},
6259
{
63-
"attachments": {},
6460
"cell_type": "markdown",
6561
"metadata": {},
6662
"source": [
6763
"# Drawing Blends"
6864
]
6965
},
7066
{
71-
"attachments": {},
7267
"cell_type": "markdown",
7368
"metadata": {},
7469
"source": [
@@ -88,7 +83,7 @@
8883
"data": {
8984
"text/html": [
9085
"<div><i>Table length=5</i>\n",
91-
"<table id=\"table6034776160\" class=\"table-striped table-bordered table-condensed\">\n",
86+
"<table id=\"table6011282992\" class=\"table-striped table-bordered table-condensed\">\n",
9287
"<thead><tr><th>galtileid</th><th>ra</th><th>dec</th><th>redshift</th><th>fluxnorm_bulge</th><th>fluxnorm_disk</th><th>fluxnorm_agn</th><th>a_b</th><th>a_d</th><th>b_b</th><th>b_d</th><th>pa_bulge</th><th>pa_disk</th><th>u_ab</th><th>g_ab</th><th>r_ab</th><th>i_ab</th><th>z_ab</th><th>y_ab</th></tr></thead>\n",
9388
"<thead><tr><th>int64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th></tr></thead>\n",
9489
"<tr><td>2200871446</td><td>0.418319702147</td><td>-0.000148399994941</td><td>0.496377289295</td><td>0.0</td><td>1.4144730572e-17</td><td>0.0</td><td>0.0</td><td>0.278649687767</td><td>0.0</td><td>0.221303001046</td><td>0.0</td><td>307.344329834</td><td>25.9418621063</td><td>25.129743576</td><td>23.9588813782</td><td>23.3607368469</td><td>23.0723800659</td><td>22.9095973969</td></tr>\n",
@@ -122,7 +117,6 @@
122117
]
123118
},
124119
{
125-
"attachments": {},
126120
"cell_type": "markdown",
127121
"metadata": {},
128122
"source": [
@@ -153,7 +147,6 @@
153147
]
154148
},
155149
{
156-
"attachments": {},
157150
"cell_type": "markdown",
158151
"metadata": {},
159152
"source": [
@@ -169,7 +162,7 @@
169162
"data": {
170163
"text/html": [
171164
"<div><i>Table length=3</i>\n",
172-
"<table id=\"table4732244512\" class=\"table-striped table-bordered table-condensed\">\n",
165+
"<table id=\"table5971501824\" class=\"table-striped table-bordered table-condensed\">\n",
173166
"<thead><tr><th>galtileid</th><th>ra</th><th>dec</th><th>redshift</th><th>fluxnorm_bulge</th><th>fluxnorm_disk</th><th>fluxnorm_agn</th><th>a_b</th><th>a_d</th><th>b_b</th><th>b_d</th><th>pa_bulge</th><th>pa_disk</th><th>u_ab</th><th>g_ab</th><th>r_ab</th><th>i_ab</th><th>z_ab</th><th>y_ab</th></tr></thead>\n",
174167
"<thead><tr><th>int64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th></tr></thead>\n",
175168
"<tr><td>402702752470</td><td>-0.9180529521276106</td><td>0.8255111545554434</td><td>1.63697004318</td><td>0.0</td><td>9.98907691776e-18</td><td>0.0</td><td>0.0</td><td>0.275980591774</td><td>0.0</td><td>0.119993202388</td><td>0.0</td><td>349.267944336</td><td>25.1750850677</td><td>25.1185207367</td><td>25.1801185608</td><td>24.8593482971</td><td>24.6722679138</td><td>24.3998889923</td></tr>\n",
@@ -198,7 +191,6 @@
198191
]
199192
},
200193
{
201-
"attachments": {},
202194
"cell_type": "markdown",
203195
"metadata": {},
204196
"source": [
@@ -221,7 +213,6 @@
221213
]
222214
},
223215
{
224-
"attachments": {},
225216
"cell_type": "markdown",
226217
"metadata": {},
227218
"source": [
@@ -255,7 +246,6 @@
255246
]
256247
},
257248
{
258-
"attachments": {},
259249
"cell_type": "markdown",
260250
"metadata": {},
261251
"source": [
@@ -287,7 +277,6 @@
287277
]
288278
},
289279
{
290-
"attachments": {},
291280
"cell_type": "markdown",
292281
"metadata": {},
293282
"source": [
@@ -318,7 +307,6 @@
318307
]
319308
},
320309
{
321-
"attachments": {},
322310
"cell_type": "markdown",
323311
"metadata": {},
324312
"source": [
@@ -334,7 +322,7 @@
334322
"data": {
335323
"text/html": [
336324
"<div><i>Table length=3</i>\n",
337-
"<table id=\"table6105437808\" class=\"table-striped table-bordered table-condensed\">\n",
325+
"<table id=\"table4589594640\" class=\"table-striped table-bordered table-condensed\">\n",
338326
"<thead><tr><th>galtileid</th><th>ra</th><th>dec</th><th>redshift</th><th>fluxnorm_bulge</th><th>fluxnorm_disk</th><th>fluxnorm_agn</th><th>a_b</th><th>a_d</th><th>b_b</th><th>b_d</th><th>pa_bulge</th><th>pa_disk</th><th>u_ab</th><th>g_ab</th><th>r_ab</th><th>i_ab</th><th>z_ab</th><th>y_ab</th><th>x_peak</th><th>y_peak</th><th>btk_rotation</th><th>not_drawn_u</th><th>not_drawn_g</th><th>not_drawn_r</th><th>not_drawn_i</th><th>not_drawn_z</th><th>not_drawn_y</th></tr></thead>\n",
339327
"<thead><tr><th>int64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th><th>float64</th></tr></thead>\n",
340328
"<tr><td>2203000845</td><td>0.8701448475755365</td><td>0.7148085531751387</td><td>2.57267403603</td><td>6.3268708269e-18</td><td>1.54905100017e-18</td><td>1.80331302741e-20</td><td>1.00473165512</td><td>0.0965721979737</td><td>0.832231402397</td><td>0.0207626000047</td><td>246.150009155</td><td>246.150009155</td><td>25.0703849792</td><td>24.7873039246</td><td>24.7652378082</td><td>24.7562961578</td><td>24.8058547974</td><td>24.6890239716</td><td>63.850724237965</td><td>63.07404276606157</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td><td>0.0</td></tr>\n",
@@ -363,7 +351,6 @@
363351
]
364352
},
365353
{
366-
"attachments": {},
367354
"cell_type": "markdown",
368355
"metadata": {},
369356
"source": [
@@ -396,7 +383,6 @@
396383
]
397384
},
398385
{
399-
"attachments": {},
400386
"cell_type": "markdown",
401387
"metadata": {},
402388
"source": [
@@ -411,7 +397,7 @@
411397
{
412398
"data": {
413399
"text/plain": [
414-
"<matplotlib.collections.PathCollection at 0x16c320080>"
400+
"<matplotlib.collections.PathCollection at 0x15f993bf0>"
415401
]
416402
},
417403
"execution_count": null,
@@ -455,7 +441,7 @@
455441
{
456442
"data": {
457443
"text/plain": [
458-
"<matplotlib.image.AxesImage at 0x16c4b28a0>"
444+
"<matplotlib.image.AxesImage at 0x167cef890>"
459445
]
460446
},
461447
"execution_count": null,
@@ -500,7 +486,7 @@
500486
{
501487
"data": {
502488
"text/plain": [
503-
"<matplotlib.image.AxesImage at 0x16c4fb440>"
489+
"<matplotlib.image.AxesImage at 0x16812dd60>"
504490
]
505491
},
506492
"execution_count": null,
@@ -526,15 +512,13 @@
526512
]
527513
},
528514
{
529-
"attachments": {},
530515
"cell_type": "markdown",
531516
"metadata": {},
532517
"source": [
533518
"# Deblending"
534519
]
535520
},
536521
{
537-
"attachments": {},
538522
"cell_type": "markdown",
539523
"metadata": {},
540524
"source": [
@@ -567,7 +551,6 @@
567551
]
568552
},
569553
{
570-
"attachments": {},
571554
"cell_type": "markdown",
572555
"metadata": {},
573556
"source": [
@@ -584,7 +567,6 @@
584567
]
585568
},
586569
{
587-
"attachments": {},
588570
"cell_type": "markdown",
589571
"metadata": {},
590572
"source": [
@@ -621,7 +603,7 @@
621603
"data": {
622604
"text/html": [
623605
"<div><i>Table length=3</i>\n",
624-
"<table id=\"table6105432240\" class=\"table-striped table-bordered table-condensed\">\n",
606+
"<table id=\"table6045036864\" class=\"table-striped table-bordered table-condensed\">\n",
625607
"<thead><tr><th>ra</th><th>dec</th><th>x_peak</th><th>y_peak</th></tr></thead>\n",
626608
"<thead><tr><th>float64</th><th>float64</th><th>float64</th><th>float64</th></tr></thead>\n",
627609
"<tr><td>0.5827758848773101</td><td>-0.9066195821690348</td><td>62.41387942457128</td><td>54.966902088769075</td></tr>\n",
@@ -649,7 +631,6 @@
649631
]
650632
},
651633
{
652-
"attachments": {},
653634
"cell_type": "markdown",
654635
"metadata": {},
655636
"source": [
@@ -666,7 +647,6 @@
666647
]
667648
},
668649
{
669-
"attachments": {},
670650
"cell_type": "markdown",
671651
"metadata": {},
672652
"source": [
@@ -682,7 +662,7 @@
682662
"data": {
683663
"text/html": [
684664
"<div><i>Table length=3</i>\n",
685-
"<table id=\"table6108393984\" class=\"table-striped table-bordered table-condensed\">\n",
665+
"<table id=\"table5967271920\" class=\"table-striped table-bordered table-condensed\">\n",
686666
"<thead><tr><th>ra</th><th>dec</th><th>x_peak</th><th>y_peak</th></tr></thead>\n",
687667
"<thead><tr><th>float64</th><th>float64</th><th>float64</th><th>float64</th></tr></thead>\n",
688668
"<tr><td>0.5827758848773101</td><td>-0.9066195821690348</td><td>62.41387942457128</td><td>54.966902088769075</td></tr>\n",
@@ -724,7 +704,7 @@
724704
{
725705
"data": {
726706
"text/plain": [
727-
"<matplotlib.collections.PathCollection at 0x16c057fb0>"
707+
"<matplotlib.collections.PathCollection at 0x16812fa10>"
728708
]
729709
},
730710
"execution_count": null,
@@ -774,7 +754,7 @@
774754
{
775755
"data": {
776756
"text/plain": [
777-
"<matplotlib.colorbar.Colorbar at 0x16c67a570>"
757+
"<matplotlib.colorbar.Colorbar at 0x1686307a0>"
778758
]
779759
},
780760
"execution_count": null,
@@ -978,7 +958,6 @@
978958
]
979959
},
980960
{
981-
"attachments": {},
982961
"cell_type": "markdown",
983962
"metadata": {},
984963
"source": [
@@ -1081,7 +1060,7 @@
10811060
"name": "stderr",
10821061
"output_type": "stream",
10831062
"text": [
1084-
"100%|██████████| 10/10 [00:41<00:00, 4.15s/it]\n"
1063+
"100%|██████████| 10/10 [01:06<00:00, 6.64s/it]\n"
10851064
]
10861065
}
10871066
],
@@ -1261,7 +1240,7 @@
12611240
" array([ 8.64381803, 13.61156182, 18.57930561, 23.5470494 , 28.51479319,\n",
12621241
" 33.48253698, 38.45028077, 43.41802456, 48.38576836, 53.35351215,\n",
12631242
" 58.32125594]),\n",
1264-
" [<matplotlib.patches.Polygon at 0x16bff4350>])"
1243+
" [<matplotlib.patches.Polygon at 0x168878cb0>])"
12651244
]
12661245
},
12671246
"execution_count": null,
@@ -1347,7 +1326,7 @@
13471326
{
13481327
"data": {
13491328
"text/plain": [
1350-
"<matplotlib.lines.AxLine at 0x16cc462d0>"
1329+
"<matplotlib.lines.AxLine at 0x1687bfe60>"
13511330
]
13521331
},
13531332
"execution_count": null,
@@ -1368,7 +1347,7 @@
13681347
"source": [
13691348
"# look at first component\n",
13701349
"plt.scatter(e11, e12)\n",
1371-
"plt.axline((-1, -1), (1, 1),color=\"k\",linestyle=\"--\")\n"
1350+
"plt.axline((-1, -1), (1, 1),color=\"k\",linestyle=\"--\")"
13721351
]
13731352
},
13741353
{

notebooks/01-advanced-deblending.ipynb

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

notebooks/01-advanced-generation.ipynb

Lines changed: 44 additions & 44 deletions
Large diffs are not rendered by default.

notebooks/01-advanced-metrics.ipynb

Lines changed: 13 additions & 37 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)