class_docstr: A metric that interfaces with an underlying ``BackendSimulator`` and
  returns timestamp map data.
docstr: Fetch data for one trial.
docstr_tok: ["Fetch","data","for","one","trial","."]
code: def fetch_trial_data(
      self, trial: BaseTrial, noisy: bool = True, **kwargs: Any
  ) -> MapMetricFetchResult:
      """Fetch data for one trial."""
      backend_simulator = (
          trial.experiment.runner.simulator
      )  # pyre-ignore[16]
      sim_trial = backend_simulator.get_sim_trial_by_index(trial.index)
      end_time = (
          backend_simulator.time
          if sim_trial.sim_completed_time is None
          else sim_trial.sim_completed_time
      )
      timestamps = self.convert_to_timestamps(
          start_time=sim_trial.sim_start_time, end_time=end_time
      )
      timestamp_kwargs = {
          "map_keys": ["timestamp"],
          "timestamp": timestamps,
      }
      return NoisyFunctionMapMetric.fetch_trial_data(
          self, trial=trial, noisy=noisy, **kwargs, **timestamp_kwargs
      )
  
imports: from typing import Any, List
  from ax.core.base_trial import BaseTrial
  from ax.core.map_metric import MapMetricFetchResult
  from ax.metrics.noisy_function_map import NoisyFunctionMapMetric
label_desc: Use image node_id 1 for calling the BackendSimulatorTimestampMapMetric obj's underlying member method code with example usage: obj.fetch_trial_data(trial, noisy) and returns: NoisyFunctionMapMetric