code: def GetNameFromType(type_):
      if type_ == 0:
          return "SIMPLE_PINHOLE"
      if type_ == 1:
          return "PINHOLE"
      if type_ == 2:
          return "SIMPLE_RADIAL"
      if type_ == 3:
          return "RADIAL"
      if type_ == 4:
          return "OPENCV"
      # if type_ == 5: return 'OPENCV_FISHEYE'
      # if type_ == 6: return 'FULL_OPENCV'
      # if type_ == 7: return 'FOV'
      # if type_ == 8: return 'SIMPLE_RADIAL_FISHEYE'
      # if type_ == 9: return 'RADIAL_FISHEYE'
      # if type_ == 10: return 'THIN_PRISM_FISHEYE'
  
      raise Exception("Camera type not supported")
  
file_path: nerfies/third_party/pycolmap/pycolmap/camera.py
imports: import numpy
  from scipy.optimize import root
label_desc: Use image node_id 2 for calling the Camera obj's underlying member method code with example usage: obj.GetNameFromType(type_) and returns: str, str, str, str, str