Skip to content

Commit 1088d73

Browse files
author
Quarto GHA Workflow Runner
committed
Built site for gh-pages
1 parent 18b1709 commit 1088d73

14 files changed

Lines changed: 964 additions & 377 deletions

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9bcc4c9f
1+
98cbd2c6

notebooks/CITEAM1-Day2026.html

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

preliminaries/PE100/PE100-01Introduction.out.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"- [PE100-10 Dictionaries](PE100-10Dictionaries.ipynb) - Like a simple\n",
6262
" database, look up information quickly."
6363
],
64-
"id": "a40c63c2-a734-436d-b5f5-5a64d1e4eb44"
64+
"id": "29c58cc7-9e6c-497b-bc2b-3ef32acb08e5"
6565
}
6666
],
6767
"nbformat": 4,

preliminaries/PE100/PE100-02TypesVarsAndOperators.out.ipynb

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"Let’s do this now: click just below where it says “print (403.616”),\n",
2222
"then Go to the “Run” menu and choose “Run Selected Cells”."
2323
],
24-
"id": "69031fcb-8372-456e-890d-cfa2ae19a74c"
24+
"id": "b2dea3de-65e1-4308-ab5a-03fb05ac8f37"
2525
},
2626
{
2727
"cell_type": "code",
@@ -51,7 +51,7 @@
5151
"Click in the next cell (where it says “103.5”) to select that cell. Then\n",
5252
"hold down the Shift key while you press Enter."
5353
],
54-
"id": "a2e68208-7c05-4768-9958-cbba3a0e5ec7"
54+
"id": "2341a1ce-385b-467c-8779-537ed6891974"
5555
},
5656
{
5757
"cell_type": "code",
@@ -75,7 +75,7 @@
7575
"\n",
7676
"Take a look at a *string literal*. Run each of the next two cells…"
7777
],
78-
"id": "1836bb88-7a54-41b6-83b5-d9679c42449c"
78+
"id": "b3143937-e08a-496e-84d4-7da01663291f"
7979
},
8080
{
8181
"cell_type": "code",
@@ -114,7 +114,7 @@
114114
"of the code-containing cells through this course, try to predict what\n",
115115
"will happen first, and then run the code."
116116
],
117-
"id": "ae1aebdb-e650-4ba5-8329-0a31239508d3"
117+
"id": "b57c8484-f4bd-4da7-85fb-fb35f5027bb2"
118118
},
119119
{
120120
"cell_type": "code",
@@ -182,7 +182,7 @@
182182
"source": [
183183
"Besides the “classic” operators, there are some handy extras:"
184184
],
185-
"id": "9a76b03b-0aae-4592-8dc6-a4a35a480def"
185+
"id": "f6053830-f7f8-4c67-854a-7c7e45248216"
186186
},
187187
{
188188
"cell_type": "code",
@@ -202,7 +202,7 @@
202202
"returns the whole number part of the answer, just like when we learned\n",
203203
"division in elementary school."
204204
],
205-
"id": "84fec351-13c0-4691-bcbc-de6729932d18"
205+
"id": "8a7e2f79-be53-4be6-81c0-472b36763c95"
206206
},
207207
{
208208
"cell_type": "code",
@@ -221,7 +221,7 @@
221221
"The `%` operator returns the remainder. This is also called “modulo”,\n",
222222
"and the above would be pronounced “sixteen mod 3”."
223223
],
224-
"id": "a4c909d7-88a8-4b66-b074-f86322b823c3"
224+
"id": "451a0b86-1e1c-4969-b38c-e5043465c197"
225225
},
226226
{
227227
"cell_type": "code",
@@ -261,7 +261,7 @@
261261
"or they can be real numbers. Naturally, operators can be combined into\n",
262262
"arbitrarily long *expressions*."
263263
],
264-
"id": "e43bebad-7396-483b-a538-018b32395714"
264+
"id": "8018c55f-9072-4835-9157-efe4e34e8a28"
265265
},
266266
{
267267
"cell_type": "code",
@@ -298,7 +298,7 @@
298298
"evaluated as 3+2 and yields 5. The exception is exponentiation: 2 \\*\\* 3\n",
299299
"\\*\\* 4 is treated as 2 \\*\\* 81 and yeilds an annoyingly large number"
300300
],
301-
"id": "c1a3a6c3-37a4-496c-993b-70976a7a62e2"
301+
"id": "a8098906-1cae-4c79-bc62-b6437b5b9d89"
302302
},
303303
{
304304
"cell_type": "code",
@@ -332,7 +332,7 @@
332332
"to store data of some kind, and that place has a name. They behave in\n",
333333
"Python just like you’d expect."
334334
],
335-
"id": "9576a948-0ac7-45fd-8d57-6c0996ae0b36"
335+
"id": "45cfc510-35d0-4f7f-9e49-49c53c2471ef"
336336
},
337337
{
338338
"cell_type": "code",
@@ -363,7 +363,7 @@
363363
"long as Python (or in our case, Jupyter) is running. Take a look -\n",
364364
"answer is still there."
365365
],
366-
"id": "af15c146-97fd-435b-aeb4-3feb1f1d35e0"
366+
"id": "9e98f7a7-29ef-4c5a-961e-ea82c63acab5"
367367
},
368368
{
369369
"cell_type": "code",
@@ -381,7 +381,7 @@
381381
"source": [
382382
"The value stored in a variable can change. It can even change type:"
383383
],
384-
"id": "8b0dc5c6-e2cd-4209-ad99-17a27deba452"
384+
"id": "f73be873-286b-4f05-b96f-b89405a9a662"
385385
},
386386
{
387387
"cell_type": "code",
@@ -404,7 +404,7 @@
404404
"We can declare many variables, and we can “do things” with them just\n",
405405
"like we can when we type in numbers or strings."
406406
],
407-
"id": "924bbc58-a104-45d4-bad4-4785ddbe92db"
407+
"id": "a131a83b-ed34-4712-b623-68f3175d8226"
408408
},
409409
{
410410
"cell_type": "code",
@@ -429,7 +429,7 @@
429429
"We can use variables to change the *order of operations*. Let’s see the\n",
430430
"average price of two people’s meals:"
431431
],
432-
"id": "56a5a40b-8010-4259-acb0-db185cd530bb"
432+
"id": "e7422fea-b9dc-445d-9116-61c3ad5b0642"
433433
},
434434
{
435435
"cell_type": "code",
@@ -449,7 +449,7 @@
449449
"source": [
450450
"That’s the right answer. If we hadn’t done that, we would have gotten"
451451
],
452-
"id": "c2f0b07f-b6eb-4e3b-b3a0-0b66d7af5956"
452+
"id": "22428be3-0600-4999-aa6c-e08e35ea9958"
453453
},
454454
{
455455
"cell_type": "code",
@@ -490,7 +490,7 @@
490490
"*type* they are (integer, real number, or string) and what their “value”\n",
491491
"is. We can even interrogate a variable as see what type it is:"
492492
],
493-
"id": "cf3734b2-55eb-4abd-8c1f-3776ea5313e2"
493+
"id": "b4d230fa-b73c-404e-926a-ad2be68390bd"
494494
},
495495
{
496496
"cell_type": "code",
@@ -538,7 +538,7 @@
538538
"The type of a variable matters. Let’s create a variable with an integer\n",
539539
"in it and another with a string. Then let’s do some math:"
540540
],
541-
"id": "576ce253-a0df-4884-a245-69ba9e96ea9c"
541+
"id": "9b381d8d-cbad-4a14-a434-0f513e4c1f7c"
542542
},
543543
{
544544
"cell_type": "code",
@@ -565,7 +565,7 @@
565565
"functions convert their arguments to floating-point and to integer\n",
566566
"numbers, respectively."
567567
],
568-
"id": "b1d94bf0-e305-4e10-8111-4f30913e6d47"
568+
"id": "28468e75-8a8a-4c3e-a80f-14221ab9c7e7"
569569
},
570570
{
571571
"cell_type": "code",
@@ -604,7 +604,7 @@
604604
"programming languages will let us split an expression anywhere we want,\n",
605605
"such as:"
606606
],
607-
"id": "87cefeb2-935b-4773-9dde-63f765c917d7"
607+
"id": "1f1722d2-5e75-4a33-95d9-16fa947bd733"
608608
},
609609
{
610610
"cell_type": "code",
@@ -628,7 +628,7 @@
628628
"a backslash, by the way, and **cannot** be the forward slash like we use\n",
629629
"for division."
630630
],
631-
"id": "bb25bb15-500d-44dc-a13a-f9dbbd14bd6c"
631+
"id": "d3eee19c-6a9e-407a-84c1-2192960c7166"
632632
},
633633
{
634634
"cell_type": "code",
@@ -660,7 +660,7 @@
660660
"one, make sure you figure out what happened before you go. I know, we’re\n",
661661
"professionals, I shouldn’t have to say that…"
662662
],
663-
"id": "72b20305-aba7-46f1-8057-e03566c49bbd"
663+
"id": "f54b9890-c09e-4184-b8f0-5ee81b184c76"
664664
},
665665
{
666666
"cell_type": "code",
@@ -691,7 +691,7 @@
691691
"And these can be any kind of characters - the English alphabet, the\n",
692692
"Hungarian alphabet, hiragana… it doesn’t matter."
693693
],
694-
"id": "5fbb0218-b7db-48ac-82b0-184357cd3a14"
694+
"id": "d38b39d2-65f5-4431-8e46-3f52483a7eae"
695695
},
696696
{
697697
"cell_type": "code",
@@ -713,7 +713,7 @@
713713
"Python lets you use either one. You *do* have to be consistent in each\n",
714714
"string, but it can vary from one string to the next:"
715715
],
716-
"id": "acb074e3-0319-4dab-8e4c-9aac22d46b35"
716+
"id": "a5c1d887-0ec9-4976-9f98-61aca566b838"
717717
},
718718
{
719719
"cell_type": "code",
@@ -734,7 +734,7 @@
734734
"Because we can use either type of quotation mark, we can exploit that to\n",
735735
"let us put quotation marks into strings:"
736736
],
737-
"id": "6dd517ca-d4f3-4aab-bfd8-be0f4fe162ef"
737+
"id": "94ba0c9a-5908-4620-8cdb-d6afafca6189"
738738
},
739739
{
740740
"cell_type": "code",
@@ -768,7 +768,7 @@
768768
"quotation mark. In fact, we can quote any character with it if we need\n",
769769
"to."
770770
],
771-
"id": "c21f9b33-7c75-4439-a7bb-55736e9f305b"
771+
"id": "ea8674ea-c52d-409e-8ba1-9d40ef9cf29f"
772772
},
773773
{
774774
"cell_type": "code",
@@ -809,7 +809,7 @@
809809
"that is several lines long. The “triple quote” is a way to do it. You\n",
810810
"have to use three double-quotes in a row:"
811811
],
812-
"id": "1ee3f610-e530-42ec-a92f-582d3f32474a"
812+
"id": "c13b0a69-cfb2-4030-9f55-1b5f077b6856"
813813
},
814814
{
815815
"cell_type": "code",
@@ -831,7 +831,7 @@
831831
"Triple quotes are also an easier way to embed mixed kinds of quotation\n",
832832
"marks into strings:"
833833
],
834-
"id": "efdf7373-50e6-4c1e-af37-2038ca6b5192"
834+
"id": "f6b28b2f-ec56-4c2d-97e3-3c5bdebcb5c4"
835835
},
836836
{
837837
"cell_type": "code",
@@ -865,7 +865,7 @@
865865
"to different inputs. That’s about to change. In the next section we’ll\n",
866866
"look at the `if` statement and how to use it."
867867
],
868-
"id": "4d19770b-2fe5-4cbc-9d45-b2f3bdf74422"
868+
"id": "b219c64a-dd61-4f6c-8393-064de2b6a41b"
869869
}
870870
],
871871
"nbformat": 4,

