-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information
Showing
7 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
-e . | ||
ablog | ||
linkify-it-py | ||
myst-parser | ||
nbsphinx | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Blog | ||
|
||
```{postlist} | ||
:list-style: circle | ||
:category: | ||
:date: "%B %d, %Y" | ||
:format: "{date} | {title}, by {author}" | ||
:excerpts: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
blogpost: true | ||
date: Dec 5, 2024 | ||
author: Niko Sirmpilatze | ||
location: London, England | ||
category: release | ||
language: English | ||
--- | ||
|
||
# Release v0.0.21 and next steps | ||
|
||
_This is our inaugaural blogpost, containing a summary of the `v0.0.21` release and a preview of what's coming next in 2025._ | ||
|
||
## What's new in movement v0.0.21? | ||
|
||
:::{tip} | ||
See our [installation guide](target-installation) for instructions on how to | ||
install the latest version or upgrade from an existing installation. | ||
::: | ||
|
||
__Input/Output__ | ||
|
||
- We have added the {func}`movement.io.load_poses.from_multiview_files` function to support loading pose tracking data from multiple camera views. | ||
- 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. | ||
- 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. | ||
|
||
__Kinematics__ | ||
|
||
The {mod}`kinematics <movement.kinematics>` module has been moved from `movement.analysis.kinematics` to `movement.kinematics` and packs a number of new functions: | ||
- {func}`compute_forward_vector <movement.kinematics.compute_forward_vector>` | ||
- {func}`compute_head_direction_vector <movement.kinematics.compute_head_direction_vector>` | ||
- {func}`compute_pairwise_distances <movement.kinematics.compute_pairwise_distances>` | ||
- {func}`compute_speed <movement.kinematics.compute_speed>` | ||
- {func}`compute_path_length <movement.kinematics.compute_path_length>` | ||
|
||
__Breaking changes__ | ||
|
||
- We have dropped support for using filtering and | ||
kinematic functions via the `move` accessor syntax, | ||
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: | ||
|
||
```python | ||
# Instead of: | ||
position_filt = ds.move.median_filter(window=5) | ||
velocity = ds.move.compute_velocity() | ||
|
||
# Use: | ||
from movement.filtering import median_filter | ||
from movement.kinematics import compute_velocity | ||
|
||
position_filt = median_filter(ds.position, window=5) | ||
velocity = compute_velocity(ds.position) | ||
``` | ||
- 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: | ||
|
||
```python | ||
# Indexing with dimension names (recommended, works always) | ||
position = ds.position.isel( | ||
individuals=0, keypoints=-1 # first individual, last keypoint | ||
) | ||
|
||
# Numpy-style indexing with the old dimension order (will no longer work) | ||
position = ds.position[:, 0, -1, :] # time, individuals, keypoints, space | ||
|
||
# Numpy-style indexing with the updated dimension order (use this instead) | ||
position = ds.position[:, :, -1, 0] # time, space, keypoints, individuals | ||
``` | ||
|
||
|
||
## Looking to v0.1 and beyond | ||
|
||
Over the last 1.5 years, we have gradually built up the core functionalities we envisioned for `movement` version `v0.1`, | ||
as described in our [roadmap](target-roadmaps). | ||
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. | ||
|
||
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`. | ||
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. | ||
|
||
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. | ||
|
||
## Announcing movement Community Calls | ||
|
||
We are committed to fostering openness, transparency, and a strong sense of | ||
community within the `movement` project. | ||
Starting next year, we will host regular Community Calls via Zoom. | ||
|
||
The calls will take place every second Friday from **11:00 to 11:45 GMT**, | ||
beginning on **10 January 2025**. | ||
These calls are open to anyone interested in contributing to `movement` or | ||
sharing feedback on the project's progress and direction. | ||
|
||
A few days before each call, we will post an announcement on Zulip with the Zoom link and agenda. | ||
We encourage everyone who's interested in | ||
joining to follow this [Zulip topic](movement-community-calls:) | ||
to stay updated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,4 +64,5 @@ user_guide/index | |
examples/index | ||
community/index | ||
api_index | ||
blog/index | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
:::{admonition} Get in touch | ||
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. | ||
- [Chat with the team on Zulip](movement-zulip:). | ||
- [Open an issue](https://github.com/neuroinformatics-unit/movement/issues) to report a bug or request a new feature. | ||
- [Follow this Zulip topic](movement-community-calls:) to receive updates about upcoming Community Calls. | ||
::: |