It seems like the opticsSet should also set the optics in the oi.  Otherwise these can get out of sync.
It seems like the opticsSet should also set the optics in the oi.  Otherwise these can get out of sync.

Without this, oiGet(oi,'wave') returns empty even though the optics inside have perfectly good wavelength support.  With it, the oiGet works as expected.

isetbio/isetbio,isetbio/isetbio