fredtools 0.9.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.
Files changed (49) hide show
  1. fredtools-0.9.0/.gitignore +142 -0
  2. fredtools-0.9.0/LICENSE +674 -0
  3. fredtools-0.9.0/PKG-INFO +217 -0
  4. fredtools-0.9.0/README.md +171 -0
  5. fredtools-0.9.0/fredtools/BraggPeak/__init__.py +1 -0
  6. fredtools-0.9.0/fredtools/BraggPeak/braggPeakAnalyse.py +795 -0
  7. fredtools-0.9.0/fredtools/GammaIndex/LICENSE-libFredGI.md +28 -0
  8. fredtools-0.9.0/fredtools/GammaIndex/__init__.py +1 -0
  9. fredtools-0.9.0/fredtools/GammaIndex/gammaIndex.py +649 -0
  10. fredtools-0.9.0/fredtools/GammaIndex/libFredGI.dll +0 -0
  11. fredtools-0.9.0/fredtools/GammaIndex/libFredGI.dylib +0 -0
  12. fredtools-0.9.0/fredtools/GammaIndex/libFredGI.so +0 -0
  13. fredtools-0.9.0/fredtools/ImgAnalyse/__init__.py +7 -0
  14. fredtools-0.9.0/fredtools/ImgAnalyse/_imgTypeChecker.py +333 -0
  15. fredtools-0.9.0/fredtools/ImgAnalyse/dvhAnalyse.py +704 -0
  16. fredtools-0.9.0/fredtools/ImgAnalyse/imgAnalyse.py +1321 -0
  17. fredtools-0.9.0/fredtools/ImgAnalyse/imgDisplay.py +499 -0
  18. fredtools-0.9.0/fredtools/ImgAnalyse/imgInfo.py +255 -0
  19. fredtools-0.9.0/fredtools/ImgAnalyse/imgTransformCoordinates.py +235 -0
  20. fredtools-0.9.0/fredtools/ImgAnalyse/spotAnalyse.py +334 -0
  21. fredtools-0.9.0/fredtools/ImgIO/OmniPro_io.py +272 -0
  22. fredtools-0.9.0/fredtools/ImgIO/__init__.py +5 -0
  23. fredtools-0.9.0/fredtools/ImgIO/dicom_io.py +1820 -0
  24. fredtools-0.9.0/fredtools/ImgIO/imgConverter.py +121 -0
  25. fredtools-0.9.0/fredtools/ImgIO/inm_io.py +546 -0
  26. fredtools-0.9.0/fredtools/ImgIO/mhd_io.py +206 -0
  27. fredtools-0.9.0/fredtools/ImgManipulate/__init__.py +4 -0
  28. fredtools-0.9.0/fredtools/ImgManipulate/imgCreate.py +578 -0
  29. fredtools-0.9.0/fredtools/ImgManipulate/imgGetSubimg.py +832 -0
  30. fredtools-0.9.0/fredtools/ImgManipulate/imgManipulate.py +1787 -0
  31. fredtools-0.9.0/fredtools/ImgManipulate/inmManipulate.py +128 -0
  32. fredtools-0.9.0/fredtools/Miscellaneous/__init__.py +3 -0
  33. fredtools-0.9.0/fredtools/Miscellaneous/dicom_uid.py +999 -0
  34. fredtools-0.9.0/fredtools/Miscellaneous/landauVavilovGauss.py +445 -0
  35. fredtools-0.9.0/fredtools/Miscellaneous/miscellaneous.py +540 -0
  36. fredtools-0.9.0/fredtools/MonteCarlo/__init__.py +4 -0
  37. fredtools-0.9.0/fredtools/MonteCarlo/beamModel.py +1032 -0
  38. fredtools-0.9.0/fredtools/MonteCarlo/fredMC.py +433 -0
  39. fredtools-0.9.0/fredtools/MonteCarlo/gateMC.py +216 -0
  40. fredtools-0.9.0/fredtools/MonteCarlo/opengateMC.py +308 -0
  41. fredtools-0.9.0/fredtools/ProtonOptimisation/__init__.py +2 -0
  42. fredtools-0.9.0/fredtools/ProtonOptimisation/optimiseBeamPositions.py +292 -0
  43. fredtools-0.9.0/fredtools/ProtonOptimisation/preoptimizer.py +438 -0
  44. fredtools-0.9.0/fredtools/__init__.py +74 -0
  45. fredtools-0.9.0/fredtools/_helper.py +383 -0
  46. fredtools-0.9.0/fredtools/_logger.py +196 -0
  47. fredtools-0.9.0/fredtools/_typing.py +71 -0
  48. fredtools-0.9.0/fredtools/_version.py +3 -0
  49. fredtools-0.9.0/pyproject.toml +82 -0
@@ -0,0 +1,142 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+
8
+ # Distribution / packaging
9
+ .Python
10
+ build/
11
+ develop-eggs/
12
+ dist/
13
+ downloads/
14
+ eggs/
15
+ .eggs/
16
+ lib/
17
+ lib64/
18
+ parts/
19
+ sdist/
20
+ var/
21
+ wheels/
22
+ pip-wheel-metadata/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+
53
+ # Translations
54
+ *.mo
55
+ *.pot
56
+
57
+ # Django stuff:
58
+ *.log
59
+ local_settings.py
60
+ db.sqlite3
61
+ db.sqlite3-journal
62
+
63
+ # Flask stuff:
64
+ instance/
65
+ .webassets-cache
66
+
67
+ # Scrapy stuff:
68
+ .scrapy
69
+
70
+ # Sphinx documentation
71
+ docs/_build/
72
+
73
+ # PyBuilder
74
+ target/
75
+
76
+ # Jupyter Notebook
77
+ .ipynb_checkpoints
78
+
79
+ # IPython
80
+ profile_default/
81
+ ipython_config.py
82
+
83
+ # pyenv
84
+ .python-version
85
+
86
+ # pipenv
87
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
88
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
89
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
90
+ # install all needed dependencies.
91
+ #Pipfile.lock
92
+
93
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
94
+ __pypackages__/
95
+
96
+ # Celery stuff
97
+ celerybeat-schedule
98
+ celerybeat.pid
99
+
100
+ # SageMath parsed files
101
+ *.sage.py
102
+
103
+ # Environments
104
+ .env
105
+ .venv
106
+ env/
107
+ venv/
108
+ ENV/
109
+ env.bak/
110
+ venv.bak/
111
+
112
+ # Spyder project settings
113
+ .spyderproject
114
+ .spyproject
115
+
116
+ # Rope project settings
117
+ .ropeproject
118
+
119
+ # mkdocs documentation
120
+ /site
121
+
122
+ # mypy
123
+ .mypy_cache/
124
+ .dmypy.json
125
+ dmypy.json
126
+
127
+ # Pyre type checker
128
+ .pyre/
129
+
130
+ # other FREDtools-related ingnores
131
+ test/
132
+
133
+ *.code-workspace
134
+ .vscode/
135
+
136
+ examples/exampleData/
137
+
138
+ docs/doctrees/
139
+
140
+ docs/html/
141
+
142
+ .claude