This package provides custom NEUROLIVE features for processing XDF files using pdxdf.
It can be used in several ways:
- as a standalone command-line tool
- as a dependency to be used by other scripts and packages
- in editable mode for development of the package itself
- as part of nl-analysis (private).
Install uv.
git clone https://github.com/jamieforth/nlxdf.git
cd nlxdf
uv run snakeskin-resample --help
uv run readings-resample --helpuv run snakeskin-resample -i ./data/performances/4-snakeskin/*/*.xdf \
-o ./data/performances/4-snakeskin/resampled/ \
--fs 512 \
--label 'optional text to describe batch'uv run readings-resample -i ./data/performances/5-readings/*/*.xdf \
-o ./data/performances/5-readings/resampled/ \
--fs 512 \
--label 'optional text to describe batch'To use this package as part of other projects, or to install it within
a venv you are managing your yourself, install with pip or via
your build tool/IDE of choice (e.g. uv).
pip install git+https://github.com/jamieforth/nlxdf.git#nlxdfuv add git+https://github.com/jamieforth/nlxdf.gitTo develop the package itself clone and install in editable mode.
Recommended: Install within a self-contained environment managed by
uv to ensure a reproducible development environment.
git clone https://github.com/jamieforth/nlxdf.git
cd nlxdf
uv add . --editable --devTo incorporate upstream changes:
git pull
uv syncAlternatively within an externally managed environment.
pip install --editable git+https://github.com/jamieforth/nlxdf.git#nlxdf