If needed, users can also incorporate any in-house method into RamanSPy by manually creating instances of the PreprocessingStep class which wrap the given method. This can be done as follows: Then, the custom preprocessing method is fully compatible with the rest of RamanSPy's functionalities and out-of-the-box applicable to any data integrated within the package via its apply() method: Note that this class structure implies that these instances can then be saved (e.g. as pickle files) and, therefore, reused and shared as required afterwards.