code: def sampling_params(self):
          
          if self.sampling_transforms is None:
              sampling_params = self.variable_params
          else:
              sampling_params = self.sampling_transforms.sampling_params
          return sampling_params
docs: Returns the sampling parameters.
  
          If ``sampling_transforms`` is None, this is the same as the
          ``variable_params``.