class_docstr: Class for testing enhancements in satpy.enhancements.
class_docstr_tok: ["Class","for","testing","enhancements","in","satpy.enhancements","."]
docstr: Test applying the cira_stretch.
code: def test_btemp_threshold(self):
      """Test applying the cira_stretch."""
      from satpy.enhancements import btemp_threshold
  
      expected = np.array(
          [
              [
                  [np.nan, 0.946207, 0.892695, 0.839184, 0.785672],
                  [0.73216, 0.595869, 0.158745, -0.278379, -0.715503],
              ]
          ]
      )
      run_and_check_enhancement(
          btemp_threshold,
          self.ch1,
          expected,
          min_in=-200,
          max_in=500,
          threshold=350,
      )
  
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 10 for calling the TestEnhancementStretch obj's underlying member method code with example usage: obj.test_btemp_threshold() without return types