History of ArchiveTool (No. 1)
- History
- View the diff.
- View the diff current.
- View the source.
- Go to ArchiveTool.
- 1 (2025-01-24 (Fri) 07:14:22)
Input-file must be specified Allowed options:
-h [ --help ] Print this help message -v [ --verbose ] Run in verbose mode --analyze-sampling-pattern Analyze sampling pattern to identify corner-cut, pfky, pfkz, and output results to csv. This option is only compatible with the archive-list-input-path option --generate-trace Generate trace file at end of execution. --archive-list-input-path arg Genereate CSV file that has information list of all archive files in the specified directory or text list-file. This option is compatible with get-header-value and output-file options. --input-file arg Input file --output-file arg Output file, default is <input-file>.Modified.h5 for archive modification options, and ArchiveInfoList.csv for archive-list-input-path option. --file-type arg Optional file type (Pfile|ScanArchive). If not provided, the file type will be determined based on the file name. --list-info List archive info --print-header Print header values --modify-header-version arg Update PoolHeader to entry value (i.e. 24.0) --get-header-value arg Get an entry value; "--get rdb_hdr_rec.rdb_hdr_run_int" will get the entry value --set-header-value arg Set an entry value; "--set rdb_hdr_rec.rdb_hdr_run_int = <value>" will set the entry value --anon-header Anonymize the archive. --anon-mode arg Mode used when anonymizing the header, (Default|Full|Partial), default is Full. --anon-exam-number arg Exam Number value used when anonymizing the header, default is a randomly generated number. --anon-patient-id arg Patient ID value used when anonymizing the header, default value is ANONXXXX, XXXX = Exam Number. --anon-patient-name arg Patient Name value used when anonymizing the header, default value is ANONXXXX, XXXX = Exam Number. --export-ctt Export the CTT as XML file. --import-ctt arg Import CTT from the specified XML file. Will update the header to reflect the new CTT. --update-raw-data Update the raw data to reflect imported CTT. --print-frame arg Print frame data, argument specifies the range of frames to print, i.e. '10', '10-20', or 'all'. --print-control arg Print control data, argument specifies the range of controls to print, i.e. '10', '10-20', or 'all'. --dump-ssp Dump SSP packet information to file ssp.txt. --cine-mode When dumping SSP packet information, print packets in 3D Cine mode. --set-prescan-values arg Set prescan values --unit-test Run unit test (testing anonymization for ScanArchives and Pfiles). --update-autoshim-archive Converts the legacy Autoshim start packet to Autoprescan start packet --update-diffusion-dabs Update diffusion DAB packets --update-pscrecital-archive arg Converts the legacy Prescan Scan Archive start packet to Autoprescan start packet, Specify the entry point name (case sensitive) e.g. --update-pscrecital-archive DynTG --update-archive-file arg Update (Add/Replace) archived files. Input format is SourcePath%ArchiveEntry%RestorePath Key%RestorePath%Type(optional). e.g. --update-archive-file /Desktop/Asset-Coil3186 51-Repetition0000.h5%/usr/g/recon_calib/ExamD ata/6536/Asset-Coil318651-Repetition0000.h5%G ERecon.Path.InputExamData%6536/Asset-Coil3186 51-Repetition0000.h5%Binary --swap-downloaddata arg Swap the download data from the given archive into the input archive --search-scan-archives arg Search for scan archives using a desired header value as filter. You can enter multiple filters as following. "--search-scan-archives rdb_hdr_exam.ex_no=<value>,rdb_hdr_exam.ex_nu mseries=<value> --archive-list-input-path [dir]". You can replace the filters with a path to a .txt file containing multiple filters as following. "--search-scan-archives [file path] --archive-list-input-path [dir]". Each filter must be on a new line within the file. --add-download-metadata Add new Download MetaData to the scan archive. --print-download-metadata Print Download MetaData of the scan archive. --import-header arg Import the provided json header into the input scan archive and save as a new scan archive [Cx only].