Skip to content

igg/ScrubStratec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Usage: Scrub_Stratec_.py [options] source-file(s)/directory [destination file/directory]

This program modifies the headers of Stratec pQCT files to zero-out the
Patient Name and round the DOB to the 1st of the nearest month.
Month rounding causes a DOB of 1956-12-17 to be changed to 1957-01-01, and
1956-12-16 to be changed to 1956-12-01 (birth month is favored for midway dates).
Without any parameters, this script will launch a Tkinter-based GUI interface.

N.B.: It is entirely your responsibility to ensure the data is scrubbed properly!

Options:
  -d  dump file info only (path, pat. no., pat. DOB, meas. date, meas. no.), tab-delimited
  -f  force in-place conversion without verification when no destination is
	  specified
  -q  don't print progress information to stdout
  -h  show this help message and exit

This script can be run from the command-line, using Python's Tkinter GUI,
or as a plugin for Fiji (http://Fiji.sc/Fiji).
Launching the script without parameters will launch a Tkinter-based GUI interface.
Tkinter is included in the standard python distribution (http://www.python.org/download/)
To use with Fiji, copy the Scrub_Stratec_.py file to Fiji's plugins folder and it will
appear in the Plugins menu as "Scrub Stratec"

The GUI implementations will ask the user for source and destination directories.
Modified files will be in the destination directory, and the files in the source
directory will remain unmodified.

The CLI allows in-place file modifications, and works with single files, lists
of source files, or source/destination directories.

About

Scrub patient name and DOB from Stratec pQCT files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages