Plotting the polarization ellipse
I am tasked with plotting the polarization state of a laser (basically I've made a polarimeter), but I really have no idea where to go at this point. Below is a sample of the program I have written with some real data that I just took from a laser. I have the intensity profile as a function of the rotational angle of a linear polarizing sheet that I am driving with a motor.
How do I go from the intensity values as a function of the rotational angle of the polarizer to the polarization ellipse plot?
Any help would be doing me a huge favor and would be greatly appreciated.