Code aperture optimization for spectrally agile compressive imaging | Synapse