-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from kabilar/main
Update readme and docs for first docs release
- Loading branch information
Showing
18 changed files
with
166 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
# DataJoint Element - Optogenetics | ||
|
||
DataJoint Element for managing data from optogenetics experiments. DataJoint Elements collectively standardize | ||
and automate data collection and analysis for neuroscience experiments. Each Element is | ||
a modular pipeline for data storage and processing with corresponding database | ||
tables that can be combined with other Elements to assemble a fully functional pipeline. | ||
DataJoint Element for managing data from optogenetics experiments. DataJoint Elements | ||
collectively standardize and automate data collection and analysis for neuroscience | ||
experiments. Each Element is a modular pipeline for data storage and processing with | ||
corresponding database tables that can be combined with other Elements to assemble a | ||
fully functional pipeline. | ||
|
||
![diagram](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/diagram_flowchart.svg) | ||
## Experiment Flowchart | ||
|
||
Installation and usage instructions can be found at the | ||
[Element documentation](httpws://datajoint.com/docs/elements/element-optogenetics). | ||
![flowchart](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/flowchart.svg) | ||
|
||
## Data Pipeline | ||
|
||
![pipeline](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/pipeline.svg) | ||
|
||
## Getting Started | ||
|
||
+ Install from PyPI | ||
|
||
```bash | ||
pip install element-optogenetics | ||
``` | ||
|
||
+ [Interactive tutorial on GitHub Codespaces](https://github.com/datajoint/workflow-optogenetics#interactive-tutorial) | ||
|
||
+ [Documentation](https://datajoint.com/docs/elements/element-optogenetics) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
# Element Optogenetics | ||
|
||
DataJoint Element for managing data from optogenetics experiments. DataJoint Elements collectively standardize | ||
and automate data collection and analysis for neuroscience experiments. Each Element is | ||
a modular pipeline for data storage and processing with corresponding database | ||
tables that can be combined with other Elements to assemble a fully functional pipeline. | ||
DataJoint Element for managing data from optogenetics experiments. DataJoint Elements | ||
collectively standardize and automate data collection and analysis for neuroscience | ||
experiments. Each Element is a modular pipeline for data storage and processing with | ||
corresponding database tables that can be combined with other Elements to assemble a | ||
fully functional pipeline. | ||
|
||
![diagram](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/diagram_flowchart.svg) | ||
## Experiment Flowchart | ||
|
||
Visit the [Concepts page](./concepts.md) for more information on optogenetics research | ||
and Element Optogenetics. To get started with building your data pipeline visit the | ||
[Tutorials page](./tutorials/index.md). | ||
![flowchart](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/flowchart.svg) | ||
|
||
## Data Pipeline | ||
|
||
![pipeline](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/pipeline.svg) | ||
|
||
## Getting Started | ||
|
||
+ Install from PyPI | ||
|
||
```bash | ||
pip install element-optogenetics | ||
``` | ||
|
||
+ [Data Pipeline](./pipeline.md) - Pipeline and table descriptions | ||
|
||
+ [Tutorials](./tutorials/index.md) - Start building your data pipeline | ||
|
||
+ [Code Repository](https://github.com/datajoint/element-optogenetics/){:target="_blank"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Key Partnerships | ||
|
||
Key members of the [U19 BrainCoGS project](https://www.braincogs.org/) at Princeton | ||
University were consulted during development. The | ||
[U19 BrainCoGS MATLAB pipeline](https://github.com/BrainCOGS/U19-pipeline-matlab/tree/master/schemas/%2Boptogenetics) | ||
serves as an important precursor project to this Element. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Data Pipeline | ||
|
||
Each node in the following diagram represents the analysis code in the workflow and the | ||
corresponding tables in the database. Within the workflow, Element Optogenetics connects | ||
to upstream Elements including Lab, Animal, and Session. For more detailed | ||
documentation on each table, see the API docs for the respective schemas. | ||
|
||
![pipeline](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/pipeline.svg) | ||
|
||
## `reference` schema ([API docs](../api/workflow_Optogenetics/pipeline/#workflow_Optogenetics.reference.Device)) | ||
|
||
| Table | Description | | ||
| --- | --- | | ||
| Device | Pulse generator device | | ||
|
||
## `subject` schema ([API docs](https://datajoint.com/docs/elements/element-animal/latest/api/element_animal/subject/#element_animal.subject.Subject)) | ||
|
||
- Although not required, most choose to connect the `Session` table to a `Subject` table. | ||
|
||
| Table | Description | | ||
| --- | --- | | ||
| Subject | Basic information of the research subject | | ||
|
||
## `surgery` schema ([API docs](https://datajoint.com/docs/elements/element-animal/latest/api/element_animal/surgery/#element_animal.surgery.Implantation)) | ||
|
||
- The `Implantation` table can be user-defined , or one can choose to use the `surgery.Implantation` table from `element-animal`. | ||
|
||
| Table | Description | | ||
| --- | --- | | ||
| Implantation | Location of an implanted device | | ||
|
||
## `session` schema ([API docs](https://datajoint.com/docs/elements/element-session/latest/api/element_session/session_with_id)) | ||
|
||
| Table | Description | | ||
| --- | --- | | ||
| Session | Unique experimental session identifier | | ||
|
||
## `optogenetics` schema ([API docs](../api/element_optogenetics/optogenetics)) | ||
|
||
| Table | Description | | ||
| --- | --- | | ||
| OptoWaveformType | Stimulus waveform type (e.g., square, ramp, sine) | | ||
| OptoWaveform | Shape of one cycle of the stimulus waveform | | ||
| OptoWaveform.Square | Square waveform properties | | ||
| OptoWaveform.Ramp | Ramp waveform properties | | ||
| OptoWaveform.Sine | Sine waveform properties | | ||
| OptoStimParams | Stimulus parameters | | ||
| OptoProtocol | Protocol for a given session | | ||
| OptoEvent | Start and end time of the stimulus within a session | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Roadmap | ||
|
||
This Element stores key information about optogenetic stimulus protocols used during | ||
experimental sessions. | ||
|
||
- [x] Stimulus parameters (waveform properties, wavelength, power, duration, etc.) | ||
- [x] Implant location of the optical fiber | ||
- [x] Stimulus pulse generator | ||
- [x] Stimulus start and end times during an experimental session | ||
|
||
Further development of this Element is community driven. Upon user requests and based | ||
on guidance from the Scientific Steering Group we will add further features to this | ||
Element. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,14 @@ | ||
# Tutorials | ||
|
||
## Installation | ||
+ DataJoint Elements are modular pipelines that can be connected into a complete workflow. [Workflow Optogenetics](https://github.com/datajoint/workflow-optogenetics)) is an example that combines four DataJoint Elements - Lab, Animal, Session, and Optogenetics. | ||
|
||
Installation of the Element requires an integrated development environment and database. | ||
Instructions to setup each of the components can be found on the | ||
[User Instructions](https://datajoint.com/docs/elements/user-guide/) page. These | ||
instructions use the example workflows | ||
(e.g., [workflow-optogenetics](https://github.com/datajoint/workflow-optogenetics)), | ||
which can be modified for a user's specific experimental requirements. This example | ||
workflow uses four Elements (Lab, Animal, Session, and Optogenetics) to construct a | ||
complete pipeline, and is able to ingest experimental metadata. | ||
+ Workflow Optogenetics includes an [interactive tutorial on GitHub Codespaces](https://github.com/datajoint/workflow-optogenetics#interactive-tutorial), which is configured for users to run the pipeline. | ||
|
||
<!-- ### Videos | ||
+ In the interactive tutorial, the [example notebook](https://github.com/datajoint/workflow-optogenetics/tree/main/notebooks.tutorial.ipynb) describes the pipeline and provides instructions for adding data to the pipeline. | ||
|
||
The [Element Optogenetics tutorial](https://www.youtube.com/watch?v=8FDjTuQ52gQ) gives an | ||
overview of the workflow files and notebooks as well as core concepts related to | ||
optogenetics research. | ||
## Installation Instructions for Active Projects | ||
|
||
[![YouTube tutorial](https://img.youtube.com/vi/8FDjTuQ52gQ/0.jpg)](https://www.youtube.com/watch?v=8FDjTuQ52gQ) --> | ||
+ The Workflow Optogenetics described above can be modified for a user's specific experimental requirements and thereby used in active projects. | ||
|
||
### Notebooks | ||
|
||
Each of the | ||
[notebooks](https://github.com/datajoint/workflow-optogenetics/tree/main/notebooks) in | ||
the workflow steps through ways to interact with the Element itself. | ||
|
||
- [Configure](./01-configure.ipynb) | ||
helps configure your local DataJoint installation to point to the correct database. | ||
- [Workflow Structure](./02-workflow-structure-optional.ipynb) demonstrates the table | ||
architecture of the Element and key DataJoint basics for interacting with these | ||
tables. | ||
- [Process](./03-process.ipynb) steps through adding data to these tables. | ||
+ The GitHub Codespace and Dev Container is configured for tutorials and prototyping. | ||
We recommend users to configure a database specifically for production pipelines. Instructions for a local installation of the integrated development environment with a database can be found on the [User Guide](https://datajoint.com/docs/elements/user-guide/) page. |
Oops, something went wrong.