-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvoids.html
More file actions
361 lines (309 loc) · 13.7 KB
/
voids.html
File metadata and controls
361 lines (309 loc) · 13.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5MSKJH3VR6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5MSKJH3VR6');
</script>
<title>Yonny Sklansky</title>
<meta charset="utf-8" meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"></link>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="icon" href="Yonny.jpg"></link>
<script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type='text/javascript' src="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<style type='text/css'>
ul.nav li.dropdown:hover ul.dropdown-menu {
display: block;
}
</style>
<style>
* {
font-family: 'Helvetica Neue';
font-size: 16px;
}
img {
position: relative;
transform: scale(1);
transition: .5s ease;
background: rgba(255, 255, 255, 0);
border: 3px solid rgba(0, 0, 0, 0);
border-radius: 20px;
z-index: 1;
cursor: pointer
}
.custom-image {
position: relative;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 1);
transform: scale(1.5);
transition: .5s ease;
z-index: 3;
}
.active {
position: relative;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 1);
transform: scale(1.5);
transition: .5s ease;
z-index: 3;
border: 3px solid rgba(0, 0, 0, .2);
border-radius: 20px;
}
img:hover {
transition: .5s ease;
border: 3px solid rgba(0, 0, 0, .5);
border-radius: 20px;
z-index: 2;
cursor: pointer
}
a:hover {
cursor: pointer
}
</style>
</meta>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="./index.html">Home</a></li>
<li><a href="./About-me.html">About Me</a></li>
<li class="dropdown"><a href="./research.html"> Research <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="./persistence.html">Persistent Homology of the Cosmic Web</a></li>
<li><a href="./voids.html">Void Clustering and Heirarchy</a></li>
<li><a href="./caustics.html">Caustics in Large-Scale Structure</a></li>
</ul>
<li class="dropdown"><a href="./hobbies.html"> Hobbies and Interests <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="./scioly.html">Science Olympiad</a></li>
<li><a href="./drones.html">Drones</a></li>
</ul>
<li><a href="./CV.pdf" target="_blank">Curriculum Vitae</a></li>
</li>
</ul>
</div>
</div>
</nav>
<div class="container", align = "justify", style="margin-top:50px">
<div class="page-header", align = "left">
<h2>Void Clustering and Hierarchy
<span style="float:right;">
<a href="./research.html"> <h3>Back to research</h3></a>
</span>
</h2>
</div>
<div class="col-sm-7">
<h3>
What are voids?
</h3>
<p>
Great question.
<b>Cosmic voids</b> are vast regions of space that contain very few galaxies or other cosmic structures.
These regions are much larger and emptier than the regions containing galaxy clusters, and are found between the filaments and walls of the cosmic web.
Voids play an important role in the evolution and growth of large-scale structures.
They provide a "lab setting" to study isolated structure growth, for example in galaxies, as well as dark energy.
</p>
<p>
In addition, the way matter flows away from the center of the void can help us constrain cosmological parameters, like the matter and dark energy densities.
</p>
<br>
<h3>
What Shape Are Voids?
</h3>
<p>
Another great question.
Despite the general definition of voids given above, they are not actually yet well-defined.
The main accepted answer is they are generally ellipsoidal, and tend to be more spherical as they increase in size.
However, this ignores the details, and there are a lot more questions that have yet to be answered:
<ul>
<li>At what point is the region's density low enough to be considered a void?</li>
<li>How small can voids get?</li>
<li>What constitutes the boundary of a void?</li>
<li>Where is the center of a void?</li>
<li>Can voids cluster in the same way galaxies can?</li>
</ul>
To even begin answering most of these, there needs to be a rigorous way to detect and catalogue voids.
There exist void detectors, such as <a href="https://vast.readthedocs.io/en/latest/VoidFinder_intro.html">VoidFinder</a> and <a href="http://skysrv.pha.jhu.edu/~neyrinck/voboz/zobovhelp.html">ZOBOV</a>, but they have shortcomings that prevent them from satisfyingly answering the previous questions.
Instead, I created my own void finding algorithm based on the techniques of <b>persistent homology</b> presented in another page of this website.
Using persistence, voids are detected in a geometric, parameter-free way that is highly stable to noise.
Figure 2 demonstrates some void detection in a slice of an IllustrisTNG simulation by tracing one-dimensional loops.
The data points in this case are central subhalos of halos catalogued by Illustris, intended to be simple tracers of the cosmic web.
More detail about this figure is found in the previous research page as well.
</p>
</div>
<div class="col-sm-5" align="center">
<img src="voids chart.png" width="100%"></img>
<p>
Fig. 1: Chart of the voids near the Milky Way
</p>
<br>
<img src="31_5 slice loops.png" width="100%"></img>
<p>
Fig. 2: Three voids found with persistent homology
</p>
</div>
<div class="col-sm-12">
<br>
</div>
<div class="col-sm-6">
<h3>
Void Centroids
</h3>
<p>
In order to answer the questions, we must start by asking: where are the <b>centroids</b> of these voids?
Figure 3 shows an annulus of points, where we can clearly and easily identify the center at the origin.
It has a clear symmetry, and its randomly scattered points average out to the coordinate (0, 0).
However, data may not always be so abundant, nor have such a symmetrical distribution.
For instance, it may look like figure 4, which has many more points on the left side than the right.
A human eye may be able to trace the shape, connect the dots, and point to a rough center, ignoring the imbalance of data.
But, taking an average of the coordinates will clearly skew the centroid to the left.
How do we tell a computer where to find the true, visual centroid?
Furthermore, what about generalizing it to any shape and not just circles and ellipses?
<br><br>
My solution is to introduce <b>Delaunay triangulation</b>, a specific type of <b>triangulation</b>, or an algorithm that connects the dots in such a way to form unique, non-overlapping triangles.
The triangulation of the imbalanced ring is shown in figure 5.
Given this, I can calculate the centroids of each triangle using a basic average of its vertices.
I can also find each triangle's area by a well-known formula in coordinate geometry.
Finally, I take an average of those centroids weighted by their corresponding areas, and I get the centroid I wanted.
It makes sense to think of this as the centroids that weighed more contribute more because they represent a larger area in the interior of the shape.
In the figure, the red point is the center of the circle while purple is the calculated centroid of the circumscribed points.
Pretty good!
<br><br>
Let's try this on a few other cases.
Figure 6 is a much more sparse set of points translated off the origin, and the algorithm still works beautifully!
There is a little bit of a shift from the red dot, but in fact for such a low number of points, the purple dot is more representative of the centroid anyways.
Figure 7 is two ovelapping imbalanced rings, and it works just as well as any other test case.
The black dots help visualize the centroids of each triangle, and the corresponding area weights.
I could keep going and trying other cases, but I think this current algorithm is sufficient for the purposes of my project.
It is fast, intuitive, and gives the desired results.
<br><br>
</p>
</div>
<div class="col-sm-3" align="middle">
<br><br>
<img src="annulus test case.png" width="100%"></img>
<p>
Fig. 3: A constructed annulus test case
</p>
</div>
<div class="col-sm-3" align="middle">
<br><br><br>
<img src="imbalanced ring.png" width="100%"></img>
<p>
Fig. 4: An imbalanced ring
</p>
</div>
<div class="col-sm-6" align="middle">
<br><br>
<img src="imbalanced ring triangulation.png" width="65%"></img>
<p>
Fig. 5: Delaunay triangulation of the imbalanced ring
</p>
</div>
<div class="col-sm-3" align="middle">
<br>
<img src="sparse imbalanced ring.png" width="100%"></img>
<p>
Fig. 6: Shifted, sparse, imbalanced ring
</p>
</div>
<div class="col-sm-3" align="middle">
<br>
<img src="overlapping rings.png" width="100%"></img>
<p>
Fig. 7: Overlapping imbalanced rings
</p>
</div>
<div class="col-sm-12">
<p>
Okay, this is looking great.
But what about the fact that space is (at least) three dimensions?
Luckily, this technique can indeed be generalized to higher dimensions.
Instead of triangles, I can use tetrahedra, their centroids, and their volumes as weights for the centroids.
</p>
</div>
<div class="col-sm-12">
<p>
Applying this method of calculating the centroids to the voids from earlier, we can see in figure 8 that it does indeed work for abstract shapes as well.
The magenta void especially benefits from the technique I developed, as it has a clear imbalance of data points on the top and bottom.
However, recall that this is a thin slice of the simulation, and I am only tracing the one-dimensional loops with persistent homology.
This means we can do better, and identify 2-dimensional holes instead.
</p>
</div>
<div class="col-sm-12" align="middle">
<img src="loop 1.png" width="33%"></img>
<img src="loop 2.png" width="33%"></img>
<img src="loop 3.png" width="33%"></img>
<p>
Fig. 8: Three loops detected by persistent homology with their centroids
</p>
</div>
<div class="col-sm-12"></div>
<div class="col-sm-7">
<h3>
Void Statistics
</h3>
<p>
[In progress]
</p>
</div>
<div class="col-sm-5" align="middle">
<img src="3d_vis_crop.gif" width="100%"></img>
<p>
Fig. 9: Sample voids detected with persistent homology and fitted to ellipsoids using inertia tensors
</p>
</div>
<div class="col-sm-12" align="center">
<hr />
<button id="back-to-top">Back to top</button>
</div>
</div>
<script>
const images = document.querySelectorAll('img');
images.forEach(img => {
img.addEventListener('click', function() {
this.classList.toggle('active');
});
});
</script>
<script>
document.getElementById('back-to-top').addEventListener('click', function(e) {
e.preventDefault();
window.scrollTo({
top: 0,
left: 0,
behavior: 'smooth'
});
});
</script>
</body>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="./Sticky Footer Navbar Template for Bootstrap_files/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="./Sticky Footer Navbar Template for Bootstrap_files/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="./Sticky Footer Navbar Template for Bootstrap_files/ie10-viewport-bug-workaround.js"></script>
</html>