I am designing a basic device to determine the BRDF from an arbitrary surface.
I have created the attached ZEMAX file. I need to vary certain parameters, ray-trace, and download the detector data (10 detectors in total), which I believe is a fairly standard test procedure. The image below tries to describe the parameter variations for this test.
I tried doing this by hand but at some point realized there are just too many parameter combinations. I consider using the MATLAB or Python API but could not find much documentation regarding detector commands, and how to save their data to txt files for post-processing.
Could anyone direct me in the right direction?