Skip to content

Commit 126a726

Browse files
authored
Merge pull request #1 from jsdodge/dev
Update notebooks to use f-strings instead of format method
2 parents 967520e + f0d32c8 commit 126a726

23 files changed

+336
-586
lines changed

.gitignore

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1+
# From macOS.gitignore
12
.DS_Store
2-
.ipynb_checkpoints
3+
4+
# From Emacs.gitignore
35
*~
4-
*-eps-converted-to.pdf
5-
*.aux
6-
*.bbl
7-
*.blg
8-
*.log
9-
*.synctex.gz
10-
Lanczos3.dat
11-
Norris.dat
12-
download
13-
import-file-test.ipynb
14-
**/Untitled.ipynb
15-
student_feedback
166

7+
# From JupyterNotebooks.gitignore
8+
.ipynb_checkpoints
9+
10+
# From JetBrains.gitignore
1711
# User-specific stuff
1812
.idea/**/workspace.xml
1913
.idea/**/tasks.xml
2014
.idea/**/usage.statistics.xml
2115
.idea/**/dictionaries
2216
.idea/**/shelf
17+
18+
# Local
19+
Lanczos3.dat
20+
Norris.dat
21+
download
22+
import-file-test.ipynb
23+
**/Untitled.ipynb
24+
student_feedback
25+
**/www.itl.nist.gov/
26+
mindevfit.eps

.idea/data-analysis-python.iml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE-TEXT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
1+
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# data-analysis-python
1+
# Data analysis with Python
22

3-
This repository contains instructional materials for learning data analysis for applications in the physical sciences. They are in the form of [Jupyter](https://jupyter-notebook.readthedocs.io/en/latest/) notebooks using the [Python](https://docs.python.org/3/tutorial/index.html) programming language. A suitable textbook to accompany these materials is [*Measurements and their Uncertainties*](http://www.oupcanada.com/catalog/9780199566334.html), by Hughes and Hase.
3+
This repository contains instructional materials for learning data analysis for applications in the physical sciences. They are in the form of [Jupyter](https://jupyter-notebook.readthedocs.io/en/latest/) notebooks using the [Python](https://docs.python.org/3/tutorial/index.html) programming language. A suitable textbook to accompany these materials is [*Measurements and their Uncertainties*](https://www.oupcanada.com/catalog/9780199566334.html), by Hughes and Hase.
44

5-
These materials are a work in progress and I welcome feedback at <[email protected]>.
5+
These materials are a work in progress and I welcome feedback at [[email protected]](mailto:[email protected]).
66

77
![Curve-fitting, XKCD](https://imgs.xkcd.com/comics/curve_fitting.png)
88

@@ -11,8 +11,8 @@ Image credit: *Curve-fitting*, by [XKCD](https://xkcd.com/2048/)
1111
## How to use these materials
1212
You should be able to read, run, and modify the notebooks in this repository following any one of the following methods.
1313

14-
If you are an SFU student, you will probably want to use Syzygy, which you can sign in to with your SFU Computing Account. [Syzygy](https://sfu.syzygy.ca/) is a cloud-based Jupyter notebook server hosted by [Compute Canada](https://www.computecanada.ca/). To upload the notebooks into your SFU Syzygy account:
15-
* Use this [link](https://sfu.syzygy.ca/jupyter/hub/user-redirect/git-pull?repo=https://gitlab.phys.sfu.ca/physcrs/course-material-phys233.git&branch=master), which should upload the contents of all the folders in the PHYS 233 repository directly to your syzygy account. Syzygy will prompt you to log in if you are not already logged in. You can also use this link to upload changes to the notebooks that occur during the course.
14+
If you are an SFU student, you will probably want to use Syzygy, which you can sign in to with your SFU Computing Account. [Syzygy](https://sfu.syzygy.ca/) is a cloud-based Jupyter notebook server hosted by the [Digital Research Alliance of Canada](https://alliancecan.ca/en). To upload the notebooks into your SFU Syzygy account:
15+
* Use this [link](https://sfu.syzygy.ca/jupyter/hub/user-redirect/git-pull?repo=https://github.com/jsdodge/data-analysis-python.git&branch=main), which should upload the contents of all the folders in the PHYS 233 repository directly to your syzygy account. Syzygy will prompt you to log in if you are not already logged in. You can also use this link to upload changes to the notebooks that occur during the course.
1616
* Or download the folder as a .zip file, unpack it into a folder, and upload the files to sfu.syzygy.ca.
1717

1818
Within the Syzygy interface, open the `.ipynb` notebook files in the `notebooks` directory to read the documentation and run the code.
@@ -26,4 +26,4 @@ Or you can copy the notebooks into the [Google Colab](https://colab.research.goo
2626
These materials were written and tested in Python 3.7, including the [NumPy](https://docs.scipy.org/doc/numpy/reference/index.html) (1.17), [matplotlib](https://matplotlib.org/users/index.html) (3.1), and [SciPy](https://docs.scipy.org/doc/scipy/reference/tutorial/index.html) (1.3) packages. There are many more packages available for doing data analysis in Python, but these three include everything a practicing physicist needs to get started.
2727

2828
## License
29-
The notebook text is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. See more at [Creative Commons](http://creativecommons.org/licenses/by-nc-nd/4.0/). The notebook code is open source under the [MIT License](https://opensource.org/licenses/MIT).
29+
The notebook text is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. See more at [Creative Commons](https://creativecommons.org/licenses/by-nc-nd/4.0/). The notebook code is open source under the [MIT License](https://opensource.org/licenses/MIT).

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name: pydata
44
channels:
55
- defaults
66
dependencies:
7+
- jupyter
78
- jupyterlab
89
- matplotlib
910
- notebook

0 commit comments

Comments
 (0)