-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
453 lines (429 loc) · 18.8 KB
/
Copy pathindex.html
File metadata and controls
453 lines (429 loc) · 18.8 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
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Sam Porter – PET/SPECT/CT Reconstruction</title>
<meta name="description" content="Sam D Porter – final‑year PhD student. PET/SPECT/CT synergistic reconstruction, optimisation algorithms, open‑source software." />
<meta property="og:title" content="Sam D Porter" />
<meta property="og:description" content="PET/SPECT/CT synergistic reconstruction & open‑source." />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://github.com/samdporter.png" />
<meta name="theme-color" content="#0f172a" />
<style>
:root{
--bg: #0b1020;
--bg-soft: #111834;
--text: #e6edf3;
--muted: #9fb0c3;
--brand: #5dd6b3;
--accent: #8ab4ff;
--card: #0e1530;
--border: #253258;
}
.light{
--bg: #ffffff;
--bg-soft: #f6f7fb;
--text: #0b1223;
--muted: #516079;
--brand: #0ea5e9;
--accent: #1f7ae0;
--card: #ffffff;
--border: #e5e7eb;
}
html,body{height:100%}
body{
margin:0; font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.container{max-width: 980px; margin: 0 auto; padding: 24px;}
header{display:flex; align-items:center; gap:20px; padding: 32px 0 12px 0;}
header img{width:88px; height:88px; border-radius: 50%; border: 2px solid var(--border); box-shadow: 0 6px 24px rgba(0,0,0,.35)}
.name{font-size: clamp(22px, 2.4vw + 12px, 44px); font-weight: 800; letter-spacing: .2px;}
.tag{color: var(--muted); margin-top: 6px}
.chip{display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border:1px solid var(--border); border-radius: 999px; color:var(--muted); text-decoration:none;}
.chip:hover{border-color:var(--accent); color:var(--text)}
.row{display:flex; flex-wrap:wrap; gap:14px; margin-top: 12px}
.actions{margin-left:auto; display:flex; gap:10px;}
.btn{border:1px solid var(--border); background:transparent; color:var(--text); padding:8px 12px; border-radius:10px; cursor:pointer}
.btn:hover{border-color: var(--accent)}
section{margin: 28px 0}
h2{font-size: 22px; letter-spacing:.2px; margin: 0 0 10px 0}
p{margin: 0 0 10px 0}
.grid{display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:14px;}
.card{background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.18)}
.card h3{margin:0 0 6px 0; font-size: 16px}
.card p{color: var(--muted); font-size: 14px}
.meta{display:flex; gap:10px; align-items:center; margin-top: 10px; color:var(--muted); font-size: 13px}
.pill{border:1px solid var(--border); border-radius:999px; padding:2px 8px}
a{color: var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.pub{border-left: 3px solid var(--border); padding-left: 12px; margin: 14px 0}
.pub-title{font-weight:700}
.pub-venue{color: var(--muted)}
.footer{color:var(--muted); font-size: 13px; padding: 28px 0}
.kbd{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; background: var(--bg-soft); border: 1px solid var(--border); border-bottom-width: 3px; padding: 2px 6px; border-radius: 6px}
.sep{opacity:.4}
.hide{display:none}
.hr{height:1px; background: var(--border); border:0; margin: 10px 0 18px 0}
.award-item{display:flex; align-items:center; gap:10px; margin: 10px 0; padding: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 10px}
.award-icon{font-size: 24px}
@media (max-width: 560px){ header{flex-direction:column; align-items:flex-start} .actions{margin:0}}
</style>
</head>
<body>
<div class="container">
<header>
<a href="https://github.com/samdporter" target="_blank" rel="noopener"><img id="avatar" alt="Sam D Porter avatar" src="https://github.com/samdporter.png" /></a>
<div>
<div class="name" id="name">Sam D Porter</div>
<div class="tag" id="tag">Final‑year PhD student · PET/SPECT/CT synergistic reconstruction · Optimisation & inverse problems</div>
<div class="row">
<a class="chip" href="https://github.com/samdporter" target="_blank" rel="noopener" aria-label="GitHub profile">🐙 GitHub</a>
</div>
</div>
<div class="actions">
<button class="btn" id="toggleTheme" title="Toggle light/dark">Toggle theme</button>
<a class="btn" href="#config" title="Jump to configuration">Edit config ↓</a>
</div>
</header>
<section id="about">
<h2>About</h2>
<p id="aboutText">
I work on fast, joint regularised PET/SPECT/CT reconstruction: proximal & stochastic algorithms, preconditioning, and synergistic priors coupling modalities.
</p>
</section>
<section id="repos">
<h2>Featured repositories</h2>
<div id="repoGrid" class="grid" aria-live="polite"></div>
</section>
<section id="awards">
<h2>Awards & Recognition</h2>
<div id="awardsList"></div>
</section>
<section id="publications">
<h2>Selected publications</h2>
<div id="pubList"></div>
</section>
<section id="news" class="hide">
<h2>News</h2>
<div id="newsList"></div>
</section>
<hr class="hr" />
<section id="config">
<h2>Quick configuration</h2>
<p>Edit the <span class="kbd">CONFIG</span> object below to customise content. Add or remove repositories and papers. No build step required.</p>
<details>
<summary>Show configuration</summary>
<pre id="cfgDump" style="overflow:auto"></pre>
</details>
</section>
<footer class="footer">
<span>© <span id="year"></span> Sam D Porter</span>
<span class="sep"> · </span>
<a href="#" id="editLink">Edit this page</a>
</footer>
</div>
<script>
const CONFIG = {
name: "Sam Porter",
tagline: "Final-year PhD student · PET/SPECT/CT synergistic reconstruction",
avatar: "https://github.com/samdporter.png",
about: "I work on fast, regularised PET/SPECT/CT reconstruction: proximal & stochastic algorithms, preconditioning, and synergistic priors coupling modalities.",
featuredRepos: [
"samdporter/SETR",
"samdporter/SIRF-SIMIND-Connection",
"samdporter/sirf-viewer"
],
awards: [
{
title: "1st Runner-up, PETRIC Competition",
year: 2024,
description: "Presented methods at IEEE MIC 2024, Tampa"
},
{
title: "PGI Recognition Awards",
year: 2023,
venue: "PGI Conference, NPL",
date: "7th June 2023"
}
],
publications: [],
conferenceTalks: [
{
title: "Comparison of Synergistic and Single Modality Anatomically-Informed Structural Priors for Yttrium-90 PET and SPECT Reconstruction",
venue: "PSMR 2024 - 10th Conference on PET, SPECT, and MR Multimodal Technologies",
location: "La Biodola, Isola d'Elba",
year: 2024,
date: "19-23 May 2024",
links: [
{ label: "Abstract", url: "https://ejnmmiphys.springeropen.com/articles/supplements/volume-2-supplement-1" }
]
}
],
conferencePosters: [
{
title: "Simultaneous Multi-Bed MAP Reconstruction with a CT-Guided Directional TV Prior for Y-90 PET SIRT",
venue: "PET is Wonderful, Edinburgh",
year: 2025,
links: [
{ label: "Abstract", url: "https://journals.ed.ac.uk/PiWJournal/article/view/10841/13991" }
]
},
{
title: "Optimising Subset Selection in Synergistic Emission Tomography Reconstruction",
authors: "Sam Porter, Daniel Deidda, Simon Arridge, Kris Thielemans",
venue: "IEEE NSS/MIC",
year: 2024,
links: [
{ label: "PDF", url: "https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10654962" },
{ label: "IEEE", url: "https://ieeexplore.ieee.org/document/10654962" }
]
},
{
title: "Effect of Prior Smoothing on the Convergence of Proximal Algorithms for PET and SPECT Reconstruction",
authors: "Sam Porter, Daniel Deidda, Simon Arridge, Kris Thielemans",
venue: "IEEE NSS/MIC",
year: 2022,
links: [
{ label: "PDF", url: "https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10399254" },
{ label: "IEEE", url: "https://ieeexplore.ieee.org/document/10399254" }
]
}
],
workshopTalks: [
{
title: "Enhancing SIMIND-SIRF Integration for Improved SPECT Modeling and Reconstruction using Residual Correction Principles",
authors: "S. D. Porter, D. Deidda, K. Thielemans, R. Gillen",
venue: "STIR User's and Developer's Meeting 2024",
year: 2024,
links: [
{ label: "Meeting page", url: "https://stir.sourceforge.net/2024UsersMeeting/" }
]
},
{
title: "Integrating SIMIND Monte Carlo Simulator with SIRF for Improved SPECT Reconstructions",
authors: "S. D. Porter, R. Gillen, D. Deidda, K. Thielemans",
venue: "STIR User's and Developer's Meeting 2023",
year: 2023,
links: [
{ label: "Meeting page", url: "https://stir.sourceforge.net/2023UsersMeeting/" }
]
},
{
title: "Connecting STIR and the SIMIND Monte Carlo Simulator",
authors: "R. Gillen, S. D. Porter, M. Ljungberg, K. Thielemans",
venue: "STIR User's and Developer's Meeting 2022",
year: 2022,
links: [
{ label: "Meeting page", url: "https://stir.sourceforge.net/2022UsersMeeting/" }
]
}
],
manuscripts: [],
otherContributions: [
{
title: "Stochastic Optimisation Framework using the Core Imaging Library and Synergistic Image Reconstruction Framework for PET Reconstruction",
authors: "Evangelos Papoutsellis, Casper da Costa-Luis, Daniel Deidda, Claire Delplancke, Margaret Duff, Gemma Fardell, Ashley Gillman, Jakob S. Jørgensen, Zeljko Kereta, Evgueni Ovtchinnikov, Edoardo Pasca, Georg Schramm, Kris Thielemans",
venue: "arXiv (math.NA)",
year: 2024,
doi: "10.48550/arXiv.2406.15159",
credit: "Acknowledged for contributions",
links: [
{ label: "arXiv", url: "https://arxiv.org/abs/2406.15159" },
{ label: "PDF", url: "https://arxiv.org/pdf/2406.15159" }
]
},
{
title: "In-Silico Usability Demonstration for PETSIRD, the open PET Raw Data Format of the Emission Tomography Standardization Initiative (ETSI): report on ETSI's second hackathon results",
venue: "Journal of Nuclear Medicine (Supplement 1)",
year: 2025,
links: [
{ label: "Abstract", url: "https://jnm.snmjournals.org/content/66/supplement_1/251417.abstract" }
]
},
{
title: "An open source workflow to investigate the impact of the reconstruction method in absorbed dose rate estimation in 177-Lu-DOTATATE treatments",
authors: "Stathis Varzakis, Ana Denis-bacelar, Sarah Mcquaid, John Dickson, Sam Porter and Kris Thielemans",
venue: "Journal of Nuclear Medicine (Supplement 1)",
year: 2025,
links: [
{ label: "Abstract", url: "https://jnm.snmjournals.org/content/66/supplement_1/251842.abstract" }
]
},
{
title: "Partial volume correction of FDG PETCT: Does it lead to a more accurate assessment in carotid plaque analysis?",
venue: "Journal of Nuclear Medicine (Supplement 2)",
year: 2024,
links: [
{ label: "Abstract", url: "https://jnm.snmjournals.org/content/65/supplement_2/242285.abstract" }
]
}
],
news: []
};
const $ = (s, r=document)=>r.querySelector(s);
const $$ = (s, r=document)=>Array.from(r.querySelectorAll(s));
function applyConfig(){
$('#name').textContent = CONFIG.name;
$('#tag').textContent = CONFIG.tagline;
$('#avatar').src = CONFIG.avatar;
$('#aboutText').textContent = CONFIG.about;
$('#cfgDump').textContent = JSON.stringify(CONFIG, null, 2);
}
async function renderRepos(){
const grid = $('#repoGrid');
grid.innerHTML = '';
for (const slug of CONFIG.featuredRepos){
try{
const resp = await fetch(`https://api.github.com/repos/${slug}`);
if(!resp.ok) throw new Error('HTTP '+resp.status);
const r = await resp.json();
const card = document.createElement('article');
card.className = 'card';
card.innerHTML = `
<h3><a href="${r.html_url}" target="_blank" rel="noopener">${r.full_name}</a></h3>
<p>${r.description ?? 'No description.'}</p>
<div class="meta">
<span class="pill" title="Primary language">${r.language ?? '—'}</span>
<span>★ ${r.stargazers_count}</span>
<span>Last push: ${new Date(r.pushed_at).toLocaleDateString()}</span>
</div>`;
grid.appendChild(card);
}catch(e){
const card = document.createElement('article');
card.className = 'card';
card.innerHTML = `
<h3><a href="https://github.com/${slug}" target="_blank" rel="noopener">${slug}</a></h3>
<p>GitHub API rate-limited or unavailable. Click to view repository.</p>`;
grid.appendChild(card);
}
}
}
function renderAwards(){
const root = $('#awardsList');
root.innerHTML = '';
for(const award of CONFIG.awards){
const div = document.createElement('div');
div.className = 'award-item';
const details = [award.venue, award.date].filter(Boolean).join(' · ');
div.innerHTML = `
<div class="award-icon">🏆</div>
<div style="flex:1">
<div style="font-weight:700">${award.title}</div>
<div style="color:var(--muted); font-size:14px">${award.year}${details ? ' · ' + details : ''}${award.description ? ' · ' + award.description : ''}</div>
</div>
`;
root.appendChild(div);
}
}
function renderPubs(){
const root = $('#pubList');
root.innerHTML = '';
for(const p of CONFIG.publications){
const div = document.createElement('div');
div.className = 'pub';
const links = (p.links||[]).map(l=>`<a href="${l.url}" target="_blank" rel="noopener">${l.label}</a>`).join(' · ');
const extra = [p.doi?`<a href="https://doi.org/${p.doi}" target="_blank" rel="noopener">DOI</a>`:'', p.pdf?`<a href="${p.pdf}" target="_blank" rel="noopener">PDF</a>`:'', p.code?`<a href="${p.code}" target="_blank" rel="noopener">Code</a>`:''].filter(Boolean).join(' · ');
div.innerHTML = `
<div class="pub-title">${p.title}</div>
<div class="pub-venue">${p.authors || ''}${p.authors? ' · ' : ''}${p.venue || ''}${p.venue? ' · ' : ''}${p.year || ''}</div>
<div class="meta">${[links, extra].filter(Boolean).join(' · ')}</div>
`;
root.appendChild(div);
}
}
function renderNews(){
const wrap = $('#news');
if(!CONFIG.news || CONFIG.news.length===0){ wrap.classList.add('hide'); return; }
wrap.classList.remove('hide');
const root = $('#newsList');
root.innerHTML = '';
for(const n of CONFIG.news){
const div = document.createElement('div');
div.className = 'pub';
div.innerHTML = `<div class="pub-title">${n.text}</div><div class="pub-venue">${new Date(n.date).toLocaleDateString()}</div>`;
root.appendChild(div);
}
}
function renderExtraSections() {
const mappings = [
{ key: 'conferenceTalks', title: 'Conference talks' },
{ key: 'conferencePosters', title: 'Conference posters' },
{ key: 'workshopTalks', title: 'Workshop & meeting presentations' },
{ key: 'manuscripts', title: 'Manuscripts' },
{ key: 'otherContributions', title: 'Other contributions' }
];
const container = document.querySelector('.container');
const afterHere = document.querySelector('#publications');
let insertAfter = afterHere;
for (const { key, title } of mappings) {
const items = CONFIG[key];
if (!Array.isArray(items) || items.length === 0) continue;
let sec = document.getElementById(key);
if (!sec) {
sec = document.createElement('section');
sec.id = key;
sec.innerHTML = `<h2>${title}</h2><div class="list"></div>`;
if (insertAfter && insertAfter.parentNode) {
insertAfter.parentNode.insertBefore(sec, insertAfter.nextSibling);
insertAfter = sec;
} else {
container.appendChild(sec);
insertAfter = sec;
}
}
const root = sec.querySelector('.list');
root.innerHTML = '';
for (const p of items) {
const div = document.createElement('div');
div.className = 'pub';
const links = (p.links || [])
.map(l => `<a href="${l.url}" target="_blank" rel="noopener">${l.label}</a>`)
.join(' · ');
const extra = [
p.doi ? `<a href="https://doi.org/${p.doi}" target="_blank" rel="noopener">DOI</a>` : '',
p.pdf ? `<a href="${p.pdf}" target="_blank" rel="noopener">PDF</a>` : '',
p.code? `<a href="${p.code}" target="_blank" rel="noopener">Code</a>`: ''
].filter(Boolean).join(' · ');
const creditInfo = [p.credit, p.role, p.note].filter(Boolean).join(' · ');
const venue = [p.venue, p.location].filter(Boolean).join(', ');
const dateParts = [p.date, p.year].filter(Boolean);
div.innerHTML = `
<div class="pub-title">${p.title || ''}</div>
<div class="pub-venue">
${[p.authors, venue, dateParts.join(' · ')].filter(Boolean).join(' · ')}
${creditInfo ? ` · <em>${creditInfo}</em>` : ''}
</div>
<div class="meta">${[links, extra].filter(Boolean).join(' · ')}</div>
`;
root.appendChild(div);
}
}
}
function setTheme(mode){
document.documentElement.classList.toggle('light', mode==='light');
localStorage.setItem('theme', mode);
}
function initTheme(){
const saved = localStorage.getItem('theme');
if(saved){ setTheme(saved); return; }
const prefersLight = matchMedia('(prefers-color-scheme: light)').matches;
setTheme(prefersLight? 'light' : 'dark');
}
initTheme();
applyConfig();
renderRepos();
renderAwards();
renderPubs();
renderExtraSections();
renderNews();
$('#toggleTheme').addEventListener('click', ()=>{
const now = document.documentElement.classList.contains('light')? 'dark':'light';
setTheme(now);
});
$('#year').textContent = new Date().getFullYear();
$('#editLink').href = '#config';
</script>
</body>
</html>