class_docstr: Class for testing enhancements in satpy.enhancements.
class_docstr_tok: ["Class","for","testing","enhancements","in","satpy.enhancements","."]
docstr: Test the three_d_effect enhancement function.
code: def test_three_d_effect(self):
      """Test the three_d_effect enhancement function."""
      from satpy.enhancements import three_d_effect
  
      expected = np.array(
          [
              [
                  [np.nan, np.nan, -389.5, -294.5, 826.5],
                  [np.nan, np.nan, 85.5, 180.5, 1301.5],
              ]
          ]
      )
      run_and_check_enhancement(three_d_effect, self.ch1, expected)
  
imports: import contextlib
  import os
  from tempfile import NamedTemporaryFile
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.enhancements import create_colormap, on_dask_array, on_separate_bands, using_map_blocks
label_desc: Use image node_id 8 for calling the TestEnhancementStretch obj's underlying member method code with example usage: obj.test_three_d_effect() without return types