docs: def get_loss_types(self, imt):
          """
          :param imt: Intensity Measure Type string
          :returns: loss types with risk functions of the given imt
          """
          return [lt for lt in self.loss_types
                  if self.risk_functions[lt].imt == imt]