From 2539ab551090868f451b6e26f328af895eb03f78 Mon Sep 17 00:00:00 2001 From: Rafael Mosca Date: Tue, 9 Feb 2021 22:04:25 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2130a7f..7a97ff3 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ See the project on [PyPI](https://pypi.org/project/aertb/) or do `pip3 install a ### Usage ```py -from aertb.core import FileLoader - -datLoader = FileLoader('dat') # 'bin', or 'aedat' -datLoader.load_events('../example_data/dat/cars/obj_004414_td.dat') +from aertb.core.loaders import PolarityEventFile +file = PolarityEventFile('../myFile.myext') +# handle every supported file extension +# then file.header, file.get_events() ... ``` Supported extensions: