I am trying to get the code I have working with PsychoPy3. The code was written using python and psychopy2 and with PyQt4. Now I have PsychoPy3 and PyQt5. Apperantly getting things work with PyQt5 is not really straitforward. Anyway, I have accomplished some. Now, I have an error as below:
Any idea how to solve this?
experiment = Experiment(windowColor, markerNames, dataFromSubject, popupBetween, popupEnd, blocks, blockTextToDisplay, dbFile, dbTables, test, fileToUseToCalculateAverage = fileToUseToCalculateAverage)
coordinates = MovieStimulusCoordinates(fileToUseToCalculateAverage['file'], fileToUseToCalculateAverage['numberOfDotsPerFrame'], fileToUseToCalculateAverage['matrixAlreadyNormalized'])
self.__projectionMatrix = self.makeProjectionMatrix()
return int(projectionMatrix.reshape(projectionMatrix.shape / self.numberOfDotsPerFrame, self.numberOfDotsPerFrame, 2))
TypeError: 'float' object cannot be interpreted as an integer