fvillaescusa commited on
Commit
901cda6
·
verified ·
1 Parent(s): 7ddec95

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +6 -6
src/streamlit_app.py CHANGED
@@ -59,7 +59,7 @@ if not (PC or MT or glosary or team):
59
  - **Merger trees**. These are graphs $G=(V,E)$ representing the past time evolution of a dark matter halo.
60
  """)
61
 
62
- st.image("main.png")
63
 
64
 
65
  st.markdown("""
@@ -68,7 +68,7 @@ if not (PC or MT or glosary or team):
68
 
69
  col1, col2 = st.columns([1, 2])
70
  with col1:
71
- st.image("halo.png", caption="Galaxies inside a halo", width=230)
72
  with col2:
73
  st.markdown("""
74
  - **Dark matter halos** (or simply *halos*) are massive, invisible structures made of normal and dark matter.
@@ -86,7 +86,7 @@ if PC:
86
 
87
  col1, col2 = st.columns([1, 2])
88
  with col1:
89
- st.image("point_cloud.png", width=230)
90
  with col2:
91
  st.markdown("""Point clouds are set of points, $\{x_i\}_{i=1}^N$ with $x_i\in\mathbb{R}^d$, representing dark matter halos or galaxies in different universes. These point clouds are generated by running state-of-the-art numerical cosmological simulations with different initial conditions and different compositions of the Universe.""")
92
  st.markdown("""We provide three different types of points clouds:
@@ -98,7 +98,7 @@ if PC:
98
  The figure below compares the sizes of the point clouds from the different datasets.
99
  """)
100
 
101
- st.image('Data.png', width=700)
102
 
103
 
104
 
@@ -113,7 +113,7 @@ if MT:
113
 
114
  The diagram below shows a merger tree from a CAMELS-SAM simulation. The left-most red point represents a dark matter halo at current time from a CAMELS-SAM simulation. From left to right we go further back in time. The sequence with the red dots is called the main branch. When two or more nodes join, it means that physically, two or several halos has merged to produce a bigger halo.""")
115
 
116
- st.image("merger_tree.png", use_container_width=True)
117
 
118
 
119
  if glosary:
@@ -160,7 +160,7 @@ if team:
160
 
161
  #st.title('Graphs4cosmo team')
162
  #st.text('\n\n')
163
- st.image('team.png')
164
  #image_paths = ['photos/Teresa.jpeg', 'photos/Richard.jpg', 'photos/Jun-Young.jpeg',
165
  # 'photos/Lucia.jpg', 'photos/Charles.png', 'photos/Adrian.jpg',
166
  # 'photos/Lawrence.jpg', 'photos/Paco.png']
 
59
  - **Merger trees**. These are graphs $G=(V,E)$ representing the past time evolution of a dark matter halo.
60
  """)
61
 
62
+ st.image("src/main.png")
63
 
64
 
65
  st.markdown("""
 
68
 
69
  col1, col2 = st.columns([1, 2])
70
  with col1:
71
+ st.image("src/halo.png", caption="Galaxies inside a halo", width=230)
72
  with col2:
73
  st.markdown("""
74
  - **Dark matter halos** (or simply *halos*) are massive, invisible structures made of normal and dark matter.
 
86
 
87
  col1, col2 = st.columns([1, 2])
88
  with col1:
89
+ st.image("src/point_cloud.png", width=230)
90
  with col2:
91
  st.markdown("""Point clouds are set of points, $\{x_i\}_{i=1}^N$ with $x_i\in\mathbb{R}^d$, representing dark matter halos or galaxies in different universes. These point clouds are generated by running state-of-the-art numerical cosmological simulations with different initial conditions and different compositions of the Universe.""")
92
  st.markdown("""We provide three different types of points clouds:
 
98
  The figure below compares the sizes of the point clouds from the different datasets.
99
  """)
100
 
101
+ st.image('src/Data.png', width=700)
102
 
103
 
104
 
 
113
 
114
  The diagram below shows a merger tree from a CAMELS-SAM simulation. The left-most red point represents a dark matter halo at current time from a CAMELS-SAM simulation. From left to right we go further back in time. The sequence with the red dots is called the main branch. When two or more nodes join, it means that physically, two or several halos has merged to produce a bigger halo.""")
115
 
116
+ st.image("src/merger_tree.png", use_container_width=True)
117
 
118
 
119
  if glosary:
 
160
 
161
  #st.title('Graphs4cosmo team')
162
  #st.text('\n\n')
163
+ st.image('src/team.png')
164
  #image_paths = ['photos/Teresa.jpeg', 'photos/Richard.jpg', 'photos/Jun-Young.jpeg',
165
  # 'photos/Lucia.jpg', 'photos/Charles.png', 'photos/Adrian.jpg',
166
  # 'photos/Lawrence.jpg', 'photos/Paco.png']