LightwaveExplorer
LightwaveExplorer copied to clipboard
Add loadOptic and applyOptic sequence functions
It would be useful to be able to apply transmission and phase from a file in the course of a sequence. Should be a 3xN array, giving frequency, transmission, phase. People might prefer wavelengths but it will be more reliable if I don't extrapolate lower frequencies.
Sequence should look like loadOptic("filenameOpticZero.txt") loadOptic("filenameOpticOne.txt") do some stuff applyOptic(0) applyOptic(1)
This means supporting quotes in the argument field of functions. Optics should just accumulate sequentially