Very new to PsychoPy. While futzing around with Monitor Center to calibrate my display, I modified psychopy.hardware.minolta.py so that it is now is capable of reading the Minolta CS-100A photometer over a serial interface port (Windows COM9 in my case). In addition to supporting the minolta.getLum() method needed by the Gamma Calibration components in the Monitor Center, I have also added a new method that can measure the chromaticity as well
I can share this modified âminolta.pyâ code with anyone who is interested.
Is there a central location at PsychoPy where I can submit this modified code for possible inclusion in future releases?
Ideally you would submit a pull request to the github repository. There are full instructions on how to use the repo for PsychoPy dev but the summary is as below. If you donât know much about git/github and donât want to learn then you can simply email me your updated files and Iâll look over the changes that way. Using the repo is nice for tracking PsychoPy contributors so that people get credit.
The code involves TWO patched copies of python scripts that are part of the standard PsychoPy distribution. In order to try testing your CS-100A you would need to rename the PsychoPy modules and then copy the patched scripts to the appropriate directories. If things do not work out, you can delete the patched copies and revert back to the original scripts. Of course, you will also need the appropriate serial communications cable for the CS100A and an RS232 port on your computer. If you are still interested, send me an email at frank.schieber@usd.edu and I will send a zip archive with the scripts and some brief instructions.
Frank S.
Frank, by the way, if youâd like your code added to the main releases and donât have time to put it in yourself then feel free to email it to me and Iâll get it included for our summer release. Getting you to submit your own âPull Requestâ is really just so that contributors get recognised for their contributions