Skip to content

Data generation for detectors #481

Answered by sdhiscocks
PhilClemson asked this question in Q&A
Discussion options

You must be logged in to vote

I think for tests it may be best to take a small subsample of your sensor data (simulated or measured; enough to show detector working as expected) and put it in alongside the test script in the test folder.

You should be able to get the path to the file with something like: os.path.join(os.path.dirname(__file__), "my_test_file.txt")

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@PhilClemson
Comment options

Comment options

You must be logged in to vote
1 reply
@PhilClemson
Comment options

Answer selected by PhilClemson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants