fn validate_expansion( destination: &Basis, source: &Basis, ks: [Complex; 2], helicity: bool, ) -> Result<()>
Validate both bases and the medium of an expansion.