Weekly assignments
- Assignment 1, due September 17.
Also download the coding standards files - Assignment 2, due September 24.
Also download a code that hints at how to make bin counts. - Assignment 3, due October 1.
Also files that illustrate event driven simulation- EventDrivenSimulation.py. Code that implements a simple event-driven simulation
- EventDrivenSimulation.pdf. An explanation of event-driven simulation and the code
- ArrivalDecayProcess.pdf. Sample output.
- Assignment 4, due October 8.
Also the data handling modules and data files- FakeData.py. Code that makes fake data
- DataAnalysis.py. Code that reads from data files
- DataInfo.py. The ascii text file describing the data.
- ModelParameters. A binary file with model parameters.
- TimeSeries. A binary file containing the (fake) data.
- DataInfo2.py. An ascii text file describing another data.
- ModelParameters2. Another binary file with model parameters.
- TimeSeries2. Another binary file containing the (fake) data.
- Assignment 5, due October 29.
Files about making movies in Python- colorWaveMovie.pdf. Notes on how to make a color movie of the kind Assignment 5 asks for.
- colorWaveMovie.py. Code makes a sample movie, explained in the pdf file above.
- colorWaveMovie.mp4. The movie produced by the Python code above. The code should make the same movie on your computer.
- Assignment 6, due November 12.
- PythonForSmarties.pdf.
Notes on Python coding, updated. See Section 10 on using
class instances to communicate a target function defined by
data to another function.
- classDemo.py. The code for Figure 13.
- Assignment6Codes.pdf. An explanation of coding methods for this assignment.
- FakeData.py. The code used to make fake data for this assignment. Feel free to make other fake datasets and see how the data fit routines work.
- modelFit.py. Code that reads and plots data from a fake data file. This demonstrates how a Python module can get information from the command line.
- run2RawData.pdf. An example of a plot of raw data from a data file.
- PythonForSmarties.pdf.
Notes on Python coding, updated. See Section 10 on using
class instances to communicate a target function defined by
data to another function.
- Assignment 7, due November 19.