code: def free_shape(self, name, free=True, **kwargs):
          
          src = self.roi.get_source_by_name(name)
          self.free_source(name, free=free,
                           pars=shape_parameters[src['SpectrumType']],
                           **kwargs)
docs: Free/Fix shape parameters of a source.
  
          Parameters
          ----------
  
          name : str
              Source name.
  
          free : bool
              Choose whether to free (free=True) or fix (free=False).