sup3r.preprocessing.utilities.get_input_handler_class

sup3r.preprocessing.utilities.get_input_handler_class#

get_input_handler_class(input_handler_name: str | None = None)[source]#

Get the DataHandler or Rasterizer object.

Parameters:

input_handler_name (str) – Class to use for input data. Provide a string name to match a class in sup3r.preprocessing. If None this will return Rasterizer, which uses LoaderNC or LoaderH5 depending on file type. This is a simple handler object which does not derive new features from raw data.

Returns:

HandlerClass (Rasterizer | DataHandler) – DataHandler or Rasterizer class from sup3r.preprocessing.