code: def from_bundle(cls, b, feature):
          
  
          feature_ps = b.get_feature(feature)
  
          colat = feature_ps.get_value('colat', unit=u.rad)
          longitude = feature_ps.get_value('long', unit=u.rad)
  
          if len(b.hierarchy.get_stars())>=2:
              star_ps = b.get_component(feature_ps.component)
              orbit_ps = b.get_component(b.hierarchy.get_parent_of(feature_ps.component))
              syncpar = star_ps.get_value('syncpar')
              period = orbit_ps.get_value('period')
              dlongdt = (syncpar - 1) / period * 2 * np.pi
          else:
              star_ps = b.get_component(feature_ps.component)
              dlongdt = star_ps.get_value('freq', unit=u.rad/u.d)
              longitude = np.pi/2
  
          radius = feature_ps.get_value('radius', unit=u.rad)
          relteff = feature_ps.get_value('relteff', unit=u.dimensionless_unscaled)
  
          t0 = b.get_value('t0', context='system', unit=u.d)
  
          return cls(colat, longitude, dlongdt, radius, relteff, t0)
docs: Initialize a Spot feature from the bundle.