Skip to content

Commit

Permalink
started with slides for presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Nov 23, 2023
1 parent db3edd0 commit 78c6aef
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 56 deletions.
Binary file added img/alessandro_felder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/chang_huan_lo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/movement-repo-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/niko_sirmpilatze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/swc-building.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
118 changes: 62 additions & 56 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: A template presentation
subtitle: so much fun
author: SWC Neuroinformatics Unit
title: Video-based analysis of animal behaviour
subtitle: SWC/GCNU Neuroinformatics Unit
author: Niko Sirmpilatze, Chang Huan Lo, Alessandro Felder
execute:
enabled: true
format:
revealjs:
theme: [default, niu-dark.scss]
logo: img/logo_niu_dark.png
footer: "Edit this footer | 2023-07-26"
theme: [default, niu-light.scss]
logo: img/logo_niu_light.png
footer: "Sainsbury Wellcome Centre | 2023-11-29"
slide-number: c
menu:
numbers: true
Expand All @@ -23,89 +23,95 @@ format:
highlight-style: atom-one
mermaid:
theme: neutral
fontFamily: arial
fontFamily: Arial
curve: linear
title-slide-attributes:
data-background-color: "#000000"
data-background-image: "img/swc-building.jpg"
data-background-size: "cover"
data-background-position: "center"
data-background-opacity: "0.6"
html:
theme: [default, niu-dark.scss]
logo: img/logo_niu_dark.png
date: "2023-07-05"
theme: [default, niu-light.scss]
logo: img/logo_niu_light.png
date: "2023-11-29"
toc: true
code-overflow: scroll
highlight-style: atom-one
mermaid:
theme: neutral
fontFamily: arial
fontFamily: Arial
curve: linear
margin-left: 0
embed-resources: true
page-layout: full
my-custom-stuff:
my-reuseable-variable: "I can use this wherever I want in the markdown, and change it in only once place :)"
links:
course-webpage: "https://software-skills.neuroinformatics.dev/courses/video-analysis.html"
gh-repo: "https://github.com/neuroinformatics-unit/course-behavioural-analysis-2023"
these-slides: "https://neuroifnormatics.dev/course-behavioural-analysis-2023/"
dropbox: "https://www.dropbox.com/scl/fo/ey7b6yrqax2olqyv1th7j/h?rlkey=u4wh2gxtbbn4g5o3s55zbx6pp&dl=0"
---

## Contents
## Introductions

Some example slides - [also look at example RevealJS slides in the Quarto docs](https://quarto.org/docs/presentations/revealjs/)
[Neuroinformatics Unit (NIU)](https://neuroinformatics.dev/){preview-link="true" style="text-align: center"}

* Non-executable and executable code-blocks
* bullet points with highlighting
* two-column slides
* how to include a slide from a separate MD file
* preview and link to a webpage
:::: {.columns}
::: {.column width="33%"}
![](img/niko_sirmpilatze.png)
Niko Sirmpilatze
:::

## Just a code block, nothing gets executed...
::: {.column width="33%"}
![](img/chang_huan_lo.png)
Chang Huan Lo
:::

... but there is some fancy highlighting
:::{.column width="33%"}
![](img/alessandro_felder.png)
Alessandro Felder
:::
::::

```{.python code-line-numbers="1|3|4-9"}
from pathlib import Path
## Course materials {.smaller}

home_path = Path.home()
if home_path.exists():
data_path = home_path / "data"
else:
pass
# raise some error maybe?
```
#### These slides

## A code block that's actually executed at render-time
[neuroinformatics.dev/course-behavioural-analysis-2023]({{< meta links.these-slides >}})

```{python}
#| echo: true
#| code-fold: true
#### Course webpage

from pathlib import Path
[software-skills.neurinformatics.dev/course-behavioural-analysis-2023]({{< meta links.course-webpage >}})

print("Hello world")
```
#### GitHub repository

## You can execute code without showing that you have by using #|echo: false
```{python}
#| echo: false
[github.com/neuroinformatics-unit/course-behavioural-analysis-2023]({{< meta links.gh-repo >}})

from pathlib import Path
#### Sample data
[Dropbox link]({{< meta links.dropbox >}}) OR...

print("Hello world")
```
`/ceph/scratch/neuroinformatics-dropoff/behav-analysis-course`

{{< include slides/extra_slide.qmd >}}
## Enter `movement` {.smaller}

## An example image
:::: {.columns}

Include an image:
::: {.column width="55%"}
![](img/movement-repo-screenshot.png)
:::

![](img/bg_logo_wide.png){width=900 fig-align=center}
::: {.column width="45%"}
Python tools for analysing body movements across space and time.

- [GitHub repository](https://github.com/neuroinformatics-unit/movement)
- [Documentation](https://movement.neuroifnormatics.dev)
- [PyPI package](https://pypi.org/project/movement/)
- [Zulip chat](https://neuroinformatics.zulipchat.com/#narrow/stream/406001-Movement)
:::

## Link and a preview a webpage:
::::

::: {style="text-align: center; margin-top: 1em"}
[interoperable Python-based tools for computational neuroanatomy](https://brainglobe.info/index.html){preview-link="true" style="text-align: center"}
:::

## Use a variable several times
{{< include slides/extra_slide.qmd >}}

Variables defined in the metadata is re-useable anywhere

* {{< meta my-custom-stuff.my-reuseable-variable >}}
* {{< meta my-custom-stuff.my-reuseable-variable >}}

0 comments on commit 78c6aef

Please sign in to comment.