Read and extract cwa from command line #43
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements a new feature that is useful for those conducting studies with AX3/AX6 devices.
Currently, actipy is used within python to convert the raw cwa file to a pandas dataframe.
However, it is also desirable to have this data as a csv file, particularly those without experience in python.
This PR therefore allows anyone to convert the raw cwa file to a csv file through command prompt.
To do so, run the command:
By default, this will do no preprocessing and save all the extracted data in a csv file in the same location as the input cwa file as "sample.csv".
For specific optional parameters, we can run the command:
Testing:
Files created as expected.
Note: An error is reported stating the "data.npy file cannot access the file because it is being used by another process." however this error is not related to this work, and file reading works despite the error. This is reported in #41