Skip to content

Commit 9538ad9

Browse files
committed
Use theme's figure shortcode
1 parent 757be60 commit 9538ad9

15 files changed

+396
-63
lines changed

content/en/case-studies/blackhole-image.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ title: "Case Study: First Image of a Black Hole"
33
sidebar: false
44
---
55

6-
{{< figure src="/images/content_images/cs/blackhole.jpg" caption="**Black Hole M87**" alt="black hole image" attr="*(Image Credits: Event Horizon Telescope Collaboration)*" attrlink="https://www.jpl.nasa.gov/images/universe/20190410/blackhole20190410.jpg" >}}
6+
{{< figure >}}
7+
src = '/images/content_images/cs/blackhole.jpg'
8+
title = 'Black Hole M87'
9+
alt = 'black hole image'
10+
attribution = '(Image Credits: Event Horizon Telescope Collaboration)'
11+
attributionlink = 'https://www.jpl.nasa.gov/images/universe/20190410/blackhole20190410.jpg'
12+
{{< /figure >}}
713

814
{{< blockquote
915
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
@@ -64,7 +70,14 @@ from a sidewalk café in Paris!
6470
When the goal is to see something never before seen, how can scientists be
6571
confident the image is correct?
6672

67-
{{< figure src="/images/content_images/cs/dataprocessbh.png" class="csfigcaption" caption="**EHT Data Processing Pipeline**" alt="data pipeline" align="middle" attr="(Diagram Credits: The Astrophysical Journal, Event Horizon Telescope Collaboration)" attrlink="https://iopscience.iop.org/article/10.3847/2041-8213/ab0c57" >}}
73+
{{< figure >}}
74+
src = '/images/content_images/cs/dataprocessbh.png'
75+
title = 'EHT Data Processing Pipeline'
76+
alt = 'data pipeline'
77+
align = 'center'
78+
attribution = '(Diagram Credits: The Astrophysical Journal, Event Horizon Telescope Collaboration)'
79+
attributionlink = 'https://iopscience.iop.org/article/10.3847/2041-8213/ab0c57'
80+
{{< /figure >}}
6881

6982
## NumPy’s Role
7083

@@ -80,15 +93,23 @@ first-of-a-kind image of the black hole.
8093
Their work illustrates the role the scientific Python ecosystem plays in
8194
advancing science through collaborative data analysis.
8295

83-
{{< figure src="/images/content_images/cs/bh_numpy_role.png" class="fig-center" alt="role of numpy" caption="**The role of NumPy in Black Hole imaging**" >}}
96+
{{< figure >}}
97+
src = '/images/content_images/cs/bh_numpy_role.png'
98+
alt = 'role of numpy'
99+
title = 'The role of NumPy in Black Hole imaging'
100+
{{< /figure >}}
84101

85102
For example, the [`eht-imaging`][ehtim] Python package provides tools for
86103
simulating and performing image reconstruction on VLBI data.
87104
NumPy is at the core of array data processing used
88105
in this package, as illustrated by the partial software
89106
dependency chart below.
90107

91-
{{< figure src="/images/content_images/cs/ehtim_numpy.png" class="fig-center" alt="ehtim dependency map highlighting numpy" caption="**Software dependency chart of ehtim package highlighting NumPy**" >}}
108+
{{< figure >}}
109+
src = '/images/content_images/cs/ehtim_numpy.png'
110+
alt = 'ehtim dependency map highlighting numpy'
111+
title = 'Software dependency chart of ehtim package highlighting NumPy'
112+
{{< /figure >}}
92113

93114
[ehtim]: https://github.com/achael/eht-imaging
94115

@@ -115,4 +136,8 @@ best radio observatories. Innovative algorithms and data processing
115136
techniques, improving upon existing astronomical models, helped unfold a
116137
mystery of the universe.
117138

118-
{{< figure src="/images/content_images/cs/numpy_bh_benefits.png" class="fig-center" alt="numpy benefits" caption="**Key NumPy Capabilities utilized**" >}}
139+
{{< figure >}}
140+
src = '/images/content_images/cs/numpy_bh_benefits.png'
141+
alt = 'numpy benefits'
142+
title = 'Key NumPy Capabilities utilized'
143+
{{< /figure >}}

content/en/case-studies/cricket-analytics.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ title: "Case Study: Cricket Analytics, the game changer!"
33
sidebar: false
44
---
55

6-
{{< figure src="/images/content_images/cs/ipl-stadium.png" caption="**IPLT20, the biggest Cricket Festival in India**" alt="Indian Premier League Cricket cup and stadium" attr="*(Image credits: IPLT20 (cup and logo) & Akash Yadav (stadium))*" attrlink="https://unsplash.com/@aksh1802" >}}
6+
{{< figure >}}
7+
src = '/images/content_images/cs/ipl-stadium.png'
8+
title = 'IPLT20, the biggest Cricket Festival in India'
9+
alt = 'Indian Premier League Cricket cup and stadium'
10+
attribution = '(Image credits: IPLT20 (cup and logo) & Akash Yadav (stadium))'
11+
attributionlink = 'https://unsplash.com/@aksh1802'
12+
{{< /figure >}}
713

814
{{< blockquote
915
cite="https://www.scoopwhoop.com/sports/ms-dhoni/"
@@ -53,7 +59,14 @@ metrics for improving match winning chances:
5359
* gaining insights into fitness and performance of a player against different opposition,
5460
* player contribution to wins and losses for making strategic decisions on team composition
5561

56-
{{< figure src="/images/content_images/cs/cricket-pitch.png" class="csfigcaption" caption="**Cricket Pitch, the focal point in the field**" alt="A cricket pitch with bowler and batsmen" align="middle" attr="*(Image credit: Debarghya Das)*" attrlink="http://debarghyadas.com/files/IPLpaper.pdf" >}}
62+
{{< figure >}}
63+
src = '/images/content_images/cs/cricket-pitch.png'
64+
title = 'Cricket Pitch, the focal point in the field'
65+
alt = 'A cricket pitch with bowler and batsmen'
66+
align = 'center'
67+
attribution = '(Image credit: Debarghya Das)'
68+
attributionlink = 'http://debarghyadas.com/files/IPLpaper.pdf'
69+
{{< /figure >}}
5770

5871
### Key Data Analytics Objectives
5972

@@ -68,7 +81,13 @@ metrics for improving match winning chances:
6881
number crunching and data science know-how, visualization tools and capability
6982
to include newer observations in the analysis.
7083

71-
{{< figure src="/images/content_images/cs/player-pose-estimator.png" class="fig-center" alt="pose estimator" caption="**Cricket Pose Estimator**" attr="*(Image credit: connect.vin)*" attrlink="https://connect.vin/2019/05/ai-for-cricket-batsman-pose-analysis/" >}}
84+
{{< figure >}}
85+
src = '/images/content_images/cs/player-pose-estimator.png'
86+
alt = 'pose estimator'
87+
title = 'Cricket Pose Estimator'
88+
attribution = '(Image credit: connect.vin)'
89+
attributionlink = 'https://connect.vin/2019/05/ai-for-cricket-batsman-pose-analysis/'
90+
{{< /figure >}}
7291

7392
### The Challenges
7493

@@ -138,4 +157,8 @@ hidden parameters, patterns, and attributes that lead to the outcome of a
138157
cricket match helps the stakeholders to take notice of game insights that are
139158
otherwise hidden in numbers and statistics.
140159

141-
{{< figure src="/images/content_images/cs/numpy_ca_benefits.png" class="fig-center" alt="Diagram showing benefits of using NumPy for cricket analytics" caption="**Key NumPy Capabilities utilized**" >}}
160+
{{< figure >}}
161+
src = '/images/content_images/cs/numpy_ca_benefits.png'
162+
alt = 'Diagram showing benefits of using NumPy for cricket analytics'
163+
title = 'Key NumPy Capabilities utilized'
164+
{{< /figure >}}

content/en/case-studies/deeplabcut-dnn.md

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ title: "Case Study: DeepLabCut 3D Pose Estimation"
33
sidebar: false
44
---
55

6-
{{< figure src="/images/content_images/cs/mice-hand.gif" class="fig-center" caption="**Analyzing mice hand-movement using DeepLapCut**" alt="micehandanim" attr="*(Source: www.deeplabcut.org )*" attrlink="http://www.mousemotorlab.org/deeplabcut" >}}
6+
{{< figure >}}
7+
src = '/images/content_images/cs/mice-hand.gif'
8+
title = 'Analyzing mice hand-movement using DeepLapCut'
9+
alt = 'micehandanim'
10+
attribution = '(Source: www.deeplabcut.org )'
11+
attributionlink = 'http://www.mousemotorlab.org/deeplabcut'
12+
{{< /figure >}}
713

814
{{< blockquote
915
cite="https://news.harvard.edu/gazette/story/newsplus/harvard-researchers-awarded-czi-open-source-award/"
@@ -18,7 +24,12 @@ Open Source Software is accelerating Biomedicine. DeepLabCut enables automated v
1824

1925
Several areas of research, including neuroscience, medicine, and biomechanics, use data from tracking animal movement. DeepLabCut helps in understanding what humans and other animals are doing by parsing actions that have been recorded on film. Using automation for laborious tasks of tagging and monitoring, along with deep neural network based data analysis, DeepLabCut makes scientific studies involving observing animals, such as primates, mice, fish, flies etc., much faster and more accurate.
2026

21-
{{< figure src="/images/content_images/cs/race-horse.gif" class="fig-center" caption="**Colored dots track the positions of a racehorse’s body part**" alt="horserideranim" attr="*(Source: Mackenzie Mathis)*">}}
27+
{{< figure >}}
28+
src = '/images/content_images/cs/race-horse.gif'
29+
title = 'Colored dots track the positions of a racehorse’s body part'
30+
alt = 'horserideranim'
31+
attribution = '(Source: Mackenzie Mathis)'
32+
{{< /figure >}}
2233

2334
DeepLabCut's non-invasive behavioral tracking of animals by extracting the poses of animals is crucial for scientific pursuits in domains such as biomechanics, genetics, ethology & neuroscience. Measuring animal poses non-invasively from video - without markers - in dynamically changing backgrounds is computationally challenging, both technically as well as in terms of resource needs and training data required.
2435

@@ -61,7 +72,14 @@ Recently, the [DeepLabCut model zoo](http://www.mousemotorlab.org/dlc-modelzoo)
6172
- code for large-scale inference on videos
6273
- draw inferences using integrated visualization tools
6374

64-
{{< figure src="/images/content_images/cs/deeplabcut-toolkit-steps.png" class="csfigcaption" caption="**Pose estimation steps with DeepLabCut**" alt="dlcsteps" align="middle" attr="(Source: DeepLabCut)" attrlink="https://twitter.com/DeepLabCut/status/1198046918284210176/photo/1" >}}
75+
{{< figure >}}
76+
src = '/images/content_images/cs/deeplabcut-toolkit-steps.png'
77+
title = 'Pose estimation steps with DeepLabCut'
78+
alt = 'dlcsteps'
79+
align = 'center'
80+
attribution = '(Source: DeepLabCut)'
81+
attributionlink = 'https://twitter.com/DeepLabCut/status/1198046918284210176/photo/1'
82+
{{< /figure >}}
6583

6684
[DLCToolkit]: https://github.com/DeepLabCut/DeepLabCut
6785

@@ -92,7 +110,14 @@ Recently, the [DeepLabCut model zoo](http://www.mousemotorlab.org/dlc-modelzoo)
92110
arrays corresponding to various images, target tensors and keypoints is
93111
fairly challenging.
94112

95-
{{< figure src="/images/content_images/cs/pose-estimation.png" class="csfigcaption" caption="**Pose estimation variety and complexity**" alt="challengesfig" align="middle" attr="(Source: Mackenzie Mathis)" attrlink="https://www.biorxiv.org/content/10.1101/476531v1.full.pdf" >}}
113+
{{< figure >}}
114+
src = '/images/content_images/cs/pose-estimation.png'
115+
title = 'Pose estimation variety and complexity'
116+
alt = 'challengesfig'
117+
align = 'center'
118+
attribution = '(Source: Mackenzie Mathis)'
119+
attributionlink = 'https://www.biorxiv.org/content/10.1101/476531v1.full.pdf'
120+
{{< /figure >}}
96121

97122
## NumPy's Role in meeting Pose Estimation Challenges
98123

@@ -130,7 +155,13 @@ training fast, NumPy’s vectorization capabilities are leveraged. For inference
130155
the most likely predictions from target scoremaps need to extracted and one
131156
needs to efficiently “link predictions to assemble individual animals”.
132157

133-
{{< figure src="/images/content_images/cs/deeplabcut-workflow.png" class="fig-center" caption="**DeepLabCut Workflow**" alt="workflow" attr="*(Source: Mackenzie Mathis)*" attrlink="https://www.researchgate.net/figure/DeepLabCut-work-flow-The-diagram-delineates-the-work-flow-as-well-as-the-directory-and_fig1_329185962">}}
158+
{{< figure >}}
159+
src = '/images/content_images/cs/deeplabcut-workflow.png'
160+
title = 'DeepLabCut Workflow'
161+
alt = 'workflow'
162+
attribution = '(Source: Mackenzie Mathis)'
163+
attributionlink = 'https://www.researchgate.net/figure/DeepLabCut-work-flow-The-diagram-delineates-the-work-flow-as-well-as-the-directory-and_fig1_329185962'
164+
{{< /figure >}}
134165

135166
## Summary
136167

@@ -146,4 +177,8 @@ medicine and rehabilitation studies. Complex combinatorics, data processing
146177
challenges faced by DeepLabCut algorithms are addressed through the use of
147178
NumPy's array manipulation capabilities.
148179

149-
{{< figure src="/images/content_images/cs/numpy_dlc_benefits.png" class="fig-center" alt="numpy benefits" caption="**Key NumPy Capabilities utilized**" >}}
180+
{{< figure >}}
181+
src = '/images/content_images/cs/numpy_dlc_benefits.png'
182+
alt = 'numpy benefits'
183+
title = 'Key NumPy Capabilities utilized'
184+
{{< /figure >}}

content/en/case-studies/gw-discov.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ title: "Case Study: Discovery of Gravitational Waves"
33
sidebar: false
44
---
55

6-
{{< figure src="/images/content_images/cs/gw_sxs_image.png" class="fig-center" caption="**Gravitational Waves**" alt="binary coalesce black hole generating gravitational waves" attr="*(Image Credits: The Simulating eXtreme Spacetimes (SXS) Project at LIGO)*" attrlink="https://youtu.be/Zt8Z_uzG71o" >}}
6+
{{< figure >}}
7+
src = '/images/content_images/cs/gw_sxs_image.png'
8+
title = 'Gravitational Waves'
9+
alt = 'binary coalesce black hole generating gravitational waves'
10+
attribution = '(Image Credits: The Simulating eXtreme Spacetimes (SXS) Project at LIGO)'
11+
attributionlink = 'https://youtu.be/Zt8Z_uzG71o'
12+
{{< /figure >}}
713

814
{{< blockquote
915
cite="https://www.youtube.com/watch?v=BIvezCVcsYs"
@@ -88,7 +94,13 @@ made from warped spacetime.
8894
simulations using latest experimental inputs and insights can be a time
8995
consuming activity that challenges researchers in this domain.
9096

91-
{{< figure src="/images/content_images/cs/gw_strain_amplitude.png" class="fig-center" alt="gravitational waves strain amplitude" caption="**Estimated gravitational-wave strain amplitude from GW150914**" attr="(**Graph Credits:** Observation of Gravitational Waves from a Binary Black Hole Merger, ResearchGate Publication)" attrlink="https://www.researchgate.net/publication/293886905_Observation_of_Gravitational_Waves_from_a_Binary_Black_Hole_Merger" >}}
97+
{{< figure >}}
98+
src = '/images/content_images/cs/gw_strain_amplitude.png'
99+
alt = 'gravitational waves strain amplitude'
100+
title = 'Estimated gravitational-wave strain amplitude from GW150914'
101+
attribution = '(Graph Credits: Observation of Gravitational Waves from a Binary Black Hole Merger, ResearchGate Publication)'
102+
attributionlink = 'https://www.researchgate.net/publication/293886905_Observation_of_Gravitational_Waves_from_a_Binary_Black_Hole_Merger'
103+
{{< /figure >}}
92104

93105
## NumPy’s Role in the Detection of Gravitational Waves
94106

@@ -120,11 +132,19 @@ speed. Here are some examples:
120132
providing object based interfaces to utilities, tools, and methods for
121133
studying data from gravitational-wave detectors.
122134

123-
{{< figure src="/images/content_images/cs/gwpy-numpy-dep-graph.png" class="fig-center" alt="gwpy-numpy depgraph" caption="**Dependency graph showing how GwPy package depends on NumPy**" >}}
135+
{{< figure >}}
136+
src = '/images/content_images/cs/gwpy-numpy-dep-graph.png'
137+
alt = 'gwpy-numpy depgraph'
138+
title = 'Dependency graph showing how GwPy package depends on NumPy'
139+
{{< /figure >}}
124140

125141
----
126142

127-
{{< figure src="/images/content_images/cs/PyCBC-numpy-dep-graph.png" class="fig-center" alt="PyCBC-numpy depgraph" caption="**Dependency graph showing how PyCBC package depends on NumPy**" >}}
143+
{{< figure >}}
144+
src = '/images/content_images/cs/PyCBC-numpy-dep-graph.png'
145+
alt = 'PyCBC-numpy depgraph'
146+
title = 'Dependency graph showing how PyCBC package depends on NumPy'
147+
{{< /figure >}}
128148

129149
## Summary
130150

@@ -140,4 +160,8 @@ is [enabling researchers](https://www.gw-openscience.org/events/GW150914/) to
140160
answer complex questions and discover new horizons in our understanding of the
141161
universe.
142162

143-
{{< figure src="/images/content_images/cs/numpy_gw_benefits.png" class="fig-center" alt="numpy benefits" caption="**Key NumPy Capabilities utilized**" >}}
163+
{{< figure >}}
164+
src = '/images/content_images/cs/numpy_gw_benefits.png'
165+
alt = 'numpy benefits'
166+
title = 'Key NumPy Capabilities utilized'
167+
{{< /figure >}}

content/en/user-survey-2020.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ community survey. Over 1,200 users from 75 countries participated to help us
1010
map out a landscape of the NumPy community and voiced their thoughts about the
1111
future of the project.
1212

13-
{{< figure src="/surveys/NumPy_usersurvey_2020_report_cover.png" class="fig-left" alt="Cover page of the 2020 NumPy user survey report, titled 'NumPy Community Survey 2020 - results'" width="250" >}}
13+
{{< figure >}}
14+
src = '/surveys/NumPy_usersurvey_2020_report_cover.png'
15+
alt = 'Cover page of the 2020 NumPy user survey report, titled "NumPy Community Survey 2020 - results"'
16+
width = '250'
17+
{{< /figure >}}
1418

1519
**[Download the report](/surveys/NumPy_usersurvey_2020_report.pdf)**
1620
to take a closer look at the survey findings.

0 commit comments

Comments
 (0)