code: def get_available_mfds():
      '''
      Returns an ordered dictionary with the available GSIM classes
      keyed by class name
      '''
      mfds = {}
      for fname in os.listdir(os.path.dirname(__file__)):
          if fname.endswith('.py'):
              modname, _ext = os.path.splitext(fname)
              mod = importlib.import_module(
                  'openquake.hmtk.faults.mfd.' + modname)
              for cls in mod.__dict__.values():
                  if inspect.isclass(cls) and issubclass(cls, BaseMFDfromSlip):
                      mfds[cls.__name__] = cls
      return dict((k, mfds[k]) for k in sorted(mfds)f get_available_mfds():
      '''
      Returns an ordered dictionary with the available GSIM classes
      keyed by class name
      '''
      mfds = {}
      for fname in os.listdir(os.path.dirname(__file__)):
          if fname.endswith('.py'):
              modname, _ext = os.path.splitext(fname)
              mod = importlib.import_module(
                  'openquake.hmtk.faults.mfd.' + modname)
              for cls in mod.__dict__.values():
                  if inspect.isclass(cls) and issubclass(cls, BaseMFDfromSlip):
                      mfds[cls.__name__] = cls
      return dict((k, mfds[k]) for k in sorted(mfds))
docs: Returns an ordered dictionary with the available GSIM classes
      keyed by class name