- Notifications
You must be signed in to change notification settings - Fork9
"Computational modeling and visualization" resource repository
NotificationsYou must be signed in to change notification settings
com-py/compy
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Computational modeling and visualization with Python (Wiley, 2016)
The latest source programs, library and data files for the book are deposited here and athttps://jwang.sites.umassd.edu/
Sep. 2017: Updated input() function compatibility between Python 2.xx and 3.xx to affected programs (Original versions can be found in
v1.0folder). To summarize, all codes (.py and .ipynb) should run under Python 2.7x and 3.xx as follows:Programs using
matplotlibnow utilize thenotebookbackend, enabling users to interactively manipulate plots such as zoom and save in nearly the same way as the standard .py versions run from a terminal. In addition, programs usingmatplotlibanimation (Programs 8.1, 10.2, and 11.4) work correctly in Jupyter notebook.
This update fixes the compatibility in spherical Bessel functions between
SciPyversions 0.x.x and 1.x.x. In version 1.x.x, the name is changed fromsph_jn/yntospherical_jn/yn, its signature is also different. With this fix, the program automatically detects theSciPyversion and should work under either version.
.py codes using classic VPython (
visual) will generally not run in either Jupyter or in a terminal because of changes in latest vpython versions. While one could slightly modify the .py programs to run from a terminal, the easiest way is to run the corresponding .ipynb programs instead. If you have to run from a terminal, refer to the .ipynb counterpart on necessary modifications (mostly related to vectors and canvas) to make it work.
Computational modeling forum:https://groups.google.com/forum/#!forum/comphys
About
"Computational modeling and visualization" resource repository
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
