Add deidentified Osprey PRESS NIfTI-MRS example with water and conversion provenance
Browse files
lcmodel/examples/nifti-mrs-press/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 Georg Oeltzschner
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
lcmodel/examples/nifti-mrs-press/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Philips PRESS NIfTI-MRS example
|
| 2 |
+
|
| 3 |
+
This in-vivo proton spectrum and water reference come from Osprey's MIT-licensed Philips PRESS example, subject 01. PRESS was acquired at 3 T with TE 35 ms, TR 2 s, a 30 mm cubic voxel in the posterior cingulate, 2048 points, and 2000 Hz bandwidth. The scanner combined coils and averages. This example supports LCModel processing and water-scaled fitting with the PRESS 3 T TE 35 ms basis. It does not establish fit accuracy against a known metabolite concentration.
|
| 4 |
+
|
| 5 |
+
The original SDAT/SPAR bundle is retained at the immutable Hugging Face revision `06722850204dad69d8c0b57dc16272570df984bc`, under `lcmodel/examples/philips-press-group/`. Original upstream source: https://github.com/schorschinho/osprey/tree/develop/exampledata/sdat/UnEdited/sub-01/ses-01/mrs . The included LICENSE retains Osprey's MIT copyright notice.
|
| 6 |
+
|
| 7 |
+
Conversion uses spec2nii 0.8.12 (`spec2nii philips <sdat> <spar> --anon -f <stem> -o <scratch>`) and nibabel 5.4.2. `apps/lcmodel/tools/convert_nifti_mrs_example.py` in https://github.com/neurodesk/webapps downloads the pinned source and reproduces the outputs. No signal preprocessing, resampling, averaging, or artificial singleton dimensions are introduced. Both files retain the standard NIfTI-2 spatial transform and shape `(1, 1, 1, 2048)`.
|
| 8 |
+
|
| 9 |
+
The converter's `--anon` excludes identifying metadata. The script removes the nondeterministic ConversionTime and sets the standard SequenceName to PRESS from the preserved ProtocolName `PRESS PAR 35`. It writes gzip with zero mtime and pairs the water reference by the `_water` suffix. Patient names, identifiers, birth dates, scan dates, and original file names are absent. PatientPosition describes scanner orientation only.
|
| 10 |
+
|
| 11 |
+
`checksums.json` gives SHA-256 checksums of all four original input files and both published NIfTI-MRS files.
|
lcmodel/examples/nifti-mrs-press/checksums.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"sub-01_PRESS_35_act.sdat": "fd14521b8b7e9f1fa4d1fd8930e6e4b7a4e26d535f71eab9e922d4a40c7759b0",
|
| 3 |
+
"sub-01_PRESS_35_act.spar": "78b78cb9ec4d5b509563384629390702cc2caf1cc133df529beb56e4d7ae1f4f",
|
| 4 |
+
"sub-01_PRESS_35.nii.gz": "4dfa483da8df68510ea54008e0464c2b4e1a8f7990bc4798b65f143d389dbeff",
|
| 5 |
+
"sub-01_PRESS_35_ref.sdat": "996ddb02f55c4bb65204e92f25d5a112dd72b300659a13d0aacb28040af3b59d",
|
| 6 |
+
"sub-01_PRESS_35_ref.spar": "7cf63c7064d481a9330ef25b42bf012b605e62936428de5b2eed4e3438eceb34",
|
| 7 |
+
"sub-01_PRESS_35_water.nii.gz": "b8c5398be85219e87c696685f48874b8f34c961e8503aabbc028d40e01fbbfcf"
|
| 8 |
+
}
|
lcmodel/examples/nifti-mrs-press/sub-01_PRESS_35.nii.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dfa483da8df68510ea54008e0464c2b4e1a8f7990bc4798b65f143d389dbeff
|
| 3 |
+
size 16016
|
lcmodel/examples/nifti-mrs-press/sub-01_PRESS_35_water.nii.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8c5398be85219e87c696685f48874b8f34c961e8503aabbc028d40e01fbbfcf
|
| 3 |
+
size 16124
|