|
3 | 3 | import pandas as pd
|
4 | 4 | import matplotlib.pyplot as plt
|
5 | 5 |
|
| 6 | +######### |
| 7 | +# line of run c:\users\normando\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\scripts\streamlit.exe run SpecNec_executable_streamlit.py |
| 8 | +######### |
6 | 9 |
|
7 | 10 | # Load and display the image
|
8 | 11 | image_path = 'https://raw.githubusercontent.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/main/fun_SPEC_NEC/logo_TorreFuerte.png'
|
|
31 | 34 | '''
|
32 | 35 | )
|
33 | 36 |
|
| 37 | + |
| 38 | +st.markdown('##### :ledger: **About the Author**') |
| 39 | +with st.expander("**Click to read more**"): |
| 40 | + coll1, coll2 = st.columns([1,1]) |
| 41 | + with coll1: |
| 42 | + st.image("https://raw.githubusercontent.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/main/fun_SPEC_NEC/pages/assets/foto.jpg", width= 350) |
| 43 | + with coll2: |
| 44 | + st.markdown( |
| 45 | + """ |
| 46 | + ### **Short Curriculum Vitae Overview**. |
| 47 | +
|
| 48 | + I am Ecuadorian, I have a Master's degree in Structural Engineering with a **SUMMA CUM LAUDE** distinction from the National Polytechnic School. With over 15 years of experience, I have notably provided structural consultancy for buildings surpassing 140 meters in height. I am currently affiliated with the Department of Civil Engineering at the [**Pontifical Catholic University of Ecuador**](https://www.puce.edu.ec/). My primary research domain is nonlinear mathematical modeling, leading to several |
| 49 | + international scientific publications. My ongoing projects include: |
| 50 | + |
| 51 | + * The Application of Artificial Neural Networks (ANN) in Estimating Local Fragility in Zero-Length Elements. |
| 52 | + * Generating Synthetic Accelerograms based on Chaos Theory and Wavelets. |
| 53 | + * Participation in the 'Training And Communication for Earthquake Risk Assessment - GEM' project. |
| 54 | + |
| 55 | + """ |
| 56 | + ) |
| 57 | + |
34 | 58 | st.markdown('##### :ledger: **More Information**')
|
35 | 59 | with st.expander("**Click to read more**"):
|
36 | 60 | j1, j2 = st.columns([1, 2])
|
|
63 | 87 | st.markdown('You can read the documentation at [**Function: fun_Nec(n, z, I, fads, r, R, fip, fie, TR)**](https://github.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/tree/main/fun_SPEC_NEC)')
|
64 | 88 |
|
65 | 89 |
|
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | +###################################### |
| 94 | + |
66 | 95 | n = st.number_input('**n**: Ratio between spectral ordinates **Sa(T = 0.1 s)** and **PGA**:', value=2.48, step=0.1)
|
67 | 96 | z = st.number_input('**z**: Maximum expected acceleration (fraction of gravitational acceleration):', value=0.4, step=0.1)
|
68 | 97 |
|
|
87 | 116 | r = st.number_input('**r**: Geographic zone factor [for Ecuador]:', value=1.0, step=0.1)
|
88 | 117 |
|
89 | 118 |
|
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | +##################################################### |
| 123 | + |
90 | 124 | fads = [fa, fd, fs]
|
91 | 125 | To = 0.10 * fads[2] * fads[1] / fads[0]
|
92 | 126 | Tc = 0.55 * fads[2] * fads[1] / fads[0]
|
|
0 commit comments