code: def test_get_2d_params():
      bds = [-1, 1]
      res = 10
      s = InvertedEncoding2D(
          stim_xlim=bds, stim_ylim=bds, stimulus_resolution=res
      )
      param_out = s.get_params()
      assert np.all(param_out.get("stim_fov")[0] == bds)
      assert param_out.get("xp").size == res * res
  
imports: import pytest
  import numpy
  import logging
  from brainiak.reconstruct.iem import InvertedEncoding1D, InvertedEncoding2D
  from brainiak.utils.fmrisim import generate_1d_gaussian_rfs, generate_1d_rf_responses
  from scipy.stats import circmean
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_2d_params() without return types