code: def test_output_T():
      # Check we get required outputs
      res = RESULTS.Tcontrast(C1)  # all return values
      # default is all return values
      assert_array_almost_equal(
          [res.effect, res.sd, res.t], output_T(RESULTS, C1)
      )
      assert_array_almost_equal(
          [res.effect, res.sd, res.t],
          output_T(RESULTS, C1, ("effect", "sd", "t")),
      )
      # Input order determines return order
      assert_array_almost_equal(
          [res.t, res.effect, res.sd],
          output_T(RESULTS, C1, ("t", "effect", "sd")),
      )
      # And can select inputs
      assert_array_almost_equal([res.t], output_T(RESULTS, C1, ("t",)))
      assert_array_almost_equal(
          [res.sd], output_T(RESULTS, C1, ("sd",))
      )
      assert_array_almost_equal(
          [res.effect], output_T(RESULTS, C1, ("effect",))
      )
  
imports: import numpy
  from numpy.testing import assert_array_almost_equal
  from nipy.algorithms.statistics.api import OLSModel
  from ..outputters import output_F, output_T
label_desc: Use image node_id 2 for calling a global function with example usage: test_output_T() without return types