You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6e8c1cf
Browse filesBrowse the repository at this point in the historyBrowse files
This release improves the display controls for several functions and also corrects
19
+
a timeline creation bug introduced in v0.1.0 that affected phase-subset plots. We
20
+
therefore recommend to upgrade to this release if you are using v0.1.0.
21
+
22
+
### ✨ Features
23
+
24
+
- Added additional display controls to `.plot_NP_adaptation()`: `show_all_visits`, `show_all_groups_SEM`, and `single_group_display`.
25
+
- The all-groups NPA adaptation plot can now hide total visits and show only drinking visits, or add shaded group spread bands.
26
+
- Single-group NPA adaptation plots can now switch between group mean plus spread and thin individual-mouse traces with a thicker group mean.
27
+
- Bottle-preference plots can now optionally show awake/sleep background indicators and calculate bin-wise group statistics with significance-star annotations.
28
+
- Added `calc="all"` to `.plot_bottle_preference()` for total liquid-consumption trajectories across both bottle sides.
29
+
- Added `.plot_bottle_preference_day()` for group violin endpoint comparisons of bottle preference or total liquid uptake on a selected experimental day.
30
+
31
+
### 🧩 Changes
32
+
33
+
- Updated the all-groups NPA adaptation line semantics: total visits are drawn as solid lines and drinking visits as dashed lines.
34
+
- Fixed the timeline handling in NPA, nose-poke-count, licking-count, general activity, and bottle-preference plots. All-phase plots now reuse the prepared shared experiment-time axis, true phase subsets remove omitted protocol phases, and phase-only views preserve the correct clock position of each event within the selected phase.
35
+
- Restricted bottle-preference phase-subset plots to the requested visible phase window while keeping the x-axis on elapsed experimental time.
36
+
- Moved the all-groups general-activity legend inside the plot area below the day/night indicator bar.
37
+
- Bottle-preference plots keep the day/night indicator disabled by default and draw it only when `day_night_indicator` is explicitly provided.
38
+
- Renamed the default output folder of `.plot_phase_activity_summary()` from `plr_activity` to `visit_activity_summary`.
39
+
- Moved `.plot_phase_activity_summary()` onto the general metric/plotting layer and updated its median/mean connector styling to use group colors with configurable line width and marker size.
40
+
- Phase-activity summary significance labels are now rendered in black at a shared y-position instead of being placed independently above each box.
41
+
- Phase-activity summary boxplot medians now use group colors and the same configurable line width as the connected phase-summary traces; outlier markers are scaled below the phase-summary marker size.
42
+
- Phase-subset views that start with the first protocol phase still preserve the visible initial cage-entry delay of late-starting cage runs.
43
+
- Updated the public synthetic dataset so the Group B run starts 12 days after Group A while its first phase-1 visits are delayed by 7.5 h, providing a stronger regression case for cage-run-independent phase analyses without shifting later protocol phases into the wrong mouse-day window.
13
44
14
45
### 📚 Documentation
15
46
16
-
- Updated the public documentation to describe the toolkit as a general
17
-
IntelliCage analysis package with PL/PR as the first supported workflow.
18
-
- Documented the new object-oriented synthetic-data example and subject
19
-
metadata pattern.
20
-
- Documented the cage-run/export-block input layout and clarified that
21
-
export-block folders are technical raw-data pieces rather than biological
22
-
phases.
23
-
- Expanded the PL/PR usage example with modular analysis sections, plot
24
-
interpretation, and mathematical definitions for rates, ratios, error rates,
25
-
threshold onsets, experience-learning onsets, and cumulative preference
26
-
onsets.
27
-
-->
47
+
- Updated the public documentation to describe the toolkit as a general IntelliCage analysis package with PL/PR as the first supported workflow.
48
+
- Documented the new object-oriented synthetic-data example and subject metadata pattern.
49
+
- Documented the cage-run/export-block input layout and clarified that export-block folders are technical raw-data pieces rather than biological phases.
50
+
- Expanded the PL/PR usage example with modular analysis sections, plot interpretation, and mathematical definitions for rates, ratios, error rates, threshold onsets, experience-learning onsets, and cumulative preference onsets.
0 commit comments