Published August 18, 2020
| Version v0.32.0
Software
Open
pymedphys/pymedphys: v0.32.0
Authors/Creators
- 1. Riverina Cancer Care Centre
- 2. University of New South Wales
- 3. Institute of Medical Physics (USyd)
- 4. @actions
Description
"Stable" API changes
(Won't truly be stable until after a 1.0.0 release)
Bug fixes- Fixed bug in the PyMedPhys trf decoding logic where leaf pairs 77, 78, 79, and 80 on the Y2 bank were decoded into having the wrong sign.
config.tomlhas undergone a few breaking changes.- See the example for a working config file.
- See below for a comparison highlighting the key differences.
# Previous version
[[site]]
name = "rccc"
escan_directory = '\\pdc\Shared\Scanned Documents\RT\PhysChecks\Logfile PDFs'
[[site.linac]]
name = "2619"
icom_live_directory = '\\rccc-physicssvr\iComLogFiles\live\192.168.100.200'
# New version
[[site]]
name = "rccc"
[site.export-directories]
escan = '\\pdc\Shared\Scanned Documents\RT\PhysChecks\Logfile PDFs'
anonymised_monaco = 'S:\DataExchange\anonymised-monaco'
icom_live = '\\rccc-physicssvr\iComLogFiles\live'
[[site.linac]]
name = "2619"
ip = '192.168.100.200'
New Features
- Two new optional keywords were added to
pymedphys.dicom.anonymise. These arereplacement_strategyandidentifying_keywords. This was designed to support alternative anonymisation methods. The API to the anonymise function is being flagged for a rework and simplification for which a breaking change is likely to occur in the near future. - Added ability to configure logging via
config.toml.
Refers to the data files accessible via pymedphys.data_path,
pymedphys.zip_data_paths, and pymedphys.zenodo_data_paths.
- The data file
pinnacle_test_data_no_image.zipwas removed and its contents were moved intopinnacle_test_data.zip. - Data files
treatment-record-anonymisation.zip,negative-mu-density.trf, andtrf-references-and-baselines.zipwere added.
Nil
Experimental API changes New Features- Added pseudonymisation as an experimental extension of anonymise.
- This API is undergoing refinement, however in its current form it is
accessible via
pymedphys.experimental.pseudonymisation.pseudonymisation_dispatchandpymedphys.experimental.pseudonymisation.get_default_pseudonymisation_keywords. These are designed to be passed to the new keywordsreplacement_strategyandidentifying_keywordswithinpymedphys.dicom.anonymise. - The pseudonymisation strategy uses SHA3_256 hashing for text and UIDs, date shifting for dates, and jittering for Age. The intent is to enable sets of data that are correlated to remain correlated, and to prevent uncorrelated patient/study/series from clashing.
- This API is undergoing refinement, however in its current form it is
accessible via
Added experimental pseudonymisation CLI. Callable via
pymedphys experimental dicom anonymise --pseudo path/to/dicom.dcmAdded
pymedphys experimental gui. This is a testing ground for new GUIs that are intended to appear withinpymedphys guiin the future. The GUIs exposed under this experimental scope are minimally tested.- At this point in time, the new GUIs include a GUI index, an electron insert factor prediction tool, and a Monaco anonymisation tool.
Files
pymedphys/pymedphys-v0.32.0.zip
Files
(2.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:47d9a5549957f5ee665b033b0e23e9fb
|
2.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/pymedphys/pymedphys/tree/v0.32.0 (URL)