Skip to content
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

task json missing some content from sub-04, sub-05, sub-06 #33

Open
yibeichan opened this issue Oct 25, 2024 · 0 comments
Open

task json missing some content from sub-04, sub-05, sub-06 #33

yibeichan opened this issue Oct 25, 2024 · 0 comments

Comments

@yibeichan
Copy link

Hi,

I found that task JSON files in sub-04, sub-05, and sub-06 some early sessions miss the time part.

See this file, all parts after WipMemBlock have gone.

A normal file would have the following

"dcmmeta_affine": [
[-1.9980149269104004, -0.04743470624089241, 0.0754086896777153, 107.53617095947266],
[-0.07186224311590195, 1.8587175607681274, -0.7348503470420837, -54.25742721557617],
[0.05265302583575249, 0.736830472946167, 1.858577013015747, -66.47301483154297],
[0.0, 0.0, 0.0, 1.0]
],
"dcmmeta_reorient_transform": [
[0.0, -1.0, 0.0, 103.0],
[1.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 1.0]
],
"dcmmeta_shape": [104, 104, 60, 129],
"dcmmeta_slice_dim": 2,
"dcmmeta_version": 0.6,
"global": {
"const": {
"AcquisitionMatrix": [104, 0, 0, 104],
"AngioFlag": "N",
"BitsAllocated": 16,
"BitsStored": 16,
"BodyPartExamined": "BRAIN",
"Columns": 832,
"EchoNumbers": 1,
"EchoTime": 37.0,
"EchoTrainLength": 104,
"FlipAngle": 52.0,
"HighBit": 15,
"ImageOrientationPatient": [0.99900744207858, 0.03593112013398, 0.02632651282522, -0.0237173533646, 0.92935875575833, -0.3684152416021],
"ImagePositionPatient": [-812.66158224361, -839.92150785812, 258.46111839335],
"ImageType": [
"ORIGINAL",
"PRIMARY",
"M",
"MB",
"ND",
"MOSAIC"
],
"ImagedNucleus": "1H",
"ImagingFrequency": 123.259382,
"InPlanePhaseEncodingDirection": "COL",
"MRAcquisitionType": "2D",
"MagneticFieldStrength": 3.0,
"Manufacturer": "SIEMENS",
"ManufacturerModelName": "Prisma_fit",
"Modality": "MR",
"NumberOfAverages": 1.0,
"NumberOfPhaseEncodingSteps": 104,
"PercentPhaseFieldOfView": 100.0,
"PercentSampling": 100.0,
"PerformedProcedureStepStartTime": "155657.977000",
"PhotometricInterpretation": "MONOCHROME2",
"PixelBandwidth": 2290.0,
"PixelRepresentation": 0,
"PixelSpacing": [2.0, 2.0],
"ProtocolName": "func_task-gambling_run-1",
"RepetitionTime": 1490.0,
"Rows": 832,
"SAR": 0.03909736774656,
"SamplesPerPixel": 1,
"ScanOptions": "FS",
"ScanningSequence": "EP",
"SequenceName": "epfid2d1_104",
"SequenceVariant": [
"SK",
"SS"
],
"SeriesDescription": "func_task-gambling_run-1",
"SeriesNumber": 19,
"SeriesTime": "165247.862000",
"SliceLocation": -37.782484400836,
"SliceThickness": 2.0,
"SmallestImagePixelValue": 0,
"SoftwareVersions": "syngo MR E11",
"SpacingBetweenSlices": 1.9999999473995,
"SpecificCharacterSet": "ISO_IR 100",
"StudyID": "1",
"StudyTime": "155657.900000",
"TransmitCoilName": "Body",
"VariableFlipAngleFlag": "N",
"WindowCenterWidthExplanation": "Algo1",
"dBdt": 0.0},
"slices": {}
},
"time": {
"samples": {
"AcquisitionNumber": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129],
"AcquisitionTime": ["165134.767500", "165136.257500", "165137.747500", "165139.237500", "165140.727500", "165142.217500", "165143.707500", "165145.197500", "165146.687500", "165148.177500", "165149.667500", "165151.157500", "165152.647500", "165154.137500", "165155.627500", "165157.117500", "165158.607500", "165200.097500", "165201.587500", "165203.077500", "165204.567500", "165206.057500", "165207.547500", "165209.037500", "165210.527500", "165212.017500", "165213.507500", "165214.997500", "165216.487500", "165217.977500", "165219.467500", "165220.957500", "165222.447500", "165223.937500", "165225.427500", "165226.917500", "165228.407500", "165229.897500", "165231.387500", "165232.877500", "165234.367500", "165235.857500", "165237.347500", "165238.837500", "165240.327500", "165241.817500", "165243.307500", "165244.797500", "165246.287500", "165247.777500", "165249.267500", "165250.757500", "165252.247500", "165253.737500", "165255.227500", "165256.717500", "165258.207500", "165259.697500", "165301.187500", "165302.677500", "165304.167500", "165305.657500", "165307.147500", "165308.637500", "165310.127500", "165311.617500", "165313.107500", "165314.597500", "165316.087500", "165317.577500", "165319.067500", "165320.557500", "165322.047500", "165323.537500", "165325.027500", "165326.517500", "165328.007500", "165329.497500", "165330.987500", "165332.477500", "165333.967500", "165335.457500", "165336.947500", "165338.437500", "165339.927500", "165341.417500", "165342.907500", "165344.397500", "165345.887500", "165347.377500", "165348.867500", "165350.357500", "165351.847500", "165353.337500", "165354.827500", "165356.317500", "165357.807500", "165359.297500", "165400.787500", "165402.277500", "165403.767500", "165405.257500", "165406.747500", "165408.237500", "165409.727500", "165411.217500", "165412.707500", "165414.197500", "165415.687500", "165417.177500", "165418.667500", "165420.157500", "165421.647500", "165423.137500", "165424.627500", "165426.117500", "165427.607500", "165429.097500", "165430.587500", "165432.077500", "165433.567500", "165435.057500", "165436.547500", "165438.037500", "165439.527500", "165441.017500", "165442.507500", "165443.997500", "165445.487500"],
"ContentTime": ["165247.865000", "165247.868000", "165247.871000", "165247.874000", "165247.877000", "165247.880000", "165247.883000", "165247.886000", "165247.898000", "165247.901000", "165247.903000", "165247.906000", "165247.909000", "165247.912000", "165247.915000", "165247.918000", "165307.835000", "165307.838000", "165307.841000", "165307.850000", "165307.853000", "165307.856000", "165307.859000", "165307.862000", "165307.865000", "165307.868000", "165307.871000", "165307.874000", "165307.877000", "165307.880000", "165307.883000", "165307.886000", "165307.889000", "165307.892000", "165307.895000", "165307.898000", "165307.901000", "165327.836000", "165327.839000", "165327.842000", "165327.845000", "165327.848000", "165327.851000", "165327.854000", "165327.857000", "165327.860000", "165327.863000", "165327.866000", "165327.869000", "165327.871000", "165327.875000", "165327.877000", "165327.880000", "165327.883000", "165327.886000", "165327.889000", "165327.892000", "165347.836000", "165347.839000", "165347.842000", "165347.845000", "165347.848000", "165347.851000", "165347.854000", "165347.857000", "165347.860000", "165347.863000", "165347.866000", "165347.869000", "165347.872000", "165347.875000", "165347.878000", "165347.881000", "165347.884000", "165347.887000", "165347.890000", "165347.892000", "165407.836000", "165407.840000", "165407.843000", "165407.846000", "165407.849000", "165407.852000", "165407.855000", "165407.858000", "165407.861000", "165407.864000", "165407.867000", "165407.870000", "165407.873000", "165407.876000", "165407.879000", "165407.882000", "165407.885000", "165407.887000", "165407.890000", "165407.894000", "165447.843000", "165447.846000", "165447.850000", "165447.853000", "165447.856000", "165447.859000", "165447.876000", "165447.880000", "165447.885000", "165447.890000", "165447.895000", "165447.900000", "165447.904000", "165447.908000", "165447.911000", "165447.914000", "165447.917000", "165447.920000", "165447.923000", "165447.926000", "165447.929000", "165447.932000", "165447.935000", "165447.938000", "165447.941000", "165447.944000", "165447.947000", "165447.950000", "165447.953000", "165447.956000", "165447.959000", "165448.025000"],
"InstanceCreationTime": ["165247.865000", "165247.868000", "165247.871000", "165247.874000", "165247.877000", "165247.880000", "165247.883000", "165247.886000", "165247.898000", "165247.901000", "165247.903000", "165247.906000", "165247.909000", "165247.912000", "165247.915000", "165247.918000", "165307.835000", "165307.838000", "165307.841000", "165307.850000", "165307.853000", "165307.856000", "165307.859000", "165307.862000", "165307.865000", "165307.868000", "165307.871000", "165307.874000", "165307.877000", "165307.880000", "165307.883000", "165307.886000", "165307.889000", "165307.892000", "165307.895000", "165307.898000", "165307.901000", "165327.836000", "165327.839000", "165327.842000", "165327.845000", "165327.848000", "165327.851000", "165327.854000", "165327.857000", "165327.860000", "165327.863000", "165327.866000", "165327.869000", "165327.871000", "165327.875000", "165327.877000", "165327.880000", "165327.883000", "165327.886000", "165327.889000", "165327.892000", "165347.836000", "165347.839000", "165347.842000", "165347.845000", "165347.848000", "165347.851000", "165347.854000", "165347.857000", "165347.860000", "165347.863000", "165347.866000", "165347.869000", "165347.872000", "165347.875000", "165347.878000", "165347.881000", "165347.884000", "165347.887000", "165347.890000", "165347.892000", "165407.836000", "165407.840000", "165407.843000", "165407.846000", "165407.849000", "165407.852000", "165407.855000", "165407.858000", "165407.861000", "165407.864000", "165407.867000", "165407.870000", "165407.873000", "165407.876000", "165407.879000", "165407.882000", "165407.885000", "165407.887000", "165407.890000", "165407.894000", "165447.843000", "165447.846000", "165447.850000", "165447.853000", "165447.856000", "165447.859000", "165447.876000", "165447.880000", "165447.885000", "165447.890000", "165447.895000", "165447.900000", "165447.904000", "165447.908000", "165447.911000", "165447.914000", "165447.917000", "165447.920000", "165447.923000", "165447.926000", "165447.929000", "165447.932000", "165447.935000", "165447.938000", "165447.941000", "165447.944000", "165447.947000", "165447.950000", "165447.953000", "165447.956000", "165447.959000", "165448.025000"],
"InstanceNumber": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129],
"LargestImagePixelValue": [45672, 43923, 44079, 44164, 43517, 43438, 42437, 42029, 42588, 42116, 41843, 42204, 42532, 43178, 43032, 42711, 42128, 41553, 42787, 42563, 42070, 41467, 41718, 42221, 41776, 41716, 41939, 41645, 42569, 43030, 42667, 42410, 42146, 42423, 42557, 42757, 42112, 41851, 42368, 42606, 42700, 42448, 42124, 41992, 42394, 42453, 41909, 41930, 42605, 42673, 42408, 42237, 42433, 42509, 42199, 41915, 41460, 41809, 42765, 42415, 42153, 41608, 41549, 43011, 43030, 42300, 42306, 42045, 41528, 41919, 41793, 42180, 41735, 41421, 42539, 43517, 42217, 41849, 41750, 41546, 41920, 42365, 42188, 42043, 41958, 41896, 42195, 43175, 43037, 42490, 41819, 41278, 41872, 43095, 43282, 42814, 42833, 41883, 41305, 42524, 42936, 42106, 42330, 42149, 41813, 42725, 43542, 42369, 41725, 41496, 41081, 41814, 42854, 42508, 42274, 42271, 41864, 41794, 43080, 42811, 42054, 41932, 41546, 42465, 42611, 42498, 42213, 41576, 42227],
"WindowCenter": [10169.0, 10127.0, 10157.0, 10187.0, 10156.0, 10126.0, 10095.0, 10078.0, 10115.0, 10145.0, 10143.0, 10133.0, 10122.0, 10136.0, 10157.0, 10142.0, 10122.0, 10114.0, 10149.0, 10169.0, 10154.0, 10121.0, 10100.0, 10121.0, 10152.0, 10148.0, 10133.0, 10109.0, 10137.0, 10173.0, 10162.0, 10133.0, 10106.0, 10102.0, 10135.0, 10149.0, 10133.0, 10116.0, 10111.0, 10137.0, 10151.0, 10144.0, 10134.0, 10111.0, 10130.0, 10139.0, 10135.0, 10142.0, 10175.0, 10179.0, 10170.0, 10146.0, 10156.0, 10178.0, 10173.0, 10148.0, 10114.0, 10116.0, 10155.0, 10163.0, 10149.0, 10117.0, 10086.0, 10109.0, 10127.0, 10124.0, 10117.0, 10108.0, 10100.0, 10120.0, 10146.0, 10130.0, 10097.0, 10082.0, 10112.0, 10173.0, 10160.0, 10117.0, 10085.0, 10065.0, 10088.0, 10134.0, 10137.0, 10112.0, 10091.0, 10071.0, 10093.0, 10145.0, 10160.0, 10127.0, 10092.0, 10058.0, 10071.0, 10136.0, 10169.0, 10138.0, 10108.0, 10073.0, 10054.0, 10093.0, 10136.0, 10129.0, 10101.0, 10071.0, 10052.0, 10095.0, 10143.0, 10122.0, 10088.0, 10067.0, 10050.0, 10074.0, 10126.0, 10133.0, 10103.0, 10081.0, 10062.0, 10063.0, 10117.0, 10134.0, 10110.0, 10083.0, 10064.0, 10083.0, 10130.0, 10145.0, 10119.0, 10078.0, 10080.0],
"WindowWidth": [21501.0, 21398.0, 21457.0, 21535.0, 21451.0, 21377.0, 21311.0, 21275.0, 21357.0, 21427.0, 21425.0, 21400.0, 21374.0, 21408.0, 21458.0, 21424.0, 21378.0, 21361.0, 21436.0, 21486.0, 21450.0, 21379.0, 21329.0, 21376.0, 21452.0, 21443.0, 21403.0, 21350.0, 21410.0, 21495.0, 21471.0, 21403.0, 21341.0, 21331.0, 21409.0, 21446.0, 21404.0, 21365.0, 21351.0, 21410.0, 21443.0, 21428.0, 21401.0, 21355.0, 21395.0, 21417.0, 21410.0, 21426.0, 21508.0, 21512.0, 21487.0, 21434.0, 21454.0, 21507.0, 21498.0, 21439.0, 21362.0, 21363.0, 21452.0, 21479.0, 21438.0, 21370.0, 21295.0, 21338.0, 21384.0, 21378.0, 21363.0, 21344.0, 21325.0, 21381.0, 21437.0, 21395.0, 21321.0, 21286.0, 21353.0, 21493.0, 21469.0, 21366.0, 21293.0, 21248.0, 21301.0, 21411.0, 21411.0, 21354.0, 21303.0, 21257.0, 21310.0, 21430.0, 21464.0, 21384.0, 21304.0, 21235.0, 21260.0, 21406.0, 21484.0, 21410.0, 21338.0, 21260.0, 21220.0, 21313.0, 21407.0, 21394.0, 21323.0, 21254.0, 21213.0, 21303.0, 21420.0, 21378.0, 21300.0, 21251.0, 21215.0, 21263.0, 21380.0, 21400.0, 21330.0, 21278.0, 21239.0, 21243.0, 21365.0, 21408.0, 21351.0, 21288.0, 21245.0, 21285.0, 21396.0, 21429.0, 21369.0, 21277.0, 21279.0]
},
"slices": {}
}
}

I'm not sure whether this information is super important or not, I was using the time section to help me get n_tr without directly reading nifti files.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant