Changelog

0.2

0.2.1 - 24-06-21

Linting and code formatting :)

Added black and ruff for linting and formatting, reformatted the package.

See the Contributing documentation for details and usage.

0.2.0 - 24-06-21

StreamDaq enhancements and testing

  • https://github.com/Aharoni-Lab/miniscope-io/pull/26

Testing:

  • @t-sasatani - add end-to-end test for streamDaq

  • Add a mock class for okDev

  • replace tmpdir fixture and tempfile module with tmp_path

New:

Fixed:

  • Removed print statements in okDev

  • capture()

    • Don’t require config

    • Replace logging with init_logger()

    • Use of terminate to control inner loops

Models:

CI:

  • @t-sasatani - restore windows and mac tests (oops)

  • caching dependency installs

  • not using pytest-emoji, it was always annoying

0.1

0.1.8 - 24-06-16

  • https://github.com/Aharoni-Lab/miniscope-io/pull/21

  • https://github.com/Aharoni-Lab/miniscope-io/pull/15

New features:

  • Support for Various Image Formats: streamDaq now supports multiple image formats, including different image sizes, frame rates (FPS), and bit-depths. These configurations can be provided via a YAML file. Examples of these configurations can be found in miniscope_io.data.config.

  • Pydantic Model for Configuration: Added a Pydantic model to validate the configuration of streamDaq.

  • Bitstream Loader: Added a bitstream loader to automatically configure the Opal Kelly FPGA when running streamDaq.

  • Updated Command Line Script: The command line script for running streamDaq has been updated. Use streamDaq -c path/to/config/yaml/file.yml to run the process with your YAML configuration file.

  • Logger Module: Added a logger module that can be configured using environmental variables or a .env file.

Note: Version 0.1.7 was skipped accidentally and does not exist.

0.1.6 - 24-04-09

  • https://github.com/Aharoni-Lab/miniscope-io/pull/14

New features:

  • Added support for the wireless FPGA and UART daqs - work in progress unifying the API, but initial version of code is present in stream_daq.py

  • Vendored opalkelly device drivers - see devices and vendor

0.1.5 - 23-09-03

  • https://github.com/Aharoni-Lab/miniscope-io/pull/9

  • https://github.com/Aharoni-Lab/miniscope-io/pull/10

Bugfixes:

New features:

Code structure:

  • (Minor) moved skip() to general methods block (no change)

Tests:

  • Run tests on macos and windows

0.1.4 - 23-09-03

https://github.com/Aharoni-Lab/miniscope-io/pull/8

New features:

  • Data models! Hold a collection of frames and get their headers

  • Plots! Mimic the plots from ye olde notebook

  • Update to pydantic v2

  • Version field in formats

  • Format for miniscope firmware with battery voltage level

Reverted:

  • grab_frames notebook is restored to using the example data and having the evaluated output present

0.1.1 - 23-07-13

Additions

  • Added EndOfRecordingException when attempting to read past last frame

  • Added frame_count property inferred from the number of buffers and buffers per frame

  • Return self when entering SDCard context

  • Optionally return DataHeaders from frame when reading

Bugfixes

  • Index the position of the 0th frame in positions

  • reset internal frame counter to 0 when exiting context