The variably spaced superlattice energy filter