-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Add "chunk" entity to MRI datatype #1586
[ENH] Add "chunk" entity to MRI datatype #1586
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1586 +/- ##
=======================================
Coverage 87.83% 87.83%
=======================================
Files 16 16
Lines 1356 1356
=======================================
Hits 1191 1191
Misses 165 165 ☔ View full report in Codecov by Sentry. |
@valosekj would it be possible to work on an example dataset to add to bids-example like it was done when the task entity was added for anat: bids-standard/bids-examples#341? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadly makes sense. Do we want to bring over any of the sample metadata (such as BodyPart
) from micr? If the main purpose in MRI is to distinguish spinal cord from brain, annotating that consistently would presumably be helpful.
bids-specification/src/schema/rules/sidecars/micr.yaml
Lines 46 to 69 in e1f8538
MicroscopySample: | |
selectors: | |
- modality == "micr" | |
- datatype == "micr" | |
- suffix != "photo" | |
fields: | |
BodyPart: | |
level: recommended | |
description_addendum: | | |
From [DICOM Body Part | |
Examined](http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html#chapter_L) | |
(for example `"BRAIN"`). | |
BodyPartDetails: recommended | |
BodyPartDetailsOntology: optional | |
SampleEnvironment: recommended | |
SampleEmbedding: optional | |
SampleFixation: optional | |
SampleStaining: recommended | |
SamplePrimaryAntibody: recommended | |
SampleSecondaryAntibody: recommended | |
SliceThickness: optional | |
TissueDeformationScaling: optional | |
SampleExtractionProtocol: optional | |
SampleExtractionInstitution: optional |
It would go into https://github.com/bids-standard/bids-specification/blob/master/src/schema/rules/sidecars/mri.yaml.
Also, would this apply to fieldmap files as well?
Note. Bringing some of the metadata like bodypart may be easier to do on its own and done via a separate PR. |
See #1593. |
Co-authored-by: Chris Markiewicz <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
Examples should be submitted as PRs to https://github.com/bids-standard/bids-examples/. Please see https://github.com/bids-standard/bids-examples/blob/master/CONTRIBUTING.md for guidance. |
…sekj/bids-specification into jv/add_chunk_entity_to_MRI_datatype
Example dataset added in bids-standard/bids-examples#405 |
@effigies and @Remi-Gau, is anything else required, or can this PR be merged? |
I think that @effigies comment is worth considering:
Don't know how much sense it would make for ASL but for fieldmap it may make sense to support chunck: even if in theory we could just rely on the |
Yes, good point. It is not uncommon to acquire different chunks of EPIs, with their associated B0 fieldmap. |
Good point! I added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be extended to ASL images as well? We should not hold up on that.
I am struggling to imagine how ASL on several chunks would be done in a way that "make sense", but one could also say the same for func. Also I have been known to lack imagination...
Whether it should be added or not should not stop from merging this PR now. |
For BOLD and ASL, I think you would stitch together statistical results, not individual volumes. |
when I said I lacked imaganitation I did not mean you should prove it to me right away. 😜 |
The
chunk
entity was originally added for the 'Microscopy' datatype in BEP031 #881. This PR adds thechunk
entity also to the MRI datatype. In the context of MRI,chunks
refer to individual field-of-views (FOVs), for example, one FOV for the brain and the second FOV for the spinal cord.Since two different FOVs might be acquired not only for anatomical MRI, I added the
chunk
entity also for DWI and fMRI.Resolves: #1382