def convertQToTwoTheta(Q,calibrationData): """ Calculates twoTheta when given Q and the wavelength. """ return DiffractionAnalysisWrap.convertQToTwoTheta(Q, calibrationData.getWavelength()['val'])