Skip to content

Commit f624de5

Browse files
committed
add: ajinkya and serena to lab website; optimize image script/command
1 parent 1dfee8d commit f624de5

8 files changed

Lines changed: 107 additions & 5 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"preview": "vite preview",
1010
"prepare": "svelte-kit sync || echo ''",
1111
"format": "prettier --write .",
12-
"lint": "prettier --check . && eslint ."
12+
"lint": "prettier --check . && eslint .",
13+
"optimize-image": "bash scripts/optimize-image.sh"
1314
},
1415
"devDependencies": {
1516
"@eslint/compat": "^1.4.0",

scripts/optimize-image.sh

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Optimize a team member photo for the website.
4+
#
5+
# Reads from: static/<name>.jpg
6+
# Writes to: static/optimized/<name>.jpg
7+
#
8+
# Usage:
9+
# npm run optimize-image -- <name> # center crop (default)
10+
# npm run optimize-image -- <name> north # keep top of image (e.g. tall portraits)
11+
# npm run optimize-image -- <name> center 600 # custom output size
12+
#
13+
# Requires: ImageMagick (magick)
14+
15+
set -euo pipefail
16+
17+
SIZE=800
18+
QUALITY=85
19+
GRAVITY="center"
20+
21+
name="${1:-}"
22+
if [[ -z "$name" ]]; then
23+
echo "Usage: npm run optimize-image -- <name> [gravity] [size]"
24+
echo ""
25+
echo " name Image filename without extension (e.g. serena-gao)"
26+
echo " gravity Crop anchor: center (default), north, south, east, west"
27+
echo " size Output dimension in px (default: 800)"
28+
echo ""
29+
echo "Examples:"
30+
echo " npm run optimize-image -- serena-gao"
31+
echo " npm run optimize-image -- chaolan-lin north"
32+
echo " npm run optimize-image -- chaolan-lin north 600"
33+
exit 1
34+
fi
35+
36+
GRAVITY="${2:-$GRAVITY}"
37+
SIZE="${3:-$SIZE}"
38+
39+
INPUT="static/${name}.jpg"
40+
OUTPUT="static/optimized/${name}.jpg"
41+
42+
if [[ ! -f "$INPUT" ]]; then
43+
echo "Error: $INPUT not found"
44+
exit 1
45+
fi
46+
47+
if ! command -v magick &>/dev/null; then
48+
echo "Error: ImageMagick (magick) is required. Install with: brew install imagemagick"
49+
exit 1
50+
fi
51+
52+
mkdir -p static/optimized
53+
54+
magick "$INPUT" \
55+
-resize "${SIZE}x${SIZE}^" \
56+
-gravity "$GRAVITY" \
57+
-extent "${SIZE}x${SIZE}" \
58+
-quality "$QUALITY" \
59+
-strip \
60+
"$OUTPUT"
61+
62+
input_size=$(du -h "$INPUT" | cut -f1 | xargs)
63+
output_size=$(du -h "$OUTPUT" | cut -f1 | xargs)
64+
dims=$(magick identify -format '%wx%h' "$OUTPUT")
65+
66+
echo "Optimized: $INPUT ($input_size) -> $OUTPUT ($output_size, ${dims}, q${QUALITY}, gravity: ${GRAVITY})"

src/routes/read/+page.svx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,22 @@ h1: Research Publications
1313

1414
## Work-in-Progress
1515

16-
Kwon, D. Jolly, E., Chang, L.J., Shim, W.M. (in prep). <span class="paper-title">Modeling dynamic social interactions reveals neural representions of multidimensional social relational knowledge</span>.
17-
1816
Choi, Y.J., Jolly, E., Smith A., Gangadharan, A.A., Hoidal, A.S. & Chang, L.J. (in prep). <span class="paper-title">Balancing Guilt and Costs: The Role of Emotions and Exogenous Constraints for End-of-Life Care</span>
1917

2018
Jolly, E., Sadhukha, S., Iqbal, M., Chen, J. & Chang, L.J. (in prep). <span class="paper-title">Person memory is supported by the neural reinstatement of social interactions</span>.
2119

20+
## 2026
21+
22+
Kwon, D., Jolly, E., Chang, L. J., & Shim, W. M. (under review). <span class="paper-title">Neural representations of dynamic social interactions</span>. *bioRxiv.* [preprint](https://www.biorxiv.org/content/10.64898/2026.02.01.703160v1)
23+
2224
## 2025
2325

2426
Yang, M. Chen, P.A., Brandt, A.M., Sadhukhka, S., Farrens, M., Jolly, E., Chang, L.J. (under review). <span class="paper-title">Structured Neural Variability from Repeated Naturalistic Video Watching Experiences</span>. *bioRxiv.* [preprint](https://www.biorxiv.org/content/10.1101/2025.11.07.687258v1.abstract)
2527

26-
Kwon, D., Jolly, E., Chang, L.J, Shim, W.M. (2025). <span class="paper-title">Neural representation of social relationship graphs through multidimensional modeling dynamic social interactions</span>. *Ccneuro.* [manuscript](https://2025.ccneuro.org/abstract_pdf/Kwon_2025_Neural_Representation_Social_Relationship_Graphs_Multidimensional.pdf)
27-
2828
Varrier, R.S., Su, Z. Liang, Q., Benson, T. Jolly, E., & Finn, E.S. (under review). <span class="paper-title">Shared and individual tuning curves for social vision</span>. *bioRxiv.* [preprint](https://www.biorxiv.org/content/10.1101/2025.01.19.633772v1)
2929

30+
Kwon, D., Jolly, E., Chang, L.J, Shim, W.M. (2025). <span class="paper-title">Neural representation of social relationship graphs through multidimensional modeling dynamic social interactions</span>. *Ccneuro.* [manuscript](https://2025.ccneuro.org/abstract_pdf/Kwon_2025_Neural_Representation_Social_Relationship_Graphs_Multidimensional.pdf)
31+
3032
Le, K.\* Jadhav, A.\* & Jolly, E. (2025). <span class="paper-title">Statistical Intuitions for Social Scientists</span>. [open course materials](https://stat-intuitions.com/)
3133

3234
## 2024

src/routes/team/+page.svx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,26 @@ Chaolan is a Ph.D. candidate in Cognitive Science at UC San Diego. She is intere
150150
</div>
151151
</div>
152152

153+
## Masters Students
154+
155+
<div class="team-member">
156+
<div class="avatar-section">
157+
<img class="avatar" src="/optimized/ajinkya-jadhav.jpg" alt="Chaolan Lin" />
158+
<h3 class="name">Ajinkya Jadhav</h3>
159+
<p class="subtitle">Mechanical Engineering</p>
160+
</div>
161+
<div class="bio">
162+
163+
Ajinkya is a Masters Student in Engineering with a strong background in Computer Vision, Multi-Modal AI, Deep Learning and Robotics. He is interested in applying his background to build rich computational models of naturalistic fMRI recordings to unpack how social memories are encoded and reinstated. He also served as the first Teaching Assistant with Eshin for [PSYC 201B](https://stat-intuitions.com) at UCSD and helped develop and administor foundational coursework.
164+
165+
<div class="links">
166+
167+
[Website](https://jajinkya211.github.io/) | [LinkedIn](https://www.linkedin.com/in/jajinkya211/) | [Github](https://github.com/jajinkya211)
168+
169+
</div>
170+
171+
</div>
172+
</div>
153173

154174
## Undergraduates
155175

@@ -166,6 +186,19 @@ Christian was born and raised in El Salvador before moving to Los Angeles at 12
166186
</div>
167187
</div>
168188

189+
<div class="team-member">
190+
<div class="avatar-section">
191+
<img class="avatar" src="/optimized/serena-gao.jpg" alt="Serena Gao" />
192+
<h3 class="name">Serena Gao</h3>
193+
<p class="subtitle">Psychology</p>
194+
</div>
195+
<div class="bio">
196+
197+
Serena is an undergraduate student at UCSD majoring in clinical psychology. Her research interests focus on the cognitive and social processes underlying meaning-making. Specifically: How do mental representations of emotions and social agents structure our interpretations of reality? Under what conditions do people revise their beliefs? Outside the lab, she loves listening to podcasts, playing classical flute, and wandering the aisles of Trader Joes.
198+
199+
</div>
200+
</div>
201+
169202
<style>
170203
@reference "tailwindcss";
171204

static/ajinkya-jadhav.jpg

54 KB
Loading
58.9 KB
Loading

static/optimized/serena-gao.jpg

131 KB
Loading

static/serena-gao.jpg

498 KB
Loading

0 commit comments

Comments
 (0)