EDL - Experiment Directory Layout
This repository contains specifications for the "Experiment Directory Layout" (EDL) storage layout as used by the Syntalos data acquisition tool.
It also contains a Python module, edlio, to easily load and save data in an EDL structure
for simplified raw experiment data management.
Check out the online documentation to learn more about this project!
Usage
You can install edlio using pip:
pip install edlio
You can then use it in your projects to load data, for example for a project
that comntains some camera capture data in a videos group:
import sys
import edlio
import cv2 as cv
# load our data collection
dcoll = edlio.load('/path/to/edl/dataset/directory')
# display some information about this dataset
print('Loaded data collection {}, created on {}, recording length: {}'.format(
dcoll.collection_idname,
dcoll.time_created,
dcoll.attributes.get('recording_length_msec', 'unknown')))
# get reference to the "videos" group
egroup = dcoll.group_by_name('videos')
if not egroup:
print('This dataset did not contain a "videos" group!')
sys.exit(1)
# get the "generic-camera" dataset
dset = egroup.dataset_by_name('generic-camera')
if not dset:
print('Dataset "generic-camera" was not found in {}.'.format(dcoll.collection_idname))
sys.exit(1)
# display all frames from this dataset and their timestamps (if any were found)
for frame in dset.read_data():
print('Frame time: {}'.format(frame.time))
cv.imshow(dset.name, frame.mat)
if cv.waitKey(25) & 0xFF == ord('q'):
break
You can find more examples in the documentation. We also provide full API documentation.
Release files for edlio 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edlio-0.3.4.tar.gz | 4.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edlio-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:4.1 MB
Release files / edlio-0.3.4.tar.gz
| Download URL | edlio-0.3.4.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d81169d359f0992fba65b71d1ee4ea49ddd1f04d82ea4d08e2f67fd6ae730443
|
|
BLAKE2b-256 checksum How to use checksums |
4d0e3d30d29a19729a87e0574f92b0d2388ffeb684169e705a729281ba5e2470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / edlio-0.3.4-py3-none-any.whl
| Download URL | edlio-0.3.4-py3-none-any.whl |
|---|---|
| Size | 32.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f140c45576876da7824b2d1a97fe9f369e2bc9f28cd6b2c844fca2e86563aa9
|
|
BLAKE2b-256 checksum How to use checksums |
c8d51738b010f35bd87a88f30dafe79e22f366d77edbee29fa9564919990d7a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|