code: def score(self, periods=None):
          
          periods = np.asarray(periods)
          return self._score(periods.ravel()).reshape(periods.shape)
docs: Compute the periodogram for the given period or periods
  
          Parameters
          ----------
          periods : float or array_like
              Array of periods at which to compute the periodogram.
  
          Returns
          -------
          scores : np.ndarray
              Array of normalized powers (between 0 and 1) for each period.
              Shape of scores matches the shape of the provided periods.