subtract_bkgd_pattern#
- ReducedIntensityGenerator1D.subtract_bkgd_pattern(bkgd_pattern, inplace=True, *args, **kwargs)[source]#
Subtracts a background pattern from the signal.
This method will edit self.signal.
- Parameters:
bkgd_pattern (np.array) – A numpy array of a single line profile of the same resolution (same number of pixels) as the radial profile.
inplace (bool) – If True (default), this signal is overwritten. Otherwise, returns a new signal.
*args – Arguments to be passed to map().
**kwargs – Keyword arguments to be passed to map().