예제 #1
0
def convertTwoThetaToQ(twoTheta,calibrationData):
    """ Calculates Q when given twoTheta and the wavelength. """
    wav= calibrationData.getWavelength()['val']
    print wav
    return DiffractionAnalysisWrap.convertTwoThetaToQ(twoTheta,wav)