class_docstr: Unit Tests for SEVIRI calibration algorithm.
class_docstr_tok: ["Unit","Tests","for","SEVIRI","calibration","algorithm","."]
docstr: Test conversion from radiance to reflectance.
docstr_tok: ["Test","conversion","from","radiance","to","reflectance","."]
code: def test_vis_calibrate(self):
      """Test conversion from radiance to reflectance."""
      result = self.algo.vis_calibrate(
          VIS008_RADIANCE, VIS008_SOLAR_IRRADIANCE
      )
      xr.testing.assert_allclose(result, VIS008_REFLECTANCE)
      assert result.sun_earth_distance_correction_applied
      assert result.dtype == np.float32
  
imports: import unittest
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from satpy.readers.seviri_base import SEVIRICalibrationAlgorithm, SEVIRICalibrationHandler
label_desc: Use image node_id 4 for calling the TestSEVIRICalibrationAlgorithm obj's underlying member method code with example usage: obj.test_vis_calibrate() without return types