mrd-python 2.0.0rc1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ The MIT License (MIT)
2
+ Copyright © 2024 ISMRMRD Steering Committee
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: mrd-python
3
+ Version: 2.0.0rc1
4
+ Summary: Libraries and tools for working with data in the ISMRM Raw Data (ISMRMRD or MRD).
5
+ License: The MIT License (MIT)
6
+ Copyright © 2024 ISMRMRD Steering Committee
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
+
14
+ Project-URL: Homepage, https://github.com/ismrmrd/mrd
15
+ Project-URL: Documentation, https://github.com/ismrmrd/mrd
16
+ Project-URL: Repository, https://github.com/ismrmrd/mrd
17
+ Classifier: Development Status :: 5 - Production/Stable
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: License :: OSI Approved :: MIT License
20
+ Classifier: Operating System :: OS Independent
21
+ Classifier: Intended Audience :: Science/Research
22
+ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: numpy>=1.22.0
27
+ Requires-Dist: pillow>=9.2.0
File without changes
@@ -0,0 +1,96 @@
1
+ # This file was generated by the "yardl" tool. DO NOT EDIT.
2
+
3
+ # pyright: reportUnusedImport=false
4
+ from typing import Tuple as _Tuple
5
+ import re as _re
6
+ import numpy as _np
7
+
8
+ _MIN_NUMPY_VERSION = (1, 22, 0)
9
+
10
+ def _parse_version(version: str) -> _Tuple[int, ...]:
11
+ try:
12
+ return tuple(map(int, version.split(".")))
13
+ except ValueError:
14
+ # ignore any prerelease suffix
15
+ version = _re.sub(r"[^0-9.]", "", version)
16
+ return tuple(map(int, version.split(".")))
17
+
18
+ if _parse_version(_np.__version__) < _MIN_NUMPY_VERSION:
19
+ raise ImportError(f"Your installed numpy version is {_np.__version__}, but version >= {'.'.join(str(i) for i in _MIN_NUMPY_VERSION)} is required.")
20
+
21
+ from .yardl_types import *
22
+ from .types import (
23
+ AccelerationFactorType,
24
+ Acquisition,
25
+ AcquisitionData,
26
+ AcquisitionFlags,
27
+ AcquisitionSystemInformationType,
28
+ Calibration,
29
+ CalibrationMode,
30
+ CoilLabelType,
31
+ DiffusionDimension,
32
+ DiffusionType,
33
+ EncodingCounters,
34
+ EncodingLimitsType,
35
+ EncodingSpaceType,
36
+ EncodingType,
37
+ ExperimentalConditionsType,
38
+ FieldOfViewMm,
39
+ GradientDirectionType,
40
+ Header,
41
+ Image,
42
+ ImageComplexDouble,
43
+ ImageComplexFloat,
44
+ ImageData,
45
+ ImageDouble,
46
+ ImageFlags,
47
+ ImageFloat,
48
+ ImageInt,
49
+ ImageInt16,
50
+ ImageMetaData,
51
+ ImageType,
52
+ ImageUint,
53
+ ImageUint16,
54
+ InterleavingDimension,
55
+ LimitType,
56
+ MatrixSizeType,
57
+ MeasurementDependencyType,
58
+ MeasurementInformationType,
59
+ MultibandSpacingType,
60
+ MultibandType,
61
+ ParallelImagingType,
62
+ PatientGender,
63
+ PatientPosition,
64
+ ReferencedImageSequenceType,
65
+ SequenceParametersType,
66
+ StreamItem,
67
+ StudyInformationType,
68
+ SubjectInformationType,
69
+ ThreeDimensionalFloat,
70
+ Trajectory,
71
+ TrajectoryData,
72
+ TrajectoryDescriptionType,
73
+ UserParameterBase64Type,
74
+ UserParameterDoubleType,
75
+ UserParameterLongType,
76
+ UserParameterStringType,
77
+ UserParametersType,
78
+ Waveform,
79
+ WaveformInformationType,
80
+ WaveformSamples,
81
+ WaveformType,
82
+ WaveformUint32,
83
+ get_dtype,
84
+ )
85
+ from .protocols import (
86
+ MrdReaderBase,
87
+ MrdWriterBase,
88
+ )
89
+ from .binary import (
90
+ BinaryMrdReader,
91
+ BinaryMrdWriter,
92
+ )
93
+ from .ndjson import (
94
+ NDJsonMrdReader,
95
+ NDJsonMrdWriter,
96
+ )