Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conversion script for conditioning sessions #11

Merged
merged 20 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 41 additions & 41 deletions src/cai_lab_to_nwb/zaki_2024/assets/experimental_setup.excalidraw
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "excalidraw",
"version": 2,
"source": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor",
"source": "https://excalidraw-jetbrains-plugin",
"elements": [
{
"type": "text",
"version": 116,
"versionNonce": 1625403132,
"version": 117,
"versionNonce": 908106764,
"isDeleted": false,
"id": "L-aY7li9S6byMi9dRpI0g",
"fillStyle": "solid",
Expand All @@ -19,14 +19,14 @@
"y": 385.6060606060606,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 49.51994323730469,
"width": 49.51997375488281,
"height": 25,
"seed": 1759143978,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699195,
"updated": 1730110773641,
"link": null,
"locked": false,
"fontSize": 20,
Expand Down Expand Up @@ -111,8 +111,8 @@
},
{
"type": "text",
"version": 182,
"versionNonce": 1519505092,
"version": 183,
"versionNonce": 785382068,
"isDeleted": false,
"id": "5skludqUfD0GwbR4KnOgE",
"fillStyle": "solid",
Expand All @@ -125,14 +125,14 @@
"y": 378.0858585858586,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 57.71992492675781,
"width": 57.719970703125,
"height": 25,
"seed": 887374454,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699196,
"updated": 1730110773641,
"link": null,
"locked": false,
"fontSize": 20,
Expand Down Expand Up @@ -217,8 +217,8 @@
},
{
"type": "text",
"version": 215,
"versionNonce": 726298492,
"version": 216,
"versionNonce": 1648966284,
"isDeleted": false,
"id": "xwJEPjW4IczAvod45gqWw",
"fillStyle": "solid",
Expand All @@ -231,14 +231,14 @@
"y": 372.57828282828285,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 56.899932861328125,
"width": 56.89996337890625,
"height": 25,
"seed": 1865596333,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699196,
"updated": 1730110773642,
"link": null,
"locked": false,
"fontSize": 20,
Expand All @@ -253,8 +253,8 @@
},
{
"type": "text",
"version": 237,
"versionNonce": 1483953732,
"version": 238,
"versionNonce": 770081844,
"isDeleted": false,
"id": "EMIlW1zYnf5zJmKH25xk7",
"fillStyle": "solid",
Expand All @@ -267,14 +267,14 @@
"y": 375.0934343434344,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 56.459930419921875,
"width": 56.4599609375,
"height": 25,
"seed": 1682743459,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699197,
"updated": 1730110773642,
"link": null,
"locked": false,
"fontSize": 20,
Expand All @@ -289,8 +289,8 @@
},
{
"type": "text",
"version": 246,
"versionNonce": 466034684,
"version": 247,
"versionNonce": 1826228492,
"isDeleted": false,
"id": "kwlpwOZPvqUt2M6P7dWmp",
"fillStyle": "solid",
Expand All @@ -303,14 +303,14 @@
"y": 372.9823232323234,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 56.899932861328125,
"width": 56.89996337890625,
"height": 25,
"seed": 1778501603,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699197,
"updated": 1730110773643,
"link": null,
"locked": false,
"fontSize": 20,
Expand Down Expand Up @@ -1517,8 +1517,8 @@
},
{
"type": "text",
"version": 101,
"versionNonce": 293442884,
"version": 102,
"versionNonce": 1819270580,
"isDeleted": false,
"id": "h2z4qkZL4niP7z-OkJqNJ",
"fillStyle": "solid",
Expand All @@ -1531,14 +1531,14 @@
"y": 431.7045454545455,
"strokeColor": "#1971c2",
"backgroundColor": "#e8590c",
"width": 73.67991638183594,
"width": 73.679931640625,
"height": 25,
"seed": 847432859,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699198,
"updated": 1730110773644,
"link": null,
"locked": false,
"fontSize": 20,
Expand Down Expand Up @@ -1625,8 +1625,8 @@
},
{
"type": "text",
"version": 185,
"versionNonce": 2022232444,
"version": 186,
"versionNonce": 961349516,
"isDeleted": false,
"id": "AgsUL343nkP_YeK0xO6lR",
"fillStyle": "solid",
Expand All @@ -1639,14 +1639,14 @@
"y": 414.7186883807135,
"strokeColor": "#1971c2",
"backgroundColor": "#e8590c",
"width": 73.67991638183594,
"width": 73.679931640625,
"height": 25,
"seed": 1837666779,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699200,
"updated": 1730110773645,
"link": null,
"locked": false,
"fontSize": 20,
Expand Down Expand Up @@ -1697,8 +1697,8 @@
},
{
"type": "text",
"version": 201,
"versionNonce": 921256444,
"version": 202,
"versionNonce": 328337204,
"isDeleted": false,
"id": "yVDlE4w1dC7oAQXrBm1Ji",
"fillStyle": "solid",
Expand All @@ -1711,14 +1711,14 @@
"y": 414.32952844424653,
"strokeColor": "#1971c2",
"backgroundColor": "#e8590c",
"width": 73.67991638183594,
"width": 73.679931640625,
"height": 25,
"seed": 1149625717,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1728393699200,
"updated": 1730110773645,
"link": null,
"locked": false,
"fontSize": 20,
Expand Down Expand Up @@ -1913,8 +1913,8 @@
},
{
"type": "text",
"version": 264,
"versionNonce": 1348900432,
"version": 266,
"versionNonce": 1886964276,
"isDeleted": false,
"id": "hTKFkUsoeSb91JPHBBE3d",
"fillStyle": "solid",
Expand All @@ -1934,7 +1934,7 @@
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1726851109249,
"updated": 1730110773724,
"link": null,
"locked": false,
"fontSize": 20,
Expand All @@ -1945,12 +1945,12 @@
"containerId": null,
"originalText": "When the animal is taken out of the vivarium then the EEG is sort of meaningless, signal strength data in the edf reader should indicate this.",
"lineHeight": 1.2,
"baseline": 18
"baseline": 19
},
{
"type": "text",
"version": 308,
"versionNonce": 1593859664,
"version": 310,
"versionNonce": 133636876,
"isDeleted": false,
"id": "cEPATEz6uaUihnMDzjGnh",
"fillStyle": "solid",
Expand All @@ -1975,7 +1975,7 @@
"type": "arrow"
}
],
"updated": 1726851152071,
"updated": 1730110773725,
"link": null,
"locked": false,
"fontSize": 20,
Expand All @@ -1986,7 +1986,7 @@
"containerId": null,
"originalText": "We should build the pipeline assuming those are present\nThey are not present in the two sesions that we got.",
"lineHeight": 1.2,
"baseline": 42
"baseline": 43
},
{
"type": "arrow",
Expand Down
2 changes: 1 addition & 1 deletion src/cai_lab_to_nwb/zaki_2024/interfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .eztrack_interface import EzTrackFreezingBehaviorInterface
from .zaki_2024_edf_interface import Zaki2024EDFInterface
from .minian_interface import MinianSegmentationInterface
from .minian_interface import MinianSegmentationInterface, MinianMotionCorrectionInterface
from .zaki_2024_sleep_classification_interface import Zaki2024SleepClassificationInterface
from .miniscope_imaging_interface import MiniscopeImagingInterface
Loading