code: def from_data(cls, data):
          
          if not data.shape[1] == 3:
              raise ValueError("Gyroscope data must have shape (N, 3)")
  
          instance = cls()
          instance.data = data
          return instance
docs: Create gyroscope stream from data array
  
          Parameters
          -------------------
          data : (N, 3) ndarray
              Data array of angular velocities (rad/s)
  
          Returns
          -------------------
          GyroStream
              Stream object