Skip to main content

Mesofield is an open-source image acquisition Python software package build for the Sipe Laboratory at Pennsylvania State University.

Project description

 __    __     ______     ______     ______     ______   __     ______     __         _____
/\ "-./  \   /\  ___\   /\  ___\   /\  __ \   /\  ___\ /\ \   /\  ___\   /\ \       /\  __-.
\ \ \-./\ \  \ \  __\   \ \___  \  \ \ \/\ \  \ \  __\ \ \ \  \ \  __\   \ \ \____  \ \ \/\ \
 \ \_\ \ \_\  \ \_____\  \/\_____\  \ \_____\  \ \_\    \ \_\  \ \_____\  \ \_____\  \ \____-
  \/_/  \/_/   \/_____/   \/_____/   \/_____/   \/_/     \/_/   \/_____/   \/_____/   \/____/

Mesofield is a PyQt6-based framework for running real-time, multi-camera neuroscience experiments. It coordinates hardware via serial connections and MicroManager (through pymmcore-plus custom MDAEngines and multi-CMMCorePlus instancing) and manages experiment configuration, acquisition orchestration, and data logging. The project is aimed at laboratory use and is not a full production package; some specialised knowledge of device hardware and MicroManager device configuration is necessary to get started.

Mesofield acquisition window

Documentation

Documentation lives at gronemeyer.github.io/mesofield and is split by audience:

  • Tutorial — the fastest path from a fresh conda env to a working acquisition on your hardware.
  • User Guide — for experimenters running acquisitions: launching the GUI, writing experiment.json, interpreting the on-disk output.
  • Developer Guide — for developers extending mesofield: custom devices, Procedure subclasses, frame processors, threading models.
  • API Reference — auto-generated from docstrings.

Quick start

conda create -n mesofield python=3.12 -y
conda activate mesofield
pip install -e .

Launch an acquisition by pointing at your rig — experiment.json is optional:

mesofield launch path/to/hardware.yaml      # rig only (author params in the GUI)
mesofield launch path/to/experiment.json    # rig + params (sibling hardware.yaml auto-detected)
mesofield launch path/to/experiment/        # a directory containing either

Scaffold a new experiment:

mesofield new my-experiment

For end-to-end setup, follow the Tutorial.


System requirements

Tested on Windows 10/11. For multi-camera acquisition with large files we recommend ≥ 32 GB RAM, a 12th-gen Intel i7 or equivalent, and fast local NVMe storage for the experiment directory.


License

MIT — see LICENSE.

Project details


Download files

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

Source Distribution

mesofield-0.4.0b0.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

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

mesofield-0.4.0b0-py3-none-any.whl (7.4 MB view details)

Uploaded Python 3

File details

Details for the file mesofield-0.4.0b0.tar.gz.

File metadata

  • Download URL: mesofield-0.4.0b0.tar.gz
  • Upload date:
  • Size: 7.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mesofield-0.4.0b0.tar.gz
Algorithm Hash digest
SHA256 5eb77d8235d57dab67d9d4c509038707619cb29249a611c8693253db00ba595f
MD5 cd5b12e3ff11900af9f7438d96f1f1c3
BLAKE2b-256 b9175f539d40ba4b02ba7ca1f25498b89a17e171f83be753a88f6055aaa70a8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mesofield-0.4.0b0.tar.gz:

Publisher: release.yml on Gronemeyer/mesofield

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

File details

Details for the file mesofield-0.4.0b0-py3-none-any.whl.

File metadata

  • Download URL: mesofield-0.4.0b0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mesofield-0.4.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 8919f161e09286b5d4f3f8d9407743fde0e20ed828f00c9986ca80aa0f08641c
MD5 c9e9df373c0079fbe147e8437d28a3c2
BLAKE2b-256 b03548a3e37073dfa8be9eda9d0a8092b5f6403c9c150eb1d211143b0e7be4c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mesofield-0.4.0b0-py3-none-any.whl:

Publisher: release.yml on Gronemeyer/mesofield

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 Pingdom Monitoring Sentry Error logging StatusPage Status page