code: def fit_deriv(x, amplitude, mean, stddev):
          
          import operator
          return list(map(
              operator.neg, Gaussian1D.fit_deriv(x, amplitude, mean, stddev)))
docs: GaussianAbsorption1D model function derivatives.