On the Import & create tab, the user can:
import files containing breathing curves in .csv/.vxp format
create their own analytical breathing curves
To import breathing curve data:
Select the delimiter used to separate the columns in the csv/vxp files
Select the line containing the header information, as well as the lines containing metadata to skip
Select the time-unit the time data is stored in
Select whether to flip the amplitude
Press on Import and select the file to import using the file dialog.
The data will now be displayed and stored in table format, as well as in raw text.
The Breathing curves module was initially developed to import breathing curve data acquired using the Varian RPM (Respiratory Position Management) system. The RPM system is used mainly in radiation therapy to track and manage respiratory motion during treatment. The RPM systems consists of a marker block (with reflective markers), which is placed on the patient's chest or abdomen — somewhere that moves predictably with breathing. An infrared (IR) camera constantly tracks the 3D position of the marker block.
The .vxp file contains the following columns: amplitude, relative timestamp, phase, mark, valid flag, ttlin and ttlout. The amplitude parameter contains the measured movement of the block, as a function of time (denoted by the timestamp variable). The phase parameter denotes the relative phase within the breathing curve. The mark parameter indicates the start of the next phase, denoted with the value P. The valid flag parameters indicates the portion of the breathing curve that is error-free, i.e. valid for treatment (0 = error-free, 1 = error). The transistor-transistor logic (ttl) information stored in the ttlin and ttlout parameters indicates whether the radiation with on or off (0 = beam-off, 1 = beam-on).
To create a breathing curve yourself:
Select the curve type to use as a template
Select the number of breathing cycles to generate
Select the default amplitude (in mm), as well as the breathing cycle time (in s)
Select the sampling frequency (in Hz)
Press on Set parameters
The parameters that will be used to generate the curve are now displayed in a table. The user can either
use these parameters to create a regular breathing pattern
or adjust the amplitude and/or breathing cycle time of specific cycles, in order to introduce irregularities in the breathing pattern
Once the user is satisfied with the parameters, press Create
The data will now be displayed and stored in table format.