CaltechExperimentalGravity / OptimalBragg

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Optimising polarisation #14

Open SeanDS opened 2 months ago

SeanDS commented 2 months ago

I had a go with the examples and they work well (at least on Linux, not MacOS as per the other issue). Nice tool! One thing though that I'd like to look at is optimising reflectivity of a PBS at 1064 nm as well as between around 400-700 nm. I had a look at the optimize example and I can't see how to feed it polarisation requirements. The diff_evo function source doesn't appear to handle reflectivities/transmissivities per polarisation, unless I'm mistaken. Is this something that's supported or easy to add?

pacosalces commented 2 months ago

Hi @SeanDS, thanks for using and testing the package!

Our backend supports polarization, which can be parsed to the optimizer through the multilayer_diel_pars keyword. However, you are right in that these parameters are global to a single optimization run which may include multiple wavelength requirements and a single polarization. I don't expect adding these into our existing R/T costs will be too hard.