preliminaries/PE100/PE100-03DecisionStructures.out.ipynb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"worse. We have calibration constants we can apply, but we have to apply\n",
2424
"the right constant for each individual instrument."
2525
],
26-
"id": "74e445cb-ea5e-46ef-968b-5c59e4ef3c6c"
26+
"id": "51e2b364-3ab0-46ca-9ac1-c9dca5bada31"
2727
},
2828
{
2929
"cell_type": "code",
@@ -78,7 +78,7 @@
7878
"useful. But that’s not all it can do. We need to do something reasonable\n",
7979
"when we get readings from the second instrument. Such as:"
8080
],
81-
"id": "5ae60d6a-0e17-4555-a927-9b02d4aed4dd"
81+
"id": "55ec3d1d-7301-48f0-aef5-6333a38dfdab"
8282
},
8383
{
8484
"cell_type": "code",
@@ -122,7 +122,7 @@
122122
"deal with that? We could resort to putting if-else statements inside\n",
123123
"if-else statements in sort of a brute force fashion…"
124124
],
125-
"id": "cdb794e9-2375-455e-97cc-4e00b6ec0394"
125+
"id": "fcea868c-2d3d-47ad-94e0-ead8217acb27"
126126
},
127127
{
128128
"cell_type": "code",
@@ -183,7 +183,7 @@
183183
"\n",
184184
"Let’s see an example with 5 instruments…"
185185
],
186-
"id": "81e10699-c453-40e2-bdaa-25d0b1dea12b"
186+
"id": "fce9b54d-4167-4cce-861b-0f590a3dd6b1"
187187
},
188188
{
189189
"cell_type": "code",
@@ -241,7 +241,7 @@
241241
"You can run more than one line of code in response to the tested\n",
242242
"conditions, but they have to be indented the same amount:"
243243
],
244-
"id": "764982cd-7917-42da-83c3-515775c56f1f"
244+
"id": "de285627-7a51-46ba-899d-0ce532053542"
245245
},
246246
{
247247
"cell_type": "code",
@@ -327,7 +327,7 @@
327327
"For each of the following code cells, decide what the result is, run the\n",
328328
"cell, and see how you did:"
329329
],
330-
"id": "be4efe48-db37-4492-a623-59aa7bea7037"
330+
"id": "56743406-9de9-4fae-9f45-b212a13d7f8e"
331331
},
332332
{
333333
"cell_type": "code",
@@ -435,7 +435,7 @@
435435
"source": [
436436
"Relational operators also work with strings."
437437
],
438-
"id": "a1b8d6da-0537-4950-aaef-664b70bc90e6"
438+
"id": "0087b8d9-cc39-4c54-b11a-b6eadcc9bf6a"
439439
},
440440
{
441441
"cell_type": "code",
@@ -495,7 +495,7 @@
495495
"have to be indented the same amount. Python always runs “blocks” of\n",
496496
"code. That block might be as short as one line:"
497497
],
498-
"id": "610f0060-2595-40c4-998a-641d1c083a07"
498+
"id": "912022cc-7e74-4690-b7af-8a52f8d52cb1"
499499
},
500500
{
501501
"cell_type": "code",
@@ -525,7 +525,7 @@
525525
"source": [
526526
"or it might be arbitrarily long:"
527527
],
528-
"id": "8b5897bc-b65f-407d-906e-a4545a042817"
528+
"id": "c6791a00-2d8a-4e92-a821-01d888bb2e53"
529529
},
530530
{
531531
"cell_type": "code",
@@ -576,7 +576,7 @@
576576
"out. Then try out the combinations and make sure you know why each\n",
577577
"combination was handled the way it was."
578578
],
579-
"id": "f984fbd1-b5da-451f-a4ca-51c1a351db2c"
579+
"id": "0dcd52f2-60eb-485a-a611-2ba6a56aff68"
580580
},
581581
{
582582
"cell_type": "code",
@@ -634,7 +634,7 @@
634634
"arguments are true. The `not` operator takes only one argument and\n",
635635
"reverses it: `not` turns True into False and False into True."
636636
],
637-
"id": "35abcd7a-0a1a-4508-9aa4-deeac4cbe452"
637+
"id": "25dca172-e5e7-4b2a-982f-a442870f6d36"
638638
},
639639
{
640640
"cell_type": "code",
@@ -676,7 +676,7 @@
676676
"in order to use Python as a truly general-purpose language. In the next\n",
677677
"notebook we’re going to make our code do something over and over."
678678
],
679-
"id": "b57f843e-3e44-43a8-bccc-6e96ddbf9cd2"
679+
"id": "6e966f7c-90ac-42c4-9cce-b1fbeb817664"
680680
}
681681
],
682682
"nbformat": 4,

0 commit comments

Comments
 (0)