flitsr.advanced.refiner.Refiner

class flitsr.advanced.refiner.Refiner

Bases: ABC

A Refiner technique takes a Spectrum and manipulates and extends it, returning a modified spectrum.

__init__()

Methods

__init__()

refine(spectrum[, method_lvl])

Provides the functionality for the Refiner.

abstractmethod refine(spectrum: Spectrum, method_lvl=False) Spectrum

Provides the functionality for the Refiner. Takes a Spectrum and manipulates or extends it, returning a modified spectrum.

Parameters:
  • spectrum – Spectrum: The input Spectrum

  • method_lvl – (Default value = False) Whether the input spectrum refers to a method level spectrum.

Returns:

The modified Spectrum.