New data structures in ShoulderCase objects
Details
- Tag
- v1.0.4
New data structures in ShoulderCase objects
Author: Alexandre Terrier, EPFL-LBO
Last update: 2019-02-19
This repository contains Matlab codes to import anonymised clinical cases in a shoulder database (shoulderDB), and update this database with complementary clinical, radiological, morphological, or biomechanical data. This project is a collaboration between Laboratory of Biomechanical Orthopedics of the Ecole Polytechnique Federal de Lausanne (EPFL-LBO), the Orthopedic Service of the University Hospital of Lausanne (CHUV-OTR), and the Radiological Department of the University Hospital of Lausanne (CHUV-RAD).
Matlab codes are tested with version 2018a. A config.txt file can be add in the main directory to locate the shoulderDB, which should be mounted locally. The config file is described and used by function openConfigFile.
The import code is located in the sub-directory importSCase. Its description is detailed there. It currently only work for Windows.
The update of the shoulderDB is performed by the function measureSCase. This function should be run from current directory. The update function is based on the matlab class ShoulderCase.
How to call the function measureSCase:
Input arguments can be one or several among:
{Empty,'glenoidDensity', 'update', 'musclesDegeneration' '[NP][1-999]', '[NP]'} If there is no argument the function will measure every new case. The last 'N' or 'P' given as an argument will force the function to be executed on all the corresponding 'N' or 'P' cases. This will overwrite every other ShoulderCase argument '[NP][1-999]' given before. The measurements are divided into three measurements: "morphology", "glenoidDensity", and "musclesDegeneration". The default measurement is the "morphology" one, the two others has to be given in arguments in order to be done.% Examples: measureSCase() is a valid instruction where on every new case is done the "morphology" measurement. measureSCase('glenoidDensity','musclesDegeneration') is a valid instruction where on every cases are done the "morphology","glenoidDensity", and "musclesDegeneration" measurements if one of these measurements is missing. measureSCase('P400','N520') is a valid instruction where on the cases 'P400' and 'N520' is done the "morphology" measurement only if they have not already been measured yet (new cases). measureSCase('P400','N520','update') is a valid instruction where on the cases 'P400' and 'N520' is done the "morphology" measurement whether they have already been measured yet or not. measureSCase('glenoidDensity','P400','N520','update','P') is a valid instruction where on all the 'P' cases are done the "morphology" and "glenoidDensity" measurements whether they have been measured yet or not. measureSCase('Z1590','trollingArgumentLol') is a valid instruction which raises a warning about the arguments and will result in the same as executing measureSCase().
Currently, the analysis is limited to the graphical display of an entry (SCase) of the shoulderDB, with the function plotSCase.
It might still be organized as folder, well documented in a README