original_docstring: set the rf frequency for the first 'RFCAVITY' element
docstring: set the rf frequency for the first 'RFCAVITY' element
docstring_tokens: set the rf frequency for the first ' RFCAVITY ' element
code: def putRfFrequency(f, name = 'rfcavity', field = 'f', unitsys=None):
      """set the rf frequency for the first 'RFCAVITY' element"""
      _rf = getElements(name)
      if _rf: return _rf[0].put(field, f, unitsys=unitsys)
      else: raise RuntimeError("element '%s' not found" % name)
code_tokens: def putRfFrequency ( f , name = 'rfcavity' , field = 'f' , unitsys = None ) : _rf = getElements ( name ) if _rf : return _rf [ 0 ] . put ( field , f , unitsys = unitsys ) else : raise RuntimeError ( "element '%s' not found" % name )
short_docstring: set the rf frequency for the first 'RFCAVITY' element
short_docstring_tokens: set the rf frequency for the first ' RFCAVITY ' element
comment: """set the rf frequency for the first 'RFCAVITY' element"""