original_docstring: Transfer coil function, standard one segment
      
      Cf, if not None, should be a list or tuple, the first element
      of which is a Cf function for scaling the time coordinate,
      and the other elements the arguments to be passed to it.
      The normalised time coordinate f will then be calculated as:
      
      f = Cf_func(t, duration, *Cf_args)
      
      instead of:
      
      f = t / duration.
      
      if time_argument_is_f == True, then duration and Cf must be None.
      In this case the first argument, t, will be interpreted as an already
      scaled time coordinate:
      
      f = t
      
docstring: Transfer coil function, standard one segment
  Cf, if not None, should be a list or tuple, the first element
  of which is a Cf function for scaling the time coordinate,
  and the other elements the arguments to be passed to it.
  The normalised time coordinate f will then be calculated as.
  
  
  
  instead of.
  
  f = t / duration.
  
  if time_argument_is_f == True, then duration and Cf must be None.
  In this case the first argument, t, will be interpreted as an already
  scaled time coordinate.
  
  f = t
docstring_tokens: Transfer coil function standard one segment Cf if not None should be a list or tuple the first element of which is a Cf function for scaling the time coordinate and the other elements the arguments to be passed to it . The normalised time coordinate f will then be calculated as . instead of . f = t / duration . if time_argument_is_f == True then duration and Cf must be None . In this case the first argument t will be interpreted as an already scaled time coordinate . f = t
code: def Poly4Asymmetric(t, duration, A, B, C, D, Cf=None, time_argument_is_f=False):
      """Transfer coil function, standard one segment
      
      Cf, if not None, should be a list or tuple, the first element
      of which is a Cf function for scaling the time coordinate,
      and the other elements the arguments to be passed to it.
      The normalised time coordinate f will then be calculated as:
      
      f = Cf_func(t, duration, *Cf_args)
      
      instead of:
      
      f = t / duration.
      
      if time_argument_is_f == True, then duration and Cf must be None.
      In this case the first argument, t, will be interpreted as an already
      scaled time coordinate:
      
      f = t
      """
      if not time_argument_is_f:
          if Cf is None:
              f = t / duration
          else:
              Cf_func = Cf[0]
              Cf_args = Cf[1:]
              f = Cf_func(t, duration, *Cf_args)
      else:
          if duration is not None or Cf is not None:
              raise TypeError('If time_argument_is_f == True, then t is interpreted as the already scaled ' 
                              'time coordinate, f. In this case duration and Cf are not used and must be None.')
          f = t
      return 4 * A * f * (1 - f) * exp(-(((f - 1 / 2) - C) ** 2 / B ** 2) ** abs(D))
code_tokens: def Poly4Asymmetric ( t , duration , A , B , C , D , Cf = None , time_argument_is_f = False ) : if not time_argument_is_f : if Cf is None : f = t / duration else : Cf_func = Cf [ 0 ] Cf_args = Cf [ 1 : ] f = Cf_func ( t , duration , * Cf_args ) else : if duration is not None or Cf is not None : raise TypeError ( 'If time_argument_is_f == True, then t is interpreted as the already scaled ' 'time coordinate, f. In this case duration and Cf are not used and must be None.' ) f = t return 4 * A * f * ( 1 - f ) * exp ( - ( ( ( f - 1 / 2 ) - C ) ** 2 / B ** 2 ) ** abs ( D ) )
short_docstring: Transfer coil function, standard one segment
  Cf, if not None, should be a list or tuple, the first element
  of which is a Cf function for scaling the time coordinate,
  and the other elements the arguments to be passed to it.
short_docstring_tokens: Transfer coil function standard one segment Cf if not None should be a list or tuple the first element of which is a Cf function for scaling the time coordinate and the other elements the arguments to be passed to it .
comment: """Transfer coil function, standard one segment
      
      Cf, if not None, should be a list or tuple, the first element
      of which is a Cf function for scaling the time coordinate,
      and the other elements the arguments to be passed to it.
      The normalised time coordinate f will then be calculated as:
      
      f = Cf_func(t, duration, *Cf_args)
      
      instead of:
      
      f = t / duration.
      
      if time_argument_is_f == True, then duration and Cf must be None.
      In this case the first argument, t, will be interpreted as an already
      scaled time coordinate:
      
      f = t
      """