|
396 | 396 | "source": [ |
397 | 397 | "## Week 2, Problem 3 - stats for all channels\n", |
398 | 398 | "\n", |
399 | | - "In this problem we put it all together - loop over all of the data channels, calculate the stats for each, then add those stats back into the **proxy_data_description** dictionary. The pseudo code is:\n", |
| 399 | + "In this problem we put it all together - loop over all of the data channels, calculate the stats for each, then add those stats back into the **pick_data_description** dictionary. The pseudo code is:\n", |
400 | 400 | "\n", |
401 | | - "for each data channel in **proxy_data_description**\n", |
| 401 | + "for each data channel in **pick_data_description**\n", |
402 | 402 | "- use **get_channel_data** to get out the data for just that channel\n", |
403 | 403 | "- call **get_stats_for_channel** to get the stats\n", |
404 | 404 | "- add those stats to the channel dictionary with the key \"stats\"\n" |
|
573 | 573 | "\n", |
574 | 574 | "# Step 4: Now use the boolean array in pick_data_dict to get out just the rows of the successful data (another data slice)\n", |
575 | 575 | "\n", |
576 | | - "# Step 5: Call calc_stats with that slice you just made - this will do the stats for JUST the successful data\n", |
| 576 | + "# Step 5: Call calc_stats_for_channel with that slice you just made - this will do the stats for JUST the successful data\n", |
577 | 577 | "\n", |
578 | 578 | "# Step 6: Extract the max from the returned stats - this is where you use xyz_dim, to pick out one of the x,y,z stats\n", |
579 | 579 | "\n", |
|
694 | 694 | "\n", |
695 | 695 | " map_to_xyz = ['x', 'y', 'z']\n", |
696 | 696 | "\n", |
697 | | - " # TODO: Copy your lab 2 part 2 code here\n", |
| 697 | + " # TODO: Copy your lab 3 part 2 code here\n", |
698 | 698 | " # 1 - change the y label to be units, and the title to be title\n", |
699 | 699 | " # 2 You'll want a for loop to handle dimensions\n", |
700 | 700 | " # 3 Add in a horizontal line for the min, and one for the max\n", |
|
918 | 918 | "\n", |
919 | 919 | "# List of names (creates a set)\n", |
920 | 920 | "worked_with_names = {\"not filled out\"}\n", |
921 | | - "# List of URLS TCW3 (creates a set)\n", |
| 921 | + "# List of URLS TCS3 (creates a set)\n", |
922 | 922 | "websites = {\"not filled out\"}\n", |
923 | 923 | "# Approximate number of hours, including lab/in-class time\n", |
924 | 924 | "hours = -1.5" |
|
938 | 938 | }, |
939 | 939 | { |
940 | 940 | "cell_type": "markdown", |
941 | | - "metadata": { |
942 | | - "deletable": false, |
943 | | - "editable": false |
944 | | - }, |
| 941 | + "metadata": {}, |
945 | 942 | "source": [ |
946 | | - "## Submission\n", |
| 943 | + "### To submit\n", |
947 | 944 | "\n", |
948 | | - "Make sure you have run all cells in your notebook in order before running the cell below, so that all images/graphs appear in the output. The cell below will generate a zip file for you to submit. **Please save before exporting!**\n", |
| 945 | + "- Do a restart then run all to make sure everything runs ok\n", |
| 946 | + "- Remove excessive print statements - don't make us search through pages of numbers to find your plots\n", |
| 947 | + "- Save the file\n", |
| 948 | + "- Submit just this .ipynb file through gradescope, HWK1 numpy and Plotting\n", |
| 949 | + "- You do NOT need to submit the data files - we will supply those\n", |
949 | 950 | "\n", |
950 | | - "Submit just the .ipynb file to Gradescope, HWK1 numpy and Plotting. You do not need to put in the data files. Don't change the provided variable names or autograding will fail." |
951 | | - ] |
952 | | - }, |
953 | | - { |
954 | | - "cell_type": "code", |
955 | | - "execution_count": null, |
956 | | - "metadata": { |
957 | | - "deletable": false, |
958 | | - "editable": false |
959 | | - }, |
960 | | - "outputs": [], |
961 | | - "source": [ |
962 | | - "# Save your notebook first, then run this cell to export your submission.\n", |
963 | | - "grader.export(pdf=False, run_tests=True)" |
964 | | - ] |
965 | | - }, |
966 | | - { |
967 | | - "cell_type": "markdown", |
968 | | - "metadata": {}, |
969 | | - "source": [ |
970 | | - " " |
| 951 | + "If the Gradescope autograder fails, please check here first for common reasons for it to fail\n", |
| 952 | + " https://docs.google.com/presentation/d/1tYa5oycUiG4YhXUq5vHvPOpWJ4k_xUPp2rUNIL7Q9RI/edit?usp=sharing\n", |
| 953 | + "\n", |
| 954 | + "Most likely failure for this assignment is not naming the data directory and files correctly; capitalization matters for the Gradescope grader. " |
971 | 955 | ] |
972 | 956 | } |
973 | 957 | ], |
|
987 | 971 | "name": "python", |
988 | 972 | "nbconvert_exporter": "python", |
989 | 973 | "pygments_lexer": "ipython3", |
990 | | - "version": "3.11.4" |
| 974 | + "version": "3.11.7" |
991 | 975 | }, |
992 | 976 | "otter": { |
993 | 977 | "OK_FORMAT": true, |
|
0 commit comments