def METHOD_NAME(self, **job_kwargs):
    """
    This function first transforms the sorting object into a `peaks` numpy array and then
    uses the`sortingcomponents.peak_localization.localize_peaks()` function to triangulate
    spike locations.
    """
    from spikeinterface.sortingcomponents.peak_localization import localize_peaks
    job_kwargs = fix_job_kwargs(job_kwargs)
    we = self.waveform_extractor
    spike_locations = localize_peaks(we.recording, self.spikes, **self._params, **job_kwargs)
    self._extension_data["spike_locations"] = spike_locations