feat: Stryker/LIFEPAK CodeStat XML loader — event/channel separation …#294
Open
sorlob wants to merge 1 commit into
Open
feat: Stryker/LIFEPAK CodeStat XML loader — event/channel separation …#294sorlob wants to merge 1 commit into
sorlob wants to merge 1 commit into
Conversation
…and TrueCPR support Fix multiple parsing bugs in read_lifepak (wrong subtree lookups, namespace issues, defib array length mismatch for LP1000 devices). Add read_lifepak_cpreventlog for standalone TrueCPR CprEventLog-only exports, and add the corresponding dispatch branch in add_defibrillator_recording. All three Stryker loaders (read_lifepak, read_lifepak_cpreventlog, read_lucas) now return a 3-tuple (pat_dat, channel_data, label_spec_dict). Waveform and trend-vital data remain Channel objects; per-compression and per-event data (compressions, ventilations, CPR periods, defibrillations, 12-lead timestamps) are now added as global Label / IntervalLabel objects. CPR periods missing a final StopCPR event fall back to recording end. Add docs/source/loaders/stryker_lifepak.md with a full channel reference (waveform channels, trend vitals, event labels, TrueCPR section, known gaps) and link it from the documentation index. Add synthetic and real-data tests covering the full LIFEPAK triplet, the TrueCPR standalone path, the missing-file error path, and the LP15 fixture. Update existing Lucas tests to check labels instead of channels. Available test files passed import. Co-authored-by: RedX8 <110725804+RedX8@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Improved importer for a variety of pco files exported through CodeStat research exporter. All available test files passed import.
On the way other isssue arose, which are not fixewd by this commit: