mrd-python 2.0.0__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,19 @@
1
+ Metadata-Version: 2.1
2
+ Name: mrd-python
3
+ Version: 2.0.0
4
+ Summary: Library and tools for working with data in the ISMRM Raw Data (MRD) format.
5
+ Project-URL: Homepage, https://ismrmrd.github.io/mrd
6
+ Project-URL: Documentation, https://ismrmrd.github.io/mrd
7
+ Project-URL: Repository, https://github.com/ismrmrd/mrd
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
14
+ Requires-Python: >=3.9
15
+ Description-Content-Type: text/markdown
16
+ Requires-Dist: numpy>=1.22.0
17
+ Requires-Dist: pillow>=9.2.0
18
+
19
+ Library and tools for working with data in the ISMRM Raw Data (MRD) format.
@@ -0,0 +1 @@
1
+ Library and tools for working with data in the ISMRM Raw Data (MRD) format.
@@ -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
+ )