Skip to content

twopy 0.1.4

Choose a tag to compare

@gumadeiras gumadeiras released this 08 May 00:09
· 211 commits to main since this release
f75854f

Features

  • Added napari Plot-tab dF/F controls for background subtraction, gray interleave baseline sampling, fit mode, and motion masking.
  • Added napari Plot-tab response-window controls with automatic gray-interleave context by default and manual pre/post seconds that feed both previews and Save Analysis.
  • Added shared and ROI y-stripe percentile background subtraction for broad row-dependent background in dense process recordings.
  • Renamed Plot-tab labels and dropdown entries to concise readable names and populated the dF/F baseline selector from recording epoch names, defaulting to names that look like gray, grey, or interleave baselines.
  • Added shared helpers for default baseline epoch selection, baseline frame-window resolution, and converted recording frame-rate parsing.
  • Added descriptive dF/F fit modes for direct bounded-tau, direct bounded-tau-and-amplitude, and log-linear tau fitting.
  • Added parity helpers for psycho5-default response comparisons without adding psycho5-specific APIs to normal twopy analysis.

Fixes

  • Centered live napari response plot titles above their plots.
  • Trimmed unused vertical space below live napari response plots.
  • Kept live napari Plot-tab recomputes on the same post-stimulus x-axis window used when loading saved response plots.
  • Rejected malformed grouped response time, frame, and ROI axes consistently before processing, loading, or exporting response summaries.
  • Reused one shared frame-range validator for conversion, converted movie reads, ROI trace extraction, and background-corrected trace extraction.
  • Moved the show SEM toggle into the napari Plot subsection and aligned two-decimal Plot-tab numeric controls.
  • Standardized napari Plot-tab control widths across dropdowns, spin boxes, and checkboxes for more consistent option-panel layout.
  • Added the package version to the napari window title.
  • Restored the saved napari response-window Auto checkbox state when reloading analysis outputs.
  • Restored saved napari dF/F baseline epoch selections and persisted resolved baseline windows for analysis audits.