diff --git a/phoebe/atmospheres/create_atmospherefits.py b/phoebe/atmospheres/create_atmospherefits.py
index <HASH>..<HASH> 100644
--- a/phoebe/atmospheres/create_atmospherefits.py
+++ b/phoebe/atmospheres/create_atmospherefits.py
@@ -21,6 +21,7 @@ try: # Pyfits now integrated in astropy
 except:
     import astropy.io.fits as pyfits
 import argparse
+import scipy.ndimage.filters
 
 logger = logging.getLogger("ATM.GRID")
Smoothing before computing beaming factors to avoid numerical issues caused by metal lines