Screen colour calibration without GUI


I was wondering if it is possible to calibrate a monitor using external/user-generated LUTs. I am able to create LUTs for R,G,B and greyscale levels using a simple luxmeter. These characterise the monitor channels using whatever colour profile the system is using. I was wondering if it is possible to tell psychopy to use this profile/LUT to linearise the monitor.

All my lab machines run linux and all our experiments are created through scripts. We don’t use the GUI at all. Has anyone done this in the past ?

Any help/tips/advice would be very helpful.