The files "ca-reflective" and "ca-refractive" are Python scripts to find a numeric solution for theta for the reflective and refractive modes respectively. Before use, the parameters PHI_NA and Y_ORIGIN at the top of the script must be updated to represent the parameters phi_c and z_o respectively of the objective. For "ca-refractive", the parameter N must also be set to the liquid's refractive index. The script assumes n_m = 1. Launch each script from the command line like this: [script name] [bright circle radius (mm)] [drop radius (mm)] The output will then look like this: [contact angle (degrees)] [drop volume (mm^3)] For example: > ca-reflective 0.382 0.685 6.625 0.0292767514752 If no solution exists, the script will return no output. If multiple solutions exist, the lowest solution will be returned.