code: def test_stimulus_mask_shift_positive():
      Invt_model = InvertedEncoding1D(
          6, 5, range_start=10, range_stop=190, stimulus_resolution=60
      )
      chans, _ = Invt_model._define_channels()
      Invt_model.set_params(channels_=chans)
      with pytest.warns(RuntimeWarning):
          C = Invt_model._define_trial_activations(np.array([70]))
          tmp_C = np.repeat([0, 1, 0], 60) @ chans.transpose()
          assert np.all((C - tmp_C) < 1e-7)
  
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 45 for calling a global function with example usage: test_stimulus_mask_shift_positive() without return types