Elekta Binary Logfiles¶
A command line interface for the conversion of Elekta binary log files.
usage: pymedphys trf [-h] {to-csv,detect,orchestrate} ...
Positional Arguments¶
- trf
Possible choices: to-csv, detect, orchestrate
Sub-commands:¶
to-csv¶
Converts .trf
files to .csv
table and header files.
pymedphys trf to-csv [-h] filepaths [filepaths ...]
Positional Arguments¶
- filepaths
A list of
.trf
filepaths that you wish to convert to.csv
. Use of the glob wildcard * is enabled, which means that runningpymedphys trf to-csv *.trf
will convert all logfiles in the current directory to csv files.
detect¶
Attempts to detect trf encoding method.
pymedphys trf detect [-h] filepath
Positional Arguments¶
- filepath
The filepath of a trf file.
orchestrate¶
A command line interface for the management of trf files.
Requires two configuration csv files detailed as following:
config_mosaiq_sql.csv
¶
,Timezone,Mosaiq SQL Server (Hostname:Port)
a_centre,Australia/Sydney,mosaiq:1433
another_centre,Australia/Sydney,another-mosaiq:1433
config_linac_details.csv
¶
,Centre,IP
1234,a_centre,192.168.150.40
1236,a_centre,192.168.150.41
1238,another_centre,10.0.0.40
pymedphys trf orchestrate [-h] [-m MOSAIQ_SQL] [-l LINAC_DETAILS]
data_directory
Positional Arguments¶
- data_directory
The path for storing the indexed log files.
Named Arguments¶
- -m, --mosaiq_sql
Define a custom path for the Mosaiq SQL configuration file. Defaults to
{data_directory}/config_mosaiq_sql.csv
- -l, --linac_details
Define a custom path for the Linac configuration file. Defaults to
{data_directory}/config_linac_details.csv