docstr: Get anomaly scores of a time series.
  :param TimeSeries time_series: a time_series.
docstr_tok: ["Get","anomaly","scores","of","a","time","series",".",":","param","TimeSeries","time_series",":","a","time_series","."]
code: def _get_anomaly_scores(self, time_series):
      """
      Get anomaly scores of a time series.
      :param TimeSeries time_series: a time_series.
      """
      return AnomalyDetector(
          time_series, score_only=True
      ).get_all_scores()
  
file_path: luminol/src/luminol/correlator.py
imports: from luminol import exceptions, utils
  from luminol.algorithms.correlator_algorithms.all import correlator_algorithms
  from luminol.anomaly_detector import AnomalyDetector
  from luminol.constants import CORRELATOR_ALGORITHM
  from luminol.modules.time_series import TimeSeries
label_desc: Use image node_id 2 for calling the Correlator obj's underlying member method code with example usage: obj._get_anomaly_scores(time_series) and returns: AnomalyDetector