The complete transfer matrix measured with the sample installed is therefore
Tsam=(M02M45,0−M02M45,90−M90M90).
The reference measurements give the analogous matrix
Tref=(R02R45,0−R02R45,90−R90R90).
In the convention used here, the reference (system) response acts on the left of the sample Jones matrix:
Tsam=TrefJsam.
Provided that
det(Tref)=0,
solving the matrix equation from the left yields
Jsam=Tref−1Tsam.
Numerically, the notebook evaluates this as
LinearSolve[Treference, Tsample]
rather than explicitly forming the inverse. This is both clearer and numerically more stable. The order is essential because Jones matrices generally do not commute:
Tref−1Tsam=TsamTref−1.
Let's load the Jones matrix component:
PacletDirectoryLoad[NotebookDirectory[]];
<
Linear Birefringence
Orienting an unknown tetragonal sample with strong linear birefringence
Load the test data measured in four different polarizer–analyzer configurations:
The JonesMatrix constructor accepts two lists containing the sample and reference data sets:
d = JonesMatrix[listSam, listRef](*VB[*)BoxForm`temporalStorage$436481(*,*)(*"1:eJxdlMeO42YQhAcOgOGnsPe0OzTAKIoy4IMYxZyD/oUPzKQYfmaKeju/mWd89KVRXahTofv7PYFO8ePb29v868cQsnqBU1Dnu/vPT29vCuzzWY+XqX5+//oesN/fv/329f2P929f37/gf+bKgbdBZ0Hsbj+PAjjCEDau3Na11saFVT6p7nqa96RihBvBPhLCuvopn3eJTSc7wSHu+TRJ/fyan52x6O0o01K9jhDW2/kSont8as7YKbV4G20uehQ70YsV0hs9pgodYGBGGHt+ust5zMENkZ1MbEzMiQwwSJUTCZBGaGlBZOG+MeMeg56/wxbP2FDiWqgjN1m0y7rkHsd+o1xL01fxcRWsXZLt2XFFgsX8YYXoLnpCp43L+UUXgVYULxY3mQJdKXvsND+xmDr3Gu6AnL4059q6Qxk9r8i2nhHa2Gqn5SIzECOUTAvF7hntTLdDjd+JAbaYiaGKJbBwp+6SE0nRVV1t5l7bLiTxWjo1Lnu9848wGBok2phgvCJthqVVRV0lH49XVhti31L6Lnkp6g5loN+nnBrXhLRkrBxoUgdeGetJ3/dCYk8G1m0oq5lWMGpdqbmT6oK2Bgnpn+3pow2ibvnIYd3y7MbAC+7GiwL2eOk5AB6vUcSNdlgq3aDt7aYZV+7lbUYtpXqrOqkjPsabyZLryoZ7lm06fcRUrrnolFI9Tno3nBYY5mJxewBuVMwC957Vq9pyczBr4qsyplA1RcBoHn3zHysud13cEBft8FYyNDLLEZ3z9Q4/LoUwsFjSNK15Jue6spIk66dNIYBwRDifNVEXHswelsbUZHRWPByTf67l1HatI7vxJr1sFqKpv6OXyvN6q5jJKqxx3Wsj0jOP+socx4kc1Qk2CRr4OtoMh6gfC7QokxNvys5C7VhhCcNSvbJAhun4lDHPIw8X0k90Qx0/4Jf1rtJqKWlHb05q3RLiUA4UVc0bIUuUuV/S0GsUwgMaZoCRx9zBwOBS9AqP0v6l21k+Ix8KS4KFEhbPJoxn7l4Yxsbl9rEqeZDITRTPyf6kj8jX5Fo7XVZrzM2nfnIuTzTAQgKNML25NqAJfe5VXlPsasi9cNFuL6XEq5IzyfCjQNriC/bgtfxiourY8XDxw4WtMZO0QSZij7gCnT+xnjvHHF3Wma4EgBQDqurkgtXuCGI+6iw2yzMIuBM5NUoR9yUVEegS0XlFmnCNMn4imQpmmZp7U/7szfnIHoXk8gnWJxaXveLh4/s7EgQekSiVhMi8rhryYDfARg/Ap00WW2lZANeAKBLfWxwlt1NZqpmk0Ssiwz0IdB3pRr2ymc0TIuqWXZT0ry+ffPo7YN+//V388Em2D5K9OWubu798ijzOzL49/nO9ac3/l/nEoJu3ebrESZvPP3+sYtzO+b+45KzI"*)(*]VB*)
Now, d contains a series of Jones matrices—one for each measured frequency—rather than a single matrix. We can extract the matrix at a specific frequency:
In this particular case, the sample was mounted at a small angle relative to the laboratory coordinate system. Because the mirrors rotate the polarization, the eigenvectors also exhibit slight ellipticity. We can inspect these vectors directly:
OpticalAxisAnalysis[d[Quantity[1.25, "Terahertz"]]];
%[["Eigenpolarizations", All, {"JonesVector", "AzimuthDeg"}]] // TableView (*VB[*)(FrontEndRef["F19f09a28-0a21-4427-9484-a20231c0437c"])(*,*)(*"1:eJxTTMoPSmNkYGAoZgESHvk5KRCeEJBwK8rPK3HNS3GtSE0uLUlMykkNVgUJG1qmGVgmGlnoGiQaGeqamBiZ61qaWJjoJhoZGBkbJhuYGJsnAwCFpRS5"*)(*]VB*)
We can also average the Jones matrix over a frequency interval, which may provide a better estimate:
When expressed in basis, our 2×2 transmission matrix becomes nearly diagonal. Repeating this process at every frequency allows us to extract the sample transmission for each optical eigenmode: