Menu

Tree [r2807] / trunk / course / projects / sethna /
 History

HTTPS access


File Date Author Commit
 01-chaos_lyapunov 2005-06-04 fer_perez [r1425] *** empty log message ***
 02-invariant_measures 2005-06-04 fer_perez [r1425] *** empty log message ***
 03-period_doubling 2005-06-04 fer_perez [r1425] *** empty log message ***
 04-fractal_dimensions 2005-06-04 fer_perez [r1425] *** empty log message ***
 README 2005-06-04 fer_perez [r1425] *** empty log message ***
 src_ori.tgz 2005-06-04 fer_perez [r1425] *** empty log message ***

Read Me

These are the four exercises on the logistic map from

http://www.physics.cornell.edu/sethna/StatMech/ComputerExercises/ChaosLyapunov/ChaosLyapunov.html
http://www.physics.cornell.edu/sethna/StatMech/ComputerExercises/InvariantMeasure/InvariantMeasure.html
http://www.physics.cornell.edu/sethna/StatMech/ComputerExercises/PeriodDoubling/PeriodDoubling.html
http://www.physics.cornell.edu/sethna/StatMech/ComputerExercises/FractalDimensions/FractalDimensions.html

The src_ori.tgz contains the original Python sources only, without any of
the exercise PDF sheets.


Changes notes
=============

C. Myers is interested in improvements to their code.  Let's keep track here
of what why we do certain things, to have a mini-changelog for them later.

- Use docstrings with the first line being non-empty, and non-continuing.
Many automated tools extract the first docstring line for library summaries.

- the args=() trick is very non-standard.  Better use *args if needed.  But
the logistic map examples are much more cleanly done via a closure or a
callable class.

- Instead of scipy.arange, use pylab.frange.  It's easier to use, the npts
parameter makes it clearer in most cases, and it defaults to closed intervals
so there's no need to have warnings about edge effects.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.