Skip to main content

AvialSync

The Advanced Video and Instrument Alignment Library.

PyPI Python CI Documentation Licence Platforms

AvialSync is a desktop viewer for looking through an experiment in time.

Use it when you have video from one or more cameras together with recordings such as sensors, electrodes, behavioural tracking, or other time-stamped measurements. It places them on one shared timeline so you can move to an event and inspect what each recording shows at that moment.

It exists for the case where the video and the signal have to agree on the same instant, and the recordings came off independently-clocked hardware. It is built for visual inspection and careful alignment: it does not acquire recordings, it does not analyse them for you, and it never silently changes a scientific timestamp. Your lab can add support for its own file types and workflows through plugins.

A one-second loop of three synchronised camera views of a head-fixed mouse with 2D pose overlays, a 3D pose view, and the wheel encoder velocity trace advancing together on one master timeline.

A real recording session: three cameras at 230 fps with per-camera 2D pose drawn over each view, triangulated 3D pose on the right, and wheel-encoder velocity below — one second of it, at the speed it was recorded, every source moving on one master clock. The whole folder was opened by dropping it on the window; a session plugin recognised the layout and placed each file, including the shared time base. Nothing in AvialSync knows this lab's format.

What it gives you

  • Several camera recordings playing together on one clock.
  • Sensor, electrode, and tracking traces beside the video, up to 50 kHz across many channels.
  • Alignment by offset, drift, or TTL/event evidence, with the original files left unchanged.
  • Event marks, A/B time ranges, and exports of snapshots or selected spans for analysis elsewhere.

Install

With pip, on Python 3.11 or 3.12:

python -m pip install avialsync
avialsync

That is the whole install. Video decoding, proxy generation, and clip export all run inside the Python packages, so there is no media runtime to install separately and nothing to configure.

Or download a desktop installer from the Releases pageAvialSync-Setup.exe, AvialSync.dmg, or AvialSync.AppImage — if you would rather not manage a Python environment. They bundle everything, install without an administrator password, and are not yet code-signed, so the first launch needs one extra click.

One caveat, and it is Qt's rather than AvialSync's: on Linux, PySide6 needs the usual desktop graphics libraries (libgl1, libxkbcommon, and the xcb set). Every normal desktop already has them; bare containers and minimal server images do not. No packaging choice removes it.

Apple silicon is required for the .dmg, and glibc 2.39+ for the AppImage; outside those, use pip. See Installation for details.

First session

avialsync demo

That generates and opens a complete sample session — four cameras, sensor and ephys traces, and tracking — so you can confirm the install and try everything before touching your own data. With your own recordings:

  1. Drag video and data files onto the window, or use Open Videos and Open Sensor/Ephys Data.
  2. Video appears at the top, traces below it.
  3. Drag the shared time bar to inspect one moment across every recording.
  4. If recordings do not line up, use the synchronization tools to align a visible event or TTL pulse.

A camera with no coverage at the selected time shows No Footage rather than a stale frame, and Data Streams shows when each file has data.

Documentation

Full documentation is at avialsync.readthedocs.ioquickstart, first-session tutorial, supported formats, synchronization, troubleshooting, plugin guide, and a technical reference covering architecture, data handling, performance, and the development and release process.

Contributing

Contributions are welcome — see CONTRIBUTING.md for setup, the four-command gate every change must pass, and the architecture rules that exist because breaking them caused real bugs. Participation is governed by our Code of Conduct.

Good places to start are format plugins (the TimeSeriesSource / VideoSource contracts are frozen — see the plugin guide), platform verification on real hardware, and the open items under "Pending" in HANDOUT.md.

Licence

AvialSync is free software under the GNU AGPL v3 or later. Use it, study it, modify it, redistribute it. The one condition is reciprocity: if you convey a modified version — including letting others use it over a network — you publish your changes under the same licence.

Running it in your lab, modifying it for your own use, publishing results, and writing plugins for your own rig all sit inside this and cost nothing. A plugin that uses only the documented TimeSeriesSource, VideoSource and SessionSource interfaces is your own work and you choose its licence, so a loader for a proprietary instrument format need not be published.

There is no dual licence and no contributor agreement — contributions are accepted under the same AGPL, and opening a pull request is the whole process.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avialsync-0.1.1.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

avialsync-0.1.1-py3-none-any.whl (632.9 kB view details)

Uploaded Python 3

File details

Details for the file avialsync-0.1.1.tar.gz.

File metadata

  • Download URL: avialsync-0.1.1.tar.gz
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for avialsync-0.1.1.tar.gz
Algorithm Hash digest
SHA256 53a2de0db9d29ff21bbc81a06b33ad061bbf0e289097677a7c2484b73d629a19
MD5 e32e9eb2a2e05b5df10847897910afd9
BLAKE2b-256 8a0e2c78d5ed6fb00c855c9bb829b7d36a59d8003a740b3034db539c32f4390a

See more details on using hashes here.

Provenance

The following attestation bundles were made for avialsync-0.1.1.tar.gz:

Publisher: release.yml on anzalks/avialsync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file avialsync-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: avialsync-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 632.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for avialsync-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d61c8f99edfca9c5237f0027e5d1be263264a5da3b46f9cde79edf6cb8ff3aa
MD5 3d99bb4d8c0c7285844fcb3347c77097
BLAKE2b-256 deb246af9affef006984e3a962ba63d2e3697c7472940932247e82dfc2dceffe

See more details on using hashes here.

Provenance

The following attestation bundles were made for avialsync-0.1.1-py3-none-any.whl:

Publisher: release.yml on anzalks/avialsync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page