.. include:: sub.txt ============================= RotD Spectra of Ground Motion ============================= #. The source code is developed by `Jawad Fayaz `_ from University of California- Irvine. #. The source code is shown below, which can be downloaded :download:`here `. #. Also download the code to read the provided GM file :download:`here `. #. The example bi-directional ground motion time histories are given :download:`GM11 `, :download:`GM21 `, :download:`GM12 `, :download:`GM22 `. #. Run the source code in any Python IDE (e.g Spyder, Jupyter Notebook) and should see .. image:: /_static/example_RotD50_Spectra.png .. image:: /_static/example_RotD100_Spectra.png .. literalinclude:: /pyExamples/example_RotD_Spectra_Generation.py