Skip to content

Commit e7d8e47

Browse files
niksirbisfmig
andauthored
Add inaugural blogpost (#359)
* added ablog dependency for docs * update installation link in readme * created blog index * drafted first blogpost * update scipy intersphinx link * add infor about community calls * add section about v0.1 and beyond * added release summary * Also mention benefit for users Co-authored-by: sfmig <[email protected]> * add example about indexing to the blog --------- Co-authored-by: sfmig <[email protected]>
1 parent 1387cc1 commit e7d8e47

File tree

7 files changed

+116
-4
lines changed

7 files changed

+116
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ conda activate movement-env
2323
```
2424

2525
> [!Note]
26-
> Read the [documentation](https://movement.neuroinformatics.dev) for more information, including [full installation instructions](https://movement.neuroinformatics.dev/getting_started/installation.html) and [examples](https://movement.neuroinformatics.dev/examples/index.html).
26+
> Read the [documentation](https://movement.neuroinformatics.dev) for more information, including [full installation instructions](https://movement.neuroinformatics.dev/user_guide/installation.html) and [examples](https://movement.neuroinformatics.dev/examples/index.html).
2727
2828
## Overview
2929

@@ -61,7 +61,9 @@ Find out more on our [mission and scope](https://movement.neuroinformatics.dev/c
6161
Contributions to movement are absolutely encouraged, whether to fix a bug, develop a new feature, or improve the documentation.
6262
To help you get started, we have prepared a detailed [contributing guide](https://movement.neuroinformatics.dev/community/contributing.html).
6363

64-
You are welcome to chat with the team on [zulip](https://neuroinformatics.zulipchat.com/#narrow/stream/406001-Movement). You can also [open an issue](https://github.com/neuroinformatics-unit/movement/issues) to report a bug or request a new feature.
64+
- [Chat with the team on Zulip](https://neuroinformatics.zulipchat.com/#narrow/stream/406001-Movement).
65+
- [Open an issue](https://github.com/neuroinformatics-unit/movement/issues) to report a bug or request a new feature.
66+
- [Follow this Zulip topic](https://neuroinformatics.zulipchat.com/#narrow/channel/406001-Movement/topic/Community.20Calls) to receive updates about upcoming Community Calls.
6567

6668
## Citation
6769

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-e .
2+
ablog
23
linkify-it-py
34
myst-parser
45
nbsphinx

docs/source/blog/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Blog
2+
3+
```{postlist}
4+
:list-style: circle
5+
:category:
6+
:date: "%B %d, %Y"
7+
:format: "{date} | {title}, by {author}"
8+
:excerpts:
9+
```
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
blogpost: true
3+
date: Dec 5, 2024
4+
author: Niko Sirmpilatze
5+
location: London, England
6+
category: release
7+
language: English
8+
---
9+
10+
# Release v0.0.21 and next steps
11+
12+
_This is our inaugaural blogpost, containing a summary of the `v0.0.21` release and a preview of what's coming next in 2025._
13+
14+
## What's new in movement v0.0.21?
15+
16+
:::{tip}
17+
See our [installation guide](target-installation) for instructions on how to
18+
install the latest version or upgrade from an existing installation.
19+
:::
20+
21+
__Input/Output__
22+
23+
- We have added the {func}`movement.io.load_poses.from_multiview_files` function to support loading pose tracking data from multiple camera views.
24+
- We have made several small improvements to reading bounding boxes tracks. See our new {ref}`example <sphx_glr_examples_load_and_upsample_bboxes.py>` to learn more about working with bounding boxes.
25+
- We have added a new {ref}`example <sphx_glr_examples_convert_file_formats.py>` on using `movement` to convert pose tracking data between different file formats.
26+
27+
__Kinematics__
28+
29+
The {mod}`kinematics <movement.kinematics>` module has been moved from `movement.analysis.kinematics` to `movement.kinematics` and packs a number of new functions:
30+
- {func}`compute_forward_vector <movement.kinematics.compute_forward_vector>`
31+
- {func}`compute_head_direction_vector <movement.kinematics.compute_head_direction_vector>`
32+
- {func}`compute_pairwise_distances <movement.kinematics.compute_pairwise_distances>`
33+
- {func}`compute_speed <movement.kinematics.compute_speed>`
34+
- {func}`compute_path_length <movement.kinematics.compute_path_length>`
35+
36+
__Breaking changes__
37+
38+
- We have dropped support for using filtering and
39+
kinematic functions via the `move` accessor syntax,
40+
because we've found the concept hard to convey to new users. All functions are henceforth solely accessible by importing them from the relevant modules. Having one way of doing things simplifies the mental model for users and reduces the maintenance effort on our side. See an example below:
41+
42+
```python
43+
# Instead of:
44+
position_filt = ds.move.median_filter(window=5)
45+
velocity = ds.move.compute_velocity()
46+
47+
# Use:
48+
from movement.filtering import median_filter
49+
from movement.kinematics import compute_velocity
50+
51+
position_filt = median_filter(ds.position, window=5)
52+
velocity = compute_velocity(ds.position)
53+
```
54+
- We have slightly modified the [structure of movement datasets](target-poses-and-bboxes-dataset), by changing the order of dimensions. This should have no effect when indexing data by dimension names, i.e. using the {meth}`xarray.Dataset.sel` or {meth}`xarray.Dataset.isel` methods. However, you may need to update your code if you are using Numpy-style indexing, for example:
55+
56+
```python
57+
# Indexing with dimension names (recommended, works always)
58+
position = ds.position.isel(
59+
individuals=0, keypoints=-1 # first individual, last keypoint
60+
)
61+
62+
# Numpy-style indexing with the old dimension order (will no longer work)
63+
position = ds.position[:, 0, -1, :] # time, individuals, keypoints, space
64+
65+
# Numpy-style indexing with the updated dimension order (use this instead)
66+
position = ds.position[:, :, -1, 0] # time, space, keypoints, individuals
67+
```
68+
69+
70+
## Looking to v0.1 and beyond
71+
72+
Over the last 1.5 years, we have gradually built up the core functionalities we envisioned for `movement` version `v0.1`,
73+
as described in our [roadmap](target-roadmaps).
74+
These have included [input/output support](target-io) for a few popular animal tracking frameworks, as well as methods for data cleaning and computing kinematic variables.
75+
76+
What we're still missing is a [napari](napari:) plugin for `movement`, which we envision both as an interactive visualisation framework for motion tracking data as well as a graphical user interface for `movement`.
77+
We have been working on a minimal version of this plugin for a while and are expecting to ship it as part of the `v0.1` release in early 2025.
78+
79+
After `v0.1`, we'll be switching to [semantic versioning](https://semver.org/), as it applies to MINOR (new features) and PATCH (bug fixes) versions. Until we are ready for a `v1` MAJOR version, we cannot commit to backward compatibility, but any breaking changes will be clearly communicated in the release notes.
80+
81+
## Announcing movement Community Calls
82+
83+
We are committed to fostering openness, transparency, and a strong sense of
84+
community within the `movement` project.
85+
Starting next year, we will host regular Community Calls via Zoom.
86+
87+
The calls will take place every second Friday from **11:00 to 11:45 GMT**,
88+
beginning on **10 January 2025**.
89+
These calls are open to anyone interested in contributing to `movement` or
90+
sharing feedback on the project's progress and direction.
91+
92+
A few days before each call, we will post an announcement on Zulip with the Zoom link and agenda.
93+
We encourage everyone who's interested in
94+
joining to follow this [Zulip topic](movement-community-calls:)
95+
to stay updated.

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"sphinx_gallery.gen_gallery",
5050
"sphinx_sitemap",
5151
"sphinx.ext.autosectionlabel",
52+
"ablog",
5253
]
5354

5455
# Configure the myst parser to enable cool markdown features
@@ -187,6 +188,7 @@
187188
"mailto": None,
188189
"movement-github": "https://github.com/neuroinformatics-unit/movement/{{path}}",
189190
"movement-zulip": "https://neuroinformatics.zulipchat.com/#narrow/stream/406001-Movement",
191+
"movement-community-calls": "https://neuroinformatics.zulipchat.com/#narrow/channel/406001-Movement/topic/Community.20Calls",
190192
"conda": "https://docs.conda.io/en/latest/",
191193
"dlc": "https://www.mackenziemathislab.org/deeplabcut/",
192194
"gin": "https://gin.g-node.org/{{path}}#{{fragment}}",
@@ -205,7 +207,7 @@
205207

206208
intersphinx_mapping = {
207209
"xarray": ("https://docs.xarray.dev/en/stable/", None),
208-
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
210+
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
209211
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
210212
}
211213

docs/source/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,5 @@ user_guide/index
6464
examples/index
6565
community/index
6666
api_index
67+
blog/index
6768
```
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
:::{admonition} Get in touch
2-
You are welcome to chat with the team on [Zulip](movement-zulip:). You can also [open an issue](movement-github:issues) to report a bug or request a new feature.
2+
- [Chat with the team on Zulip](movement-zulip:).
3+
- [Open an issue](https://github.com/neuroinformatics-unit/movement/issues) to report a bug or request a new feature.
4+
- [Follow this Zulip topic](movement-community-calls:) to receive updates about upcoming Community Calls.
35
:::

0 commit comments

Comments
 (0)