.. include:: sub.txt =============================================== Reinforced Concrete Frame Earthquake Analysis =============================================== #. The source code is shown below, which can be downloaded :download:`here `. #. The file for gravity analysis is also needed :download:`here `. #. The ReadRecord is a useful python function for parsing the PEER strong motion data base files and returning the ``dt``, ``nPts`` and creating a file containing just data points. The function is kept in a seperate file :download:`here ` and is imported in the example. #. The ground motion data file :download:`here ` must be put in the same folder. #. Run the source code in your favorite Python program and should see ``Passed!`` in the results and a plotting of displacement for node 3 .. image:: /_static/RCFrameEarthquake.png .. literalinclude:: /pyExamples/RCFrameEarthquake.py :linenos: