CerebralCortex-Random-Data-Generator
Generate some random data for Cerebral Cortex Demo Purposes. This script will generate one day worth of sensors data.
Dependencies
- Python 3.5, 3.6, 3.7, 3.8
- cerebralcortex-kernel - 3.3.9
pip3 install cerebralcortex-kernel
How to run
python3 main.py- By default, random generated data will be stored under home folder, e.g.,
(/Users/ali/cc_data/)
How to read generated data
- All the data is stored in parquet files format
- Use CerebralCortex to read the data/metadata
from cerebralcortex.kernel import Kernel
CC = Kernel(cc_configs="default", study_name="mguard")
data = CC.get_stream("battery--org.md2k.phonesensor--phone")
data.show()
Available stream names
org.md2k--mguard--00000000-e19c-3956-9db2-5459ccadd40c--battery--phoneorg.md2k--mguard--00000000-e19c-3956-9db2-5459ccadd40c--location--phoneorg.md2k--mguard--00000000-e19c-3956-9db2-5459ccadd40c--data_analysis--gps_episodes_and_semantic_locationorg.md2k--mguard--00000000-e19c-3956-9db2-5459ccadd40c--accelerometer--phoneorg.md2k--mguard--00000000-e19c-3956-9db2-5459ccadd40c--gyroscope--phone
Google Colab Notebook
https://colab.research.google.com/drive/1nxQom7FpzTLEblv_uBbtHUD8TaTN48I5?usp=sharing
Metadata
Release files for ccrdg 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ccrdg-1.0.1.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ccrdg-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / ccrdg-1.0.1.tar.gz
| Download URL | ccrdg-1.0.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f108cb580dc1f85b81d777fa6651dcc7c6428ad6a2a12b88a8eab7b8d9c3e84
|
|
BLAKE2b-256 checksum How to use checksums |
c43775da0a98e537a0438aa4b02a67cf62c2d95b8c0ec72be0406584cd7227b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Release files / ccrdg-1.0.1-py3-none-any.whl
| Download URL | ccrdg-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56c62f217e3fcf7fb7e12c23afc95d912c022feb1029d75df88a06cdd17bc008
|
|
BLAKE2b-256 checksum How to use checksums |
69123eaa72fc8fbd92653e024b0582aeed6d76501e0cf0b5abfa6cd9538e0e3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|