Skip to content

Commit 8746efc

Browse files
authored
Merge pull request #96 from LinkedEarth/L1_time_semantics_cleanup
uniform default kernel
2 parents e216e49 + 44c87f4 commit 8746efc

8 files changed

Lines changed: 138 additions & 419 deletions

notebooks/L0_loading_to_series.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@
20622062
],
20632063
"metadata": {
20642064
"kernelspec": {
2065-
"display_name": ".venv (3.12.3)",
2065+
"display_name": "Python 3 (ipykernel)",
20662066
"language": "python",
20672067
"name": "python3"
20682068
},
@@ -2076,7 +2076,7 @@
20762076
"name": "python",
20772077
"nbconvert_exporter": "python",
20782078
"pygments_lexer": "ipython3",
2079-
"version": "3.12.3"
2079+
"version": "3.12.2"
20802080
},
20812081
"toc-autonumbering": true
20822082
},

notebooks/L0_paleopandas.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"## Data Description\n",
4141
"\n",
4242
"* Sea-surface temperature from Kaplan (1998) averaged over the NINO3 (5N-5S, 150W-190E)) region.\n",
43-
"* Bereiter, B., Eggleston, S., Schmitt, J., Nehrbass-Ahles, C., Stocker, T. F., Fischer, H., Chappellaz, J. (2015). Revision of the EPICA Dome C CO2 record from 800 to 600 kyr before present. Geophysical Research Letters, 42(2), 542–549. doi:10.1002/2014gl061957\n",
43+
"* Bereiter, B., Eggleston, S., Schmitt, J., Nehrbass-Ahles, C., Stocker, T. F., Fischer, H., \u2026 Chappellaz, J. (2015). Revision of the EPICA Dome C CO2 record from 800 to 600 kyr before present. Geophysical Research Letters, 42(2), 542\u2013549. doi:10.1002/2014gl061957\n",
4444
"\n",
4545
"## Demonstration"
4646
]
@@ -122,7 +122,7 @@
122122
],
123123
"source": [
124124
"soi = pyleo.utils.load_dataset('SOI')\n",
125-
"soi.plot(invert_yaxis=True) # invert y axis so El Niño events plot upward"
125+
"soi.plot(invert_yaxis=True) # invert y axis so El Ni\u00f1o events plot upward"
126126
]
127127
},
128128
{
@@ -342,7 +342,7 @@
342342
" </tr>\n",
343343
" </tbody>\n",
344344
"</table>\n",
345-
"<p>1910 rows × 1 columns</p>\n",
345+
"<p>1910 rows \u00d7 1 columns</p>\n",
346346
"</div>"
347347
],
348348
"text/plain": [
@@ -654,7 +654,7 @@
654654
" </tr>\n",
655655
" </tbody>\n",
656656
"</table>\n",
657-
"<p>1910 rows × 1 columns</p>\n",
657+
"<p>1910 rows \u00d7 1 columns</p>\n",
658658
"</div>"
659659
],
660660
"text/plain": [
@@ -928,7 +928,7 @@
928928
" </tr>\n",
929929
" </tbody>\n",
930930
"</table>\n",
931-
"<p>1901 rows × 1 columns</p>\n",
931+
"<p>1901 rows \u00d7 1 columns</p>\n",
932932
"</div>"
933933
],
934934
"text/plain": [
@@ -1479,7 +1479,7 @@
14791479
" </tr>\n",
14801480
" </tbody>\n",
14811481
"</table>\n",
1482-
"<p>162 rows × 1 columns</p>\n",
1482+
"<p>162 rows \u00d7 1 columns</p>\n",
14831483
"</div>"
14841484
],
14851485
"text/plain": [
@@ -1571,7 +1571,7 @@
15711571
"data": {
15721572
"text/plain": [
15731573
"(<Figure size 640x480 with 3 Axes>,\n",
1574-
" {0: <Axes: ylabel='$\\\\delta \\\\mathrm{D}$ []'>,\n",
1574+
" {0: <Axes: ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>,\n",
15751575
" 1: <Axes: ylabel='$CO_2$ [ppm]'>,\n",
15761576
" 'x_axis': <Axes: xlabel='Age [ka]'>})"
15771577
]
@@ -1943,9 +1943,9 @@
19431943
],
19441944
"metadata": {
19451945
"kernelspec": {
1946-
"display_name": "pyleo",
1946+
"display_name": "Python 3 (ipykernel)",
19471947
"language": "python",
1948-
"name": "pyleo"
1948+
"name": "python3"
19491949
},
19501950
"language_info": {
19511951
"codemirror_mode": {

notebooks/L1_filtering_and_detrending.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@
637637
],
638638
"metadata": {
639639
"kernelspec": {
640-
"display_name": "pyleo",
640+
"display_name": "Python 3 (ipykernel)",
641641
"language": "python",
642642
"name": "python3"
643643
},
@@ -651,7 +651,7 @@
651651
"name": "python",
652652
"nbconvert_exporter": "python",
653653
"pygments_lexer": "ipython3",
654-
"version": "3.12.11"
654+
"version": "3.12.2"
655655
}
656656
},
657657
"nbformat": 4,

notebooks/L1_surrogates.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@
294294
"name": "stderr",
295295
"output_type": "stream",
296296
"text": [
297-
"Performing spectral analysis on individual series: 100%|██████████| 20/20 [00:02<00:00, 8.14it/s]\n",
298-
"Performing spectral analysis on individual series: 100%|██████████| 20/20 [00:02<00:00, 8.14it/s]\n"
297+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 20/20 [00:02<00:00, 8.14it/s]\n",
298+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 20/20 [00:02<00:00, 8.14it/s]\n"
299299
]
300300
},
301301
{
@@ -513,8 +513,8 @@
513513
"name": "stderr",
514514
"output_type": "stream",
515515
"text": [
516-
"Performing spectral analysis on individual series: 100%|██████████| 1000/1000 [00:02<00:00, 360.11it/s]\n",
517-
"Performing spectral analysis on individual series: 100%|██████████| 1000/1000 [00:02<00:00, 355.24it/s]\n"
516+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 1000/1000 [00:02<00:00, 360.11it/s]\n",
517+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 1000/1000 [00:02<00:00, 355.24it/s]\n"
518518
]
519519
},
520520
{
@@ -715,7 +715,7 @@
715715
"name": "stderr",
716716
"output_type": "stream",
717717
"text": [
718-
"Performing spectral analysis on individual series: 100%|██████████| 200/200 [00:02<00:00, 81.84it/s]\n"
718+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 200/200 [00:02<00:00, 81.84it/s]\n"
719719
]
720720
},
721721
{
@@ -756,7 +756,7 @@
756756
"name": "stderr",
757757
"output_type": "stream",
758758
"text": [
759-
"Performing spectral analysis on individual series: 100%|██████████| 200/200 [00:02<00:00, 83.29it/s]\n"
759+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 200/200 [00:02<00:00, 83.29it/s]\n"
760760
]
761761
},
762762
{
@@ -790,7 +790,7 @@
790790
"name": "stderr",
791791
"output_type": "stream",
792792
"text": [
793-
"Performing spectral analysis on individual series: 100%|██████████| 200/200 [00:02<00:00, 82.07it/s]\n"
793+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 200/200 [00:02<00:00, 82.07it/s]\n"
794794
]
795795
},
796796
{
@@ -893,7 +893,7 @@
893893
"name": "stderr",
894894
"output_type": "stream",
895895
"text": [
896-
"Performing spectral analysis on individual series: 100%|██████████| 200/200 [01:19<00:00, 2.51it/s]\n"
896+
"Performing spectral analysis on individual series: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 200/200 [01:19<00:00, 2.51it/s]\n"
897897
]
898898
}
899899
],
@@ -953,9 +953,9 @@
953953
],
954954
"metadata": {
955955
"kernelspec": {
956-
"display_name": "pyleo",
956+
"display_name": "Python 3 (ipykernel)",
957957
"language": "python",
958-
"name": "pyleo"
958+
"name": "python3"
959959
},
960960
"language_info": {
961961
"codemirror_mode": {

notebooks/L1_time_semanics.ipynb

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

notebooks/L1_uniform_time_sampling.ipynb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"Matplotlib\n",
4242
"\n",
4343
"## Data Description\n",
44-
"Jouzel, J., Masson-Delmotte, V., Cattani, O., Dreyfus, G., Falourd, S., Hoffmann, G., Wolff, E. W. (2007). Orbital and millennial Antarctic climate variability over the past 800,000 years. Science (New York, N.Y.), 317(5839), 793–796. [doi:10.1126/science.1141038](https://doi.org/10.1126/science.1141038)\n",
44+
"Jouzel, J., Masson-Delmotte, V., Cattani, O., Dreyfus, G., Falourd, S., Hoffmann, G., \u2026 Wolff, E. W. (2007). Orbital and millennial Antarctic climate variability over the past 800,000 years. Science (New York, N.Y.), 317(5839), 793\u2013796. [doi:10.1126/science.1141038](https://doi.org/10.1126/science.1141038)\n",
4545
"\n",
4646
"## Demonstration\n",
4747
"\n",
@@ -321,7 +321,7 @@
321321
{
322322
"data": {
323323
"text/plain": [
324-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
324+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
325325
]
326326
},
327327
"execution_count": 8,
@@ -400,7 +400,7 @@
400400
{
401401
"data": {
402402
"text/plain": [
403-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
403+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
404404
]
405405
},
406406
"execution_count": 10,
@@ -571,7 +571,7 @@
571571
{
572572
"data": {
573573
"text/plain": [
574-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
574+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
575575
]
576576
},
577577
"execution_count": 14,
@@ -670,7 +670,7 @@
670670
{
671671
"data": {
672672
"text/plain": [
673-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
673+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
674674
]
675675
},
676676
"execution_count": 17,
@@ -741,7 +741,7 @@
741741
{
742742
"data": {
743743
"text/plain": [
744-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
744+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
745745
]
746746
},
747747
"execution_count": 18,
@@ -811,7 +811,7 @@
811811
{
812812
"data": {
813813
"text/plain": [
814-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
814+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
815815
]
816816
},
817817
"execution_count": 19,
@@ -999,7 +999,7 @@
999999
{
10001000
"data": {
10011001
"text/plain": [
1002-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
1002+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
10031003
]
10041004
},
10051005
"execution_count": 21,
@@ -1069,7 +1069,7 @@
10691069
{
10701070
"data": {
10711071
"text/plain": [
1072-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
1072+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
10731073
]
10741074
},
10751075
"execution_count": 22,
@@ -1141,7 +1141,7 @@
11411141
{
11421142
"data": {
11431143
"text/plain": [
1144-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
1144+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
11451145
]
11461146
},
11471147
"execution_count": 23,
@@ -1211,7 +1211,7 @@
12111211
{
12121212
"data": {
12131213
"text/plain": [
1214-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
1214+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
12151215
]
12161216
},
12171217
"execution_count": 24,
@@ -1283,7 +1283,7 @@
12831283
{
12841284
"data": {
12851285
"text/plain": [
1286-
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ []'>"
1286+
"<Axes: xlabel='Age [ka]', ylabel='$\\\\delta \\\\mathrm{D}$ [\u2030]'>"
12871287
]
12881288
},
12891289
"execution_count": 25,
@@ -1427,9 +1427,9 @@
14271427
],
14281428
"metadata": {
14291429
"kernelspec": {
1430-
"display_name": "pyleo",
1430+
"display_name": "Python 3 (ipykernel)",
14311431
"language": "python",
1432-
"name": "pyleo"
1432+
"name": "python3"
14331433
},
14341434
"language_info": {
14351435
"codemirror_mode": {
@@ -1441,7 +1441,7 @@
14411441
"name": "python",
14421442
"nbconvert_exporter": "python",
14431443
"pygments_lexer": "ipython3",
1444-
"version": "3.11.10"
1444+
"version": "3.12.13"
14451445
},
14461446
"nbdime-conflicts": {
14471447
"local_diff": [

0 commit comments

Comments
 (0)