def METHOD_NAME():
    try:
        params = body_to_json(bottle.request)
        logger.info(f'Received `peaks_from_pixel` request: {params}')
        ds_files = DatasetFiles(params['ds_id'])
        imzml_parser = deserialize(ds_files.read_file(ds_files.portable_spectrum_reader_key))
        coordinates = np.array(imzml_parser.coordinates)[:, :2]
        coordinates -= np.min(coordinates, axis=0)
        coord_mapping = {(c[0], c[1]): i for i, c in enumerate(coordinates)}
        mzs, ints = get_mzs_ints(params['x'], params['y'], coord_mapping, imzml_parser, ds_files)
        headers = {'Content-Type': 'application/json'}
        body = {
            'x': params['x'],
            'y': params['y'],
            'mzs': mzs.tolist(),
            'ints': ints.tolist(),
        }
        return bottle.HTTPResponse(body, **headers)
    except Exception as e:
        logger.exception(f'{bottle.request} - {e}')
        return make_response(INTERNAL_ERROR)