|
| 1 | +Command Line |
| 2 | +============ |
| 3 | +When you install **wonambi**, you'll have access to some functions in your command line. |
| 4 | + |
| 5 | +wonambi |
| 6 | +------- |
| 7 | +This is the main command to run the graphical user interface (GUI). |
| 8 | + |
| 9 | +.. code-block:: bash |
| 10 | +
|
| 11 | + usage: wonambi [-h] [-v] [-l LOG] [--reset] [--bids] |
| 12 | + [dataset] [annot] [montage] |
| 13 | +
|
| 14 | + Package to analyze EEG, ECoG and other electrophysiology formats. It allows |
| 15 | + for visualization of the results and for a GUI that can be used to score sleep |
| 16 | + stages. |
| 17 | +
|
| 18 | + positional arguments: |
| 19 | + dataset full path to dataset to open |
| 20 | + annot full path to annotations file to open |
| 21 | + montage full path to montage file to open |
| 22 | +
|
| 23 | + optional arguments: |
| 24 | + -h, --help show this help message and exit |
| 25 | + -v, --version Return version |
| 26 | + -l LOG, --log LOG Logging level: info (default), debug |
| 27 | + --reset Reset (clear) configuration file |
| 28 | + --bids Read the information stored in the BIDS format |
| 29 | +
|
| 30 | +
|
| 31 | +won_convert |
| 32 | +----------- |
| 33 | +This command allows you to convert the data from one format known to **wonambi** into another common format (like `edf`, Brain Vision, BIDS). |
| 34 | + |
| 35 | +.. code-block:: bash |
| 36 | +
|
| 37 | + usage: won_convert [-h] [-v] [-l LOG] [-f SAMPLING_FREQ] [-b BEGTIME] |
| 38 | + [-e ENDTIME] |
| 39 | + [infile] [outfile] |
| 40 | +
|
| 41 | + Convert data from one known format to another format |
| 42 | +
|
| 43 | + positional arguments: |
| 44 | + infile full path to dataset to convert |
| 45 | + outfile full path of the output file with extension (.edf) |
| 46 | +
|
| 47 | + optional arguments: |
| 48 | + -h, --help show this help message and exit |
| 49 | + -v, --version Return version |
| 50 | + -l LOG, --log LOG Logging level: info (default), debug |
| 51 | + -f SAMPLING_FREQ, --sampling_freq SAMPLING_FREQ |
| 52 | + resample to this frequency (in Hz) |
| 53 | + -b BEGTIME, --begtime BEGTIME |
| 54 | + start time in seconds from the beginning of the |
| 55 | + recordings |
| 56 | + -e ENDTIME, --endtime ENDTIME |
| 57 | + end time in seconds from the beginning of the |
| 58 | + recordings |
0 commit comments