Add GE scanner physiological file functionality#424
Merged
smoia merged 49 commits intophysiopy:masterfrom Dec 23, 2022
Merged
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #424 +/- ##
==========================================
+ Coverage 94.77% 94.82% +0.04%
==========================================
Files 8 8
Lines 881 966 +85
==========================================
+ Hits 835 916 +81
- Misses 46 50 +4
|
Member
|
@nw-duncan once #430 is tested and merged, could you rebase this PR on the new master? I switched back CI to Circle CI, so we can exclude missed runs due to CI providers. |
…nner physiological file. If so, adds a .gep filename extension.
…nner physiological file. If so, adds a .gep filename extension. Do nothing if extension is already present.
…input for trigger_idx. Make this input optional with default of 0. If "None" is set as the input then it records this in the log
…s an optional input in their BlueprintInput calls (need to follow up with this so that it's truly optional? At the moment it's hardcoded that they all will actually have an input)
…as visualisation is based upon there being a trigger channel. Changed load_gep to insert a column of zeros for the trigger channel
…rches for other modalities based on the filename the user enters. Need to modify check_ge in io.py before proceeding
… files and adds the .gep extension to them too
… files and adds the .gep extension to them too
…les that might be produced if phys2bids is run without a heuristics file or no subject id. Also stopped it adding .gep to files that already end in that
…lename contains data that isn't consistent with GE physiological format. Catches strings and files with more than one column
…ta where the scan is running (i.e., from 30s into the data to the end)
Member
|
@nw-duncan if you agree, we merge this part in now, and we wait for documentation later? |
Contributor
Author
|
Yes, let's do that. |
Member
|
🚀 PR was released in |
tannusingh111115
pushed a commit
to tannusingh111115/phys2bids
that referenced
this pull request
Oct 26, 2025
- Replaced deprecated numpy aliases (np.int, np.float, np.bool, np.object) with builtins or explicit types - Updated/added tests for dtype handling - Added GitHub Actions CI matrix to test Python 3.8-3.10 and numpy 1.22-1.24 - Ensures phys2bids works on multiple numpy versions Closes physiopy#424
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.
Functionality to read and process GE scanner physiological recording files is added to the tool.
Users can enter a single scanner generated file (with the name given to it by the scanner). Note that these do not have any suffix. If there are other files corresponding to other measurement modalities (i.e., PPG, respiration belt, or EKG) then these will be found automatically and added.
Proposed Changes
Change Type
bugfix(+0.0.1)minor(+0.1.0)major(+1.0.0)refactoring(no version update)test(no version update)infrastructure(no version update)documentation(no version update)InternalTestingChecklist before review