Defined extinction function