docstr: Checks that you get finite values given unconstrained samples.
  
  We check `unnormalized_log_prob` as well as the values of the sample
  transformations.
  
  Args:
    use_bump_function: Whether to use the bump function.
code: def testBasic(self, use_bump_function):
      """Checks that you get finite values given unconstrained samples.
  
      We check `unnormalized_log_prob` as well as the values of the sample
      transformations.
  
      Args:
        use_bump_function: Whether to use the bump function.
      """
      model = plasma_spectroscopy.PlasmaSpectroscopy(
          **_test_dataset(), use_bump_function=use_bump_function
      )
      self.validate_log_prob_and_transforms(
          model,
          sample_transformation_shapes=dict(
              identity=model.dtype._replace(
                  amplitude=[16],
                  temperature=[16],
                  velocity=[16],
                  shift=[],
              )
          ),
      )
  
file_path: probability/spinoffs/inference_gym/inference_gym/targets/plasma_spectroscopy_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow_probability.python.internal import test_util
  from inference_gym.internal import test_util
  from inference_gym.targets import plasma_spectroscopy
label_desc: Use image node_id 1 for calling the PlasmaSpectroscopyTest obj's underlying member method code with example usage: obj.testBasic(use_bump_function) without return types