Metadata-Version: 2.1
Name: charidotella
Version: 0.1
Summary: Charidotella is a toolbox to organise and visualise Event Stream (.es) recordings
Home-page: https://github.com/neuromorphicsystems/charidotella
Author: Alexandre Marcireau
Author-email: alexandre.marcireau@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

Render is a toolbox to organise and visualise Event Stream (.es) recordings.

## Install render

1. Clone this repository (notice the `--recursive` flag)

```sh
git clone --recursive https://github.com/neuromorphicsystems/render
```

2. Install the dependencies for your platform for command_line_tools (see https://github.com/neuromorphic-paris/command_line_tools#dependencies)

3. Compile command_line_tools

```sh
cd render/command_line_tools
premake4 gmake
cd build
make
```

3. Install Python dependencies

```sh
pip3 install -r requirements.txt
```

4. Install FFmpeg

-   **Debian/Ubuntu**

```sh
apt install ffmpeg
```

-   **macOS**

```sh
brew install ffmpeg
```

-   **Windows**

```sh
choco install ffmpeg
```

## Use render

1.  Generate a configuration file

```sh
python3 render.py configure /path/to/recordings/directory
```

2. Edit the generated _render-configuration.toml_

3. Run the configured tasks

```sh
python3 render.py run
```

4. Modifiy _render-configuration.toml_ again (for instance, add new tasks and jobs). `python3 render.py run` skips already completed tasks and only runs only the new ones (unless the flag `--force` is used).

## Contribute to render

After code edits, run the formatters and linters.

```
isort .; black .; pyright .
```
