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
- generate_spec(file, regObject)
This function automatically generates specific output for the specified registration object.
- Parameters
regObject (AmpObject) – the registration object.
- Return type
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
- Return type
The file path to the PDF
- get_downloads_folder()
Gets the downloads folder in a relatively platform independent way