parameters: (jdata: Dict[str, Any])
return_statement: return loss
docstring: Convert data to v1 input for loss function.
  
      Parameters
      ----------
      jdata : Dict[str, Any]
          parsed input json/yaml data
  
      Returns
      -------
      Dict[str, Any]
          dict with loss function parameters
docstring_summary: Convert data to v1 input for loss function.
docstring_tokens: Convert data to v1 input for loss function .
function: def _loss(jdata: Dict[str, Any]) -> Dict[str, Any]:
      """Convert data to v1 input for loss function.
  
      Parameters
      ----------
      jdata : Dict[str, Any]
          parsed input json/yaml data
  
      Returns
      -------
      Dict[str, Any]
          dict with loss function parameters
      """
      loss: Dict[str, Any] = {}
      _jcopy(
          jdata,
          loss,
          (
              "start_pref_e",
              "limit_pref_e",
              "start_pref_f",
              "limit_pref_f",
              "start_pref_v",
              "limit_pref_v",
          ),
      )
      if "start_pref_ae" in jdata:
          loss["start_pref_ae"] = jdata["start_pref_ae"]
      if "limit_pref_ae" in jdata:
          loss["limit_pref_ae"] = jdata["limit_pref_ae"]
      return loss
function_tokens: def _loss ( jdata : Dict [ str , Any ] ) -> Dict [ str , Any ] : loss : Dict [ str , Any ] = { } _jcopy ( jdata , loss , ( "start_pref_e" , "limit_pref_e" , "start_pref_f" , "limit_pref_f" , "start_pref_v" , "limit_pref_v" , ) , ) if "start_pref_ae" in jdata : loss [ "start_pref_ae" ] = jdata [ "start_pref_ae" ] if "limit_pref_ae" in jdata : loss [ "limit_pref_ae" ] = jdata [ "limit_pref_ae" ] return loss