inherits from scipy