parameters: (self, vals, check_vals=False)
return_statement: return pic_vals
docstring: Takes values in UI units, converts them to SI and after that
          to quantities used within PIConGPU.
  
          Parameters
          ----------
          vals: float or list of floats
              values that will be converted to the PIC scale
          check_vals: bool
              Flag to decide whether given values are within the allowed
              range for this parameters UI scale.
  
          Returns
          -------
          A list of converted values.
docstring_summary: Takes values in UI units, converts them to SI and after that
          to quantities used within PIConGPU.
docstring_tokens: Takes values in UI units converts them to SI and after that to quantities used within PIConGPU .
function: def convert_to_PIC(self, vals, check_vals=False):
          """
          Takes values in UI units, converts them to SI and after that
          to quantities used within PIConGPU.
  
          Parameters
          ----------
          vals: float or list of floats
              values that will be converted to the PIC scale
          check_vals: bool
              Flag to decide whether given values are within the allowed
              range for this parameters UI scale.
  
          Returns
          -------
          A list of converted values.
          """
          pic_vals = [self.pic_from_SI(
              (v * self.unit).to_base_units().magnitude) for v in vals]
  
          if check_vals:
              self._check_input(pic_vals)
  
          return pic_vals
function_tokens: def convert_to_PIC ( self , vals , check_vals = False ) : pic_vals = [ self . pic_from_SI ( ( v * self . unit ) . to_base_units ( ) . magnitude ) for v in vals ] if check_vals : self . _check_input ( pic_vals ) return pic_vals