output module¶
-
generateRegBinsCsv
(file, regObject, numBins, scalarMin, scalarMax) Generates a CSV file output of scalar values put into bins :param file: The open file to save csv output to. Should be open with newline=’’ :param regObject: The reg object with scalar values :param numBins: Number of bins for scalar values :param scalarMin: The min scalar value to look for :param scalarMax: The max scalar value to look for :return: None
-
generateRegCsv
(file, regObject) Generates a CSV file output of scalar values put into bins :param file: The open file to save csv output to. Should be open with newline=’’ :param regObject: The reg object with scalar values :return: None
-
getPDF
(lngths, perimeters, CSA, APW, MLW) creates a PDF file containing information about the limb in correct locations on the page then merges the PDF file with the existing template to create the output file
Returns: Return type: The file path to the PDF
-
get_downloads_folder
() Gets the downloads folder in a relatively platform independent way