|
7 | 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 | 8 | #########
|
9 | 9 |
|
10 |
| -# Load and display the image |
| 10 | +######################################################## header ######################################################## |
11 | 11 | image_path = 'https://raw.githubusercontent.com/Normando1945/Simple-Python-Matlab-JavaSript-Functions-Collection/main/fun_SPEC_NEC/logo_TorreFuerte.png'
|
12 | 12 | st.image(image_path, use_column_width=True)
|
13 | 13 |
|
|
25 | 25 |
|
26 | 26 | st.markdown('You can find me on : [](https://fragrant-knight-4af.notion.site/Main-Page-5c5f007b3f3f4c76a604960d9dbffca7?pvs=4)[](https://github.com/Normando1945)[](https://www.researchgate.net/profile/Carlos-Celi)[](https://scholar.google.com.ec/citations?hl=es&user=yR4Gz7kAAAAJ)')
|
27 | 27 |
|
28 |
| -###################################### Author ######################################################### |
| 28 | +######################################################## Author ######################################################## |
29 | 29 | st.markdown('##### 😎 **About the Author**')
|
30 | 30 | with st.expander("**Click to read more**"):
|
31 | 31 | coll1, coll2 = st.columns([1,1])
|
|
71 | 71 | """
|
72 | 72 | )
|
73 | 73 |
|
74 |
| -###################################### Description ######################################################### |
| 74 | +######################################################## Description ######################################################## |
75 | 75 | st.markdown(
|
76 | 76 | '''
|
77 | 77 | ##### :open_book: Description
|
|
81 | 81 | '''
|
82 | 82 | )
|
83 | 83 |
|
84 |
| -###################################### More Information ######################################################### |
| 84 | +######################################################## More Information ######################################################## |
85 | 85 | st.markdown('##### :ledger: **More Information about this Simple App**')
|
86 | 86 | with st.expander("**Click to read more**"):
|
87 | 87 | j1, j2 = st.columns([1, 2])
|
|
116 | 116 |
|
117 | 117 |
|
118 | 118 |
|
119 |
| - |
120 |
| -###################################### |
| 119 | +######################################################## user parameters ######################################################## |
121 | 120 |
|
122 | 121 | n = st.number_input('**n**: Ratio between spectral ordinates **Sa(T = 0.1 s)** and **PGA**:', value=2.48, step=0.1)
|
123 | 122 | z = st.number_input('**z**: Maximum expected acceleration (fraction of gravitational acceleration):', value=0.4, step=0.1)
|
|
143 | 142 | r = st.number_input('**r**: Geographic zone factor [for Ecuador]:', value=1.0, step=0.1)
|
144 | 143 |
|
145 | 144 |
|
146 |
| - |
147 |
| - |
148 |
| - |
149 |
| -##################################################### |
| 145 | +######################################################## Code ######################################################## |
150 | 146 |
|
151 | 147 | fads = [fa, fd, fs]
|
152 | 148 | To = 0.10 * fads[2] * fads[1] / fads[0]
|
|
203 | 199 |
|
204 | 200 | st.write(Resul)
|
205 | 201 |
|
| 202 | + |
| 203 | +######################################################## Footer ######################################################## |
| 204 | + |
206 | 205 | def display_footer():
|
207 | 206 | footer = """
|
208 | 207 | <style>
|
|
0 commit comments