Navigation
index
next
|
A worked example on scientific computing with Python
»
A worked example on scientific computing with Python
¶
Contents:
A worked example on scientific computing with Python
Optimal background for reading this note
A scientific application
Physical problem and mathematical model
Numerical model
Simple implementation
Dissection of the code
More advanced implementation
Dissection of the code
The excitation force
A high-level solve function
Storing Python objects in files
Computing the root mean square value
User input
Positional command-line arguments
Option-value pairs on the command line
Visual exploration
Test case
Importing array and plot functionality
Reading results from file
Plotting
u
Computing and plotting
u
′
Vectorized computation of
u
′
Computing the spectrum of signals
Multiple plots in the same figure
Advanced topics
Symbolic computing via SymPy
Testing
Example on a test function
Test function for the numerical solver
Using a test framework
Modules
Appendix: Quick motivation for programming with Python
Appendix: Scientific Python resources
Full tutorials on scientific programming with Python
NumPy resources
Useful resources
Some relevant Python books
Course material on Python programming in general
Index
¶
Index
Table Of Contents
A worked example on scientific computing with Python
Index
Next topic
A worked example on scientific computing with Python
This Page
Show Source
Quick search
Navigation
index
next
|
A worked example on scientific computing with Python
»