A spectrally-accurate algorithm for analysis of the stability of spatially modulated convection. (30th April 2019)