-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stashing partial, busted work for a moment...
- Loading branch information
1 parent
bdd0529
commit e2af9d3
Showing
5 changed files
with
109 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# wirefree | ||
|
||
```{eval-rst} | ||
.. automodule:: miniscope_io.devices.wirefree | ||
:members: | ||
:undoc-members: | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
""" | ||
File-based data sources | ||
""" | ||
|
||
from miniscope_io.models.pipeline import Source | ||
|
||
|
||
class FileSource(Source): | ||
""" | ||
Generic parent class for file sources | ||
""" | ||
|
||
|
||
class BinaryLayout: | ||
"""Layout for binary files""" | ||
|
||
pass | ||
|
||
|
||
class BinaryFileSource(FileSource): | ||
""" | ||
Structured binary file that has | ||
* a global header with config values | ||
* a series of buffers, each containing a | ||
* buffer header - with metadata for that buffer and | ||
* buffer data - the data for that buffer | ||
The source thus has two configurations | ||
* the ``config`` - getter and setter for the actual configuration values of the source | ||
* the ``layout`` - how the configuration and data are laid out within the file. | ||
""" |