code: def get_logistic_func(
      growth_rate=1.0, capacity=1.0, floor=0.0, inflection_point=0.0
  ):
      """Returns a function that evaluates the logistic function at t with the
          specified growth rate, capacity, floor, and inflection point.
  
          f(x) = floor + capacity / (1 + exp(-growth_rate * (x - inflection_point)))
  
      :param growth_rate: growth rate
      :type growth_rate: float
      :param capacity: max value (carrying capacity)
      :type capacity: float
      :param floor: min value (lower bound)
      :type floor: float
      :param inflection_point: the t value of the inflection point
      :type inflection_point: float
      :return: the logistic function with specified parameters
      :rtype: callable
      """
      return lambda t: logistic(
          t, growth_rate, capacity, floor, inflection_point
      )
  
imports: import math
  from datetime import datetime
  from datetime import timedelta
  import numpy
  import pandas
  import pytz
  from holidays_ext import get_holidays
  from pandas.tseries.frequencies import to_offset
  from scipy.special import expit
  from greykite.common import constants
  from greykite.common.python_utils import split_offset_str
label_desc: Use image node_id 32 for calling a global function with example usage: get_logistic_func(growth_rate, capacity, floor, inflection_point) and returns: function