'add_custom_preprocessing.
Apply any custom pre-processing function to the .
Arguments:
func: a `Function` that take a numpy array as input and returns
a numpy array.
Returns:
Nothing.'

def add_custom_preprocessing(self, func):

    self.methods.append(func)
    self.args.append(None)
