Skip to content

Commit

Permalink
From refs/heads/main 731a4bf
Browse files Browse the repository at this point in the history
  • Loading branch information
SusanEAllen committed May 1, 2024
0 parents commit b1bb8ba
Show file tree
Hide file tree
Showing 112 changed files with 48,137 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a04813c0986e8ad766c0ad5c80985d25
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#GitHub Pages

Last update of sphinx html documentation from [731a4bf](https://github.com/rhwhite/numeric_2024/tree/731a4bf692f1979a2e0aab3b9d4012aa60f2a4b9)
Binary file added _images/C_cycle_problem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/beta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/det-plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/euler.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/float1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/midpoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/steady_b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/steady_bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/steady_g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/steady_w.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/taylor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/temp_b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/temp_bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/temp_g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/temp_w.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions _sources/getting_started.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Getting started
===============

.. toctree::

Installation <getting_started/installing_jupyter.ipynb>

Python introduction <https://phaustin.github.io/pyman>

Next steps <getting_started/python.ipynb>

VS code notes <getting_started/vscode.ipynb>
186 changes: 186 additions & 0 deletions _sources/getting_started/installing_jupyter.ipynb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Student installs\n",
"\n",
"**If you already have conda or anaconda installed, skip to `Git install` below**\n",
"\n",
"\n",
"\n",
"## For MacOS new installs\n",
"\n",
"\n",
"1. Download miniconda from https://docs.conda.io/en/latest/miniconda.html -- choose the correct `Miniconda3 MacOSX 64-bit pkg` file for your Mac (Intel chip or new M1/M2 Silicon) from the menu and run it, agreeing to the licences and accepting all defaults. You should install for \"just me\"\n",
"\n",
"2. To test your installation, open a fresh terminal window and at the prompt type `which conda` (unless you are using zsh. In that case use `whence -p conda`). You should see something resembling the following output, with your username instead of `phil`:\n",
"\n",
"```\n",
"% which conda\n",
"/Users/phil/opt/miniconda3/bin/conda\n",
"```\n",
"\n",
"## For Windows new installs\n",
"\n",
"1. Download miniconda from https://docs.conda.io/en/latest/miniconda.html -- choose the `Miniconda3 Windows 64-bit`. download from the menu and run it, agreeing to the licences and accepting all defaults.\n",
"\n",
"The installer should suggest installing in a path that looks like:\n",
"\n",
"```\n",
"C:\\Users\\phil\\Miniconda3\n",
"```\n",
"\n",
"2. Once the install completes hit the windows key and start typing `anaconda`. You should see a shortcut that looks like:\n",
"\n",
"```\n",
"Anaconda Powershell Prompt\n",
"(Miniconda3)\n",
"```\n",
"\n",
"**Note that Windows comes with two different terminals `cmd` (old) and `powershell` (new). Always select the powershell version of the anaconda terminal**\n",
"\n",
"3. Select the short cut. If the install was successful you should see something like:\n",
"\n",
"```\n",
"(base) (Miniconda3):Users/phil>\n",
"```\n",
"with your username substituted for phil.\n",
"\n",
"Some useful troubleshooting websites if you have issues getting conda installed on windows: \n",
"https://stackoverflow.com/questions/54501167/anaconda-and-git-bash-in-windows-conda-command-not-found\n",
"https://stackoverflow.com/questions/44597662/conda-command-is-not-recognized-on-windows-10\n",
"\n",
"## Git install\n",
"\n",
"Inside your powershell or MacOs terminal, install git using conda:\n",
"\n",
"```\n",
"conda install git\n",
"```\n",
"\n",
"and then set it up\n",
"\n",
"```\n",
"git config --global user.name \"Phil\"\n",
"git config --global user.email [email protected]\n",
"```\n",
"\n",
"## Github account\n",
"\n",
"To use the course materials and to work collaboratively for the project, you will need a github account. Sign up for a free account at https://github.com if you don't already have one - you will need to use the same address you configured git for above. \n",
"\n",
"Once you have your github account, you will need to set up a secure way to connect. If you think you might use github a lot, we recommend setting up an ssh connection - this is a longer set-up process, but then quicker each time you want to connect to git. Follow the instructions here: \n",
"\n",
"https://docs.github.com/en/authentication/connecting-to-github-with-ssh\n",
"\n",
"A quicker set-up is to create a Personal Access Token. Follow the instructions here:\n",
"https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic\n",
"\n",
"Once you have a personal access token, you can enter it instead of your password when performing Git operations over HTTPS (see https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#using-a-personal-access-token-on-the-command-line). \n",
"\n",
"## Fork the course repository into your github account\n",
"\n",
"Now go to the course website at https://github.com/rhwhite/numeric_2024 and fork the repository. The 'fork' button is on the upper right. This creates a 'fork' or copy of the current status of the repository in your account. \n",
"\n",
"You now have your own fork of the course repository and should be taken to that page. Its name will be YourGitHubId/numeric_2024\n",
"\n",
"## Setting up the course repository\n",
"\n",
"In the terminal, change directories to your home directory (called `~` for short) and make a new directory\n",
"called `repos` to hold the course notebook repository. Change into `repos` and clone the course (do change YourGitHubId to your actual git hub id):\n",
"\n",
"```\n",
"cd ~\n",
"mkdir repos\n",
"cd repos\n",
"git clone https://github.com/YourGitHubId/numeric_2024.git\n",
"```\n",
"\n",
"## Creating the course environment\n",
"\n",
"In the terminal, execute the following commands:\n",
"\n",
"```\n",
"cd numeric_2024\n",
"conda env create -f envs/environment.yaml\n",
"conda activate numeric_2024\n",
"```\n",
"\n",
"## Opening the notebook folder and working with lab 1\n",
"\n",
"To make it possible to pull down changes to the repository (for example, as I write this section only lab1 and lab2 are available) you need to work in a copy of the notebook. So always copy the notebook to a new name. See below an example for lab1. I suggest you use your name rather than phil!\n",
"\n",
"```\n",
"cd ~/repos/numeric_2024/notebooks\n",
"cp lab1/01-lab1.ipynb lab1/phil-lab1.ipynb\n",
"jupyter lab\n",
"```\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"jupytext": {
"cell_metadata_filter": "all",
"formats": "ipynb,py:percent",
"notebook_metadata_filter": "all,-language_info,-toc,-latex_envs"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
"autoclose": false,
"autocomplete": true,
"bibliofile": "biblio.bib",
"cite_by": "apalike",
"current_citInitial": 1,
"eqLabelWithNumbers": true,
"eqNumInitial": 1,
"hotkeys": {
"equation": "meta-9"
},
"labels_anchors": false,
"latex_user_defs": false,
"report_style_numbering": false,
"user_envs_cfg": false
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": true
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Loading

0 comments on commit b1bb8ba

Please sign in to comment.