Skip to content

Commit f8b53ff

Browse files
authored
Update SpecNec_executable_streamlit.py
1 parent e26997d commit f8b53ff

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

fun_SPEC_NEC/SpecNec_executable_streamlit.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
import pandas as pd
44
import matplotlib.pyplot as plt
55

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+
#########
69

710
# Load and display the image
811
image_path = 'https://raw.githubusercontent.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/main/fun_SPEC_NEC/logo_TorreFuerte.png'
@@ -31,6 +34,27 @@
3134
'''
3235
)
3336

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+
3458
st.markdown('##### :ledger: **More Information**')
3559
with st.expander("**Click to read more**"):
3660
j1, j2 = st.columns([1, 2])
@@ -63,6 +87,11 @@
6387
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)')
6488

6589

90+
91+
92+
93+
######################################
94+
6695
n = st.number_input('**n**: Ratio between spectral ordinates **Sa(T = 0.1 s)** and **PGA**:', value=2.48, step=0.1)
6796
z = st.number_input('**z**: Maximum expected acceleration (fraction of gravitational acceleration):', value=0.4, step=0.1)
6897

@@ -87,6 +116,11 @@
87116
r = st.number_input('**r**: Geographic zone factor [for Ecuador]:', value=1.0, step=0.1)
88117

89118

119+
120+
121+
122+
#####################################################
123+
90124
fads = [fa, fd, fs]
91125
To = 0.10 * fads[2] * fads[1] / fads[0]
92126
Tc = 0.55 * fads[2] * fads[1] / fads[0]

0 commit comments

Comments
 (0)