Target Outcome

Prerequisites

Protocols

File Association

  1. Setting up the Directory
    1. Download and unpack the subject folder and place in MULTIS_trials folder
    2. The folder/file configuration should be the following
      • MULTIS_trials

        • MULTIS###-# (Subject folder containing all data)

          • Configuration - Configuration files and subject XML

          • Data - All "tdms" files

          • Ultrasound - All "dicom" files

      • PulseWidths300.csv - contains key to decode file association pulse

      • PythonScripts

  2. Running the File Association script
    1. Install libraries as needed
    2. Change Directory to match desired Subject ID
    3. Ensure Plot is True to save all verification plots
    4. Run script.
    5. Check directory in file browser under the subject folder for the following additions
      • FileAssociationPNG - folder
      • TimeSynchronization.txt - file containing trial numbers and delta T's of accepted trials only

      • MULTIS###-#readme.txt - human readable file which summarizes the file matching
  3. Manually Matching
    1. Open the 'MULTIS###-#readme.txt' file
      • Note the Unmatched and Accepted Trials, specifically the binary column
    2. Examine any files beginning with 'NMa', meaning no match found
      1. Locate the start and end pluses, each a burst of two peaks.
      2. Compare the binary of the trial run number to each of the pulse sequences found in the 'NMa' png's. Note the file names of each. At this point, it is known which file each of the missing accepted trial numbers belong to.
    3. Open the manualMatcherFA.py and plotterFA.py python scripts.

    4. Change the directory file names in the manualMatcherFA script to a pair of matching files found in step 2. Only one pair of files will be compared at a time. The files will be imported to the plotterFA script automatically.

    5. Run the plotterFA.py script, ensuring iteration is set to zero.
    6. Examine the figure generated.
      1. The pulse extracted from the dicom (bottom of figure) should match the pulse from the tdms file (top of figure). Note the dicom pulse will not always begin at the left most portion of the window as it is a continuous loop in the ultrasound machine.
      2. As before, locate the beginning and ending double pulses.
      3. Count the number of peaks present in the dicom pulse.
      4. Count the number of RWaves in the generated figure.
      5. It is likely that one or more of the RWaves are missing, as that is why the files did not match.
      6. Change the iteration from 0, to 1, to 2, and so on and re-plot each time until the RWaves appear to line up with the pulse peaks in the top figure.
      7. Identify which peaks have RWaves, and which do not.
        1. Each of the peaks in the upper figure has a number associated with it in the script. Starting from 0, instead of 1, the peaks are named accordingly.
        2. Record which peaks have RWaves. For example. (1,2,5,6) may have RWaves.
      8. Return to manualMatcherFA.py

      9. Ensure iteration is set to 2.
      10. Change the chosenRwaves variable to reflect the the recorded RWaves i.e. (1,2,5,6)
      11. Run the script
      12. Check the following items
        1. The filename of the dicom and tdms changed appropriately
        2. The trial number and time synch were added to
        3. The updated PNG was added to the FileAssociationPNG folder

Quality Assurance

Thickness Measurements