Created
July 18, 2022 20:02
-
-
Save tomginsberg/2cbcf4a14579c467662ac5c3a4453ea4 to your computer and use it in GitHub Desktop.
This file contains 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
{'sizeof_hdr': array(348, dtype=int32), | |
'extents': array(0, dtype=int32), | |
'session_error': array(0, dtype=int16), | |
'dim_info': array(0, dtype=uint8), | |
'dim': array([ 3, 192, 156, 12, 1, 1, 1, 1], dtype=int16), | |
'intent_p1': array(0., dtype=float32), | |
'intent_p2': array(0., dtype=float32), | |
'intent_p3': array(0., dtype=float32), | |
'intent_code': array(0, dtype=int16), | |
'datatype': array(2, dtype=int16), | |
'bitpix': array(8, dtype=int16), | |
'slice_start': array(0, dtype=int16), | |
'pixdim': array([1. , 1.5625, 1.5625, 7. , 0. , 0. , 0. , 0. ], | |
dtype=float32), | |
'vox_offset': array(0., dtype=float32), | |
'scl_slope': array(nan, dtype=float32), | |
'scl_inter': array(nan, dtype=float32), | |
'slice_end': array(0, dtype=int16), | |
'slice_code': array(0, dtype=uint8), | |
'xyzt_units': array(2, dtype=uint8), | |
'cal_max': array(0., dtype=float32), | |
'cal_min': array(0., dtype=float32), | |
'slice_duration': array(0., dtype=float32), | |
'toffset': array(0., dtype=float32), | |
'glmax': array(0, dtype=int32), | |
'glmin': array(0, dtype=int32), | |
'qform_code': array(2, dtype=int16), | |
'sform_code': array(1, dtype=int16), | |
'quatern_b': array(0., dtype=float32), | |
'quatern_c': array(0., dtype=float32), | |
'quatern_d': array(0., dtype=float32), | |
'qoffset_x': array(1.5625, dtype=float32), | |
'qoffset_y': array(1.5625, dtype=float32), | |
'qoffset_z': array(7., dtype=float32), | |
'srow_x': array([ 1.5625, 0. , -0. , 1.5625], dtype=float32), | |
'srow_y': array([ 0. , 1.5625, -0. , 1.5625], dtype=float32), | |
'srow_z': array([0., 0., 7., 7.], dtype=float32), | |
'affine': tensor([[1.5625, 0.0000, -0.0000, 1.5625], | |
[0.0000, 1.5625, -0.0000, 1.5625], | |
[0.0000, 0.0000, 7.0000, 7.0000], | |
[0.0000, 0.0000, 0.0000, 1.0000]], dtype=torch.float64), | |
'original_affine': array([[ 1.5625, 0. , -0. , 1.5625], | |
[ 0. , 1.5625, -0. , 1.5625], | |
[ 0. , 0. , 7. , 7. ], | |
[ 0. , 0. , 0. , 1. ]]), | |
'as_closest_canonical': False, | |
'spatial_shape': array([192, 156, 12], dtype=int16), | |
'original_channel_dim': 'no_channel', | |
'filename_or_obj': '/h/tgins/DET0000101_avg.nii.gz'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment