Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add session file parser #70

Merged
merged 4 commits into from
Nov 10, 2020
Merged

Add session file parser #70

merged 4 commits into from
Nov 10, 2020

Conversation

abelfodil
Copy link
Contributor

What is does:

  • Autodetect file format (SD or Session)
  • Parse the file accordingly

Known bugs:

  • Always skips the first measurement (won't fix)

Copy link
Contributor

@conorato conorato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Ça m'a fait pensé, maintenant qu'on accepte les Session files, on accepte alors indirectement les données du Ganglion et du Cyton (comme on ne peut pas save sur la carte SD avec le Ganglion). On devra alors modifier la fréquence d'échantillonage selon le board. On peut faire ça dans une autre PR though

backend/classification/parser/constants.py Outdated Show resolved Hide resolved
backend/classification/parser/session_file_parser.py Outdated Show resolved Hide resolved
backend/classification/parser/__init__.py Outdated Show resolved Hide resolved
@abelfodil abelfodil requested a review from conorato November 10, 2020 15:04
Copy link
Contributor

@conorato conorato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@abelfodil abelfodil merged commit a93fe4a into master Nov 10, 2020
@abelfodil abelfodil deleted the handle-session branch November 10, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants