Angular Spectrum Method Python Definition