OSCAR-code/oscar/tests
sawinglogz 06adbc1e72 Mark any PRS1 sessions with empty slices as summary and skip event or waveform data.
If there are no mask-on slices of nonzero duration, then there's not any
meaningful event or waveform data for the session. There is occasionally some
fragmentary data, but it's always less than 1 second.

When such fragmentary waveform data is present, it only contains 1-3 nonzero
samples, corresponding to 0.2s - 0.6s of data, which suggests that the
mask-on slice was really that long rather than precisely 0.  As a result,
it appears that the timestamps of the mask-on/mask-off slices are just the
current value of the machine's internal clock, which only has 1-second
resolution.

But rather than embark on herculean efforts to derive a sub-second slice
duration from (only occasionally present) event or waveform data, we just
treat the session as having no detailed data.
2019-11-13 20:44:35 -05:00
..
AutoTest.h Add initial plumbing for unit testing. 2019-05-02 21:51:56 -04:00
prs1tests.cpp Update PRS1 tests to allow for session chunks to be split between files. 2019-10-25 18:02:02 -04:00
prs1tests.h Add PRS1ModelInfo to manage the set of supported and tested machines. 2019-05-27 10:05:16 -04:00
resmedtests.cpp Add trivial unit tests for ResMed loader. 2019-07-10 12:33:00 -04:00
resmedtests.h Add trivial unit tests for ResMed loader. 2019-07-10 12:33:00 -04:00
sessiontests.cpp Mark any PRS1 sessions with empty slices as summary and skip event or waveform data. 2019-11-13 20:44:35 -05:00
sessiontests.h Add result of parsing/importing to PRS1 chunk and session YAML. 2019-06-06 16:50:40 -04:00