code: def low_frequency_cutoff_from_config(cp):
      
      try:
          low_frequency_cutoff = float(
              cp.get('model', 'low-frequency-cutoff'))
      except (NoOptionError, NoSectionError) as e:
          logging.warning("Low frequency cutoff for calculation of inner "
                          "product needs to be specified in config file "
                          "under section 'model'")
          raise e
      except Exception as e:
          # everything the float() can throw
          logging.warning("Low frequency cutoff could not be "
                          "converted to float ")
          raise e
      return low_frequency_cutoff
docs: Gets the low frequency cutoff from the given config file.
  
      This looks for ``low-frequency-cutoff`` in the ``[model]`` section and
      casts it to float. If none is found, or the casting to float fails, an
      error is raised.
  
      Parameters
      ----------
      cp : WorkflowConfigParser
          Config file parser to read.
  
      Returns
      -------
      float :
          The low frequency cutoff.