Skip to content

Commit

Permalink
Merge pull request #22 from neuromatch/activities-improvement
Browse files Browse the repository at this point in the history
Activities Update
  • Loading branch information
glibesyck authored Oct 27, 2024
2 parents 8a3c5da + 29100a6 commit 18768f8
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 27 deletions.
20 changes: 17 additions & 3 deletions tutorials/W1D2_OpenToolsAndResources/W1D2_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1163,17 +1163,31 @@
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso2.jpg?raw=true\" width = 400 alt = \"Expected interface.\"/>\n",
"\n",
"4. You can take a little time to breeze through the text and code in the Notebook, but keep in mind that this lesson assumes a lot of prior knowledge, so it’s ok if you don’t understand everything. You can still appreciate the nice plots you’re about to make!\n",
"5. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n",
"5. This notebook lacks one important line of code, so we would like to ask you to add one in the very first cell on top of all of the statements!\n",
"\n",
"`!pip install backports.tarfile`\n",
"\n",
"Thus, the first cell should look like this:\n",
"\n",
"```\n",
"!pip install backports.tarfile\n",
"import cartopy.crs as ccrs\n",
"import matplotlib.pyplot as plt\n",
"import xarray as xr\n",
"from pythia_datasets import DATASETS\n",
"```\n",
"\n",
"6. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso3.jpg?raw=true\" width = 400 alt = \"Run all Cells Command.\"/>\n",
"\n",
"6. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:<br>*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n",
"7. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:<br>*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso4.jpg?raw=true\" width = 500 alt = \"Expected plot (part 1).\"/>\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/image44.jpeg?raw=true\" width = 500 alt = \"Expected plot (part 2).\"/>\n",
"\n",
"7. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n",
"8. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n",
"\n",
"You can peruse more of the Project Pythia Python learning resources via their [Foundations Book](https://foundations.projectpythia.org/landing-page.html), and you can view more advanced example research workflows in the geosciences that use computational notebooks (which they call \"[Cookbooks](https://cookbooks.projectpythia.org/)\") to see more examples of how notebooks are used in science. If you are interested in the geosciences, you can even contribute your own notebook if you have a notebook you'd like to share!\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1163,17 +1163,31 @@
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso2.jpg?raw=true\" width = 400 alt = \"Expected interface.\"/>\n",
"\n",
"4. You can take a little time to breeze through the text and code in the Notebook, but keep in mind that this lesson assumes a lot of prior knowledge, so it’s ok if you don’t understand everything. You can still appreciate the nice plots you’re about to make!\n",
"5. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n",
"5. This notebook lacks one important line of code, so we would like to ask you to add one in the very first cell on top of all of the statements!\n",
"\n",
"`!pip install backports.tarfile`\n",
"\n",
"Thus, the first cell should look like this:\n",
"\n",
"```\n",
"!pip install backports.tarfile\n",
"import cartopy.crs as ccrs\n",
"import matplotlib.pyplot as plt\n",
"import xarray as xr\n",
"from pythia_datasets import DATASETS\n",
"```\n",
"\n",
"6. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso3.jpg?raw=true\" width = 400 alt = \"Run all Cells Command.\"/>\n",
"\n",
"6. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:<br>*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n",
"7. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:<br>*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso4.jpg?raw=true\" width = 500 alt = \"Expected plot (part 1).\"/>\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/image44.jpeg?raw=true\" width = 500 alt = \"Expected plot (part 2).\"/>\n",
"\n",
"7. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n",
"8. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n",
"\n",
"You can peruse more of the Project Pythia Python learning resources via their [Foundations Book](https://foundations.projectpythia.org/landing-page.html), and you can view more advanced example research workflows in the geosciences that use computational notebooks (which they call \"[Cookbooks](https://cookbooks.projectpythia.org/)\") to see more examples of how notebooks are used in science. If you are interested in the geosciences, you can even contribute your own notebook if you have a notebook you'd like to share!\n",
"\n",
Expand Down
20 changes: 17 additions & 3 deletions tutorials/W1D2_OpenToolsAndResources/student/W1D2_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1163,17 +1163,31 @@
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso2.jpg?raw=true\" width = 400 alt = \"Expected interface.\"/>\n",
"\n",
"4. You can take a little time to breeze through the text and code in the Notebook, but keep in mind that this lesson assumes a lot of prior knowledge, so it’s ok if you don’t understand everything. You can still appreciate the nice plots you’re about to make!\n",
"5. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n",
"5. This notebook lacks one important line of code, so we would like to ask you to add one in the very first cell on top of all of the statements!\n",
"\n",
"`!pip install backports.tarfile`\n",
"\n",
"Thus, the first cell should look like this:\n",
"\n",
"```\n",
"!pip install backports.tarfile\n",
"import cartopy.crs as ccrs\n",
"import matplotlib.pyplot as plt\n",
"import xarray as xr\n",
"from pythia_datasets import DATASETS\n",
"```\n",
"\n",
"6. You are now ready to run the notebook yourself! To do that, you can go to the \"Run\" menu in the upper left of the JupyterLab window and choose \"Run All Cells\":\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso3.jpg?raw=true\" width = 400 alt = \"Run all Cells Command.\"/>\n",
"\n",
"6. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:<br>*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n",
"7. This should only take a few seconds, and if you scroll down, you can view a couple nice visualizations that you just created:<br>*Use the \"\\<\" and \"\\>\" buttons to navigate between the images.*\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/calculatingenso4.jpg?raw=true\" width = 500 alt = \"Expected plot (part 1).\"/>\n",
"\n",
" <img src=\"https://github.com/neuromatch/nasa-open-science/blob/main/tutorials/W1D2_OpenToolsAndResources/static/image44.jpeg?raw=true\" width = 500 alt = \"Expected plot (part 2).\"/>\n",
"\n",
"7. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n",
"8. Take some time to look through the Notebook a bit more closely. You will see that there is text (including headers, links, and even a table right at the start!), code, and figures integrated together. This is just one example of how scientists use computational notebooks for their research.\n",
"\n",
"You can peruse more of the Project Pythia Python learning resources via their [Foundations Book](https://foundations.projectpythia.org/landing-page.html), and you can view more advanced example research workflows in the geosciences that use computational notebooks (which they call \"[Cookbooks](https://cookbooks.projectpythia.org/)\") to see more examples of how notebooks are used in science. If you are interested in the geosciences, you can even contribute your own notebook if you have a notebook you'd like to share!\n",
"\n",
Expand Down
2 changes: 2 additions & 0 deletions tutorials/W1D3_OpenData/W1D3_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,8 @@
"\n",
"Take a look at the examples of a public data management plan from [New Jersey Institute of Technology](https://dmptool.org/plans/102783/export.pdf?export%5Bpub%5D=true&export%5Bquestion_headings%5D=true) and from [University of California San Diego](https://library.ucsd.edu/research-and-collections/research-data/_files/dmpsample/DMP-Example-Psych.doc).\n",
"\n",
"If direct link for the University of California San Diego doesn't work for you, please visit the [following link](https://library.ucsd.edu/research-and-collections/research-data/plan-and-manage/sample-nsf-data-management-plans.html), scroll to the end of the page and open `DMP Example Psych.doc` document.\n",
"\n",
"Answer the following questions regarding these DMPs in a group:\n",
"\n",
"1. What: Data formats and (where relevant) standards.\n",
Expand Down
2 changes: 2 additions & 0 deletions tutorials/W1D3_OpenData/instructor/W1D3_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,8 @@
"\n",
"Take a look at the examples of a public data management plan from [New Jersey Institute of Technology](https://dmptool.org/plans/102783/export.pdf?export%5Bpub%5D=true&export%5Bquestion_headings%5D=true) and from [University of California San Diego](https://library.ucsd.edu/research-and-collections/research-data/_files/dmpsample/DMP-Example-Psych.doc).\n",
"\n",
"If direct link for the University of California San Diego doesn't work for you, please visit the [following link](https://library.ucsd.edu/research-and-collections/research-data/plan-and-manage/sample-nsf-data-management-plans.html), scroll to the end of the page and open `DMP Example Psych.doc` document.\n",
"\n",
"Answer the following questions regarding these DMPs in a group:\n",
"\n",
"1. What: Data formats and (where relevant) standards.\n",
Expand Down
2 changes: 2 additions & 0 deletions tutorials/W1D3_OpenData/student/W1D3_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,8 @@
"\n",
"Take a look at the examples of a public data management plan from [New Jersey Institute of Technology](https://dmptool.org/plans/102783/export.pdf?export%5Bpub%5D=true&export%5Bquestion_headings%5D=true) and from [University of California San Diego](https://library.ucsd.edu/research-and-collections/research-data/_files/dmpsample/DMP-Example-Psych.doc).\n",
"\n",
"If direct link for the University of California San Diego doesn't work for you, please visit the [following link](https://library.ucsd.edu/research-and-collections/research-data/plan-and-manage/sample-nsf-data-management-plans.html), scroll to the end of the page and open `DMP Example Psych.doc` document.\n",
"\n",
"Answer the following questions regarding these DMPs in a group:\n",
"\n",
"1. What: Data formats and (where relevant) standards.\n",
Expand Down
8 changes: 2 additions & 6 deletions tutorials/W1D4_OpenCode/W1D4_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,7 @@
"\n",
"*Estimated time for activity: 7 minutes*\n",
"\n",
"In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! \n",
"\n",
"Share your search story in the group by proposing the queries you entered to find this precious software. "
"In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! "
]
},
{
Expand Down Expand Up @@ -1533,9 +1531,7 @@
"\n",
"- Find and browse through the websites associated with two communities of practice listed in the previous section, \"Connect with Communities,\" or explore more of the options if the proposed ones are not of particular interest to you.\n",
" \n",
"- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc.\n",
"\n",
"Discuss your findings in a group."
"- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc."
]
},
{
Expand Down
8 changes: 2 additions & 6 deletions tutorials/W1D4_OpenCode/instructor/W1D4_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,7 @@
"\n",
"*Estimated time for activity: 7 minutes*\n",
"\n",
"In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! \n",
"\n",
"Share your search story in the group by proposing the queries you entered to find this precious software. "
"In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! "
]
},
{
Expand Down Expand Up @@ -1533,9 +1531,7 @@
"\n",
"- Find and browse through the websites associated with two communities of practice listed in the previous section, \"Connect with Communities,\" or explore more of the options if the proposed ones are not of particular interest to you.\n",
" \n",
"- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc.\n",
"\n",
"Discuss your findings in a group."
"- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc."
]
},
{
Expand Down
8 changes: 2 additions & 6 deletions tutorials/W1D4_OpenCode/student/W1D4_Tutorial1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,7 @@
"\n",
"*Estimated time for activity: 7 minutes*\n",
"\n",
"In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! \n",
"\n",
"Share your search story in the group by proposing the queries you entered to find this precious software. "
"In this activity, you are invited to find open-source code resources that might be beneficial for your current research and/or studies! You can start your searches with something general, such as \"spike sorting\", and then end with more specific to your particular area; who knows, you might find a lab that practices similar research techniques as your own! "
]
},
{
Expand Down Expand Up @@ -1533,9 +1531,7 @@
"\n",
"- Find and browse through the websites associated with two communities of practice listed in the previous section, \"Connect with Communities,\" or explore more of the options if the proposed ones are not of particular interest to you.\n",
" \n",
"- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc.\n",
"\n",
"Discuss your findings in a group."
"- Identify at least two points of entry for engagement, e.g., an upcoming event (virtual or in person), how you could contribute, forums, etc."
]
},
{
Expand Down

0 comments on commit 18768f8

Please sign in to comment.