# Home

## 7. Load custom kernel modules

## `sasmodels.custom.__init__`

### Custom Models

This is a place holder for the custom models namespace. When models are loaded from a file by `sasmodels.generate.load_kernel_module()` they are loaded as if they exist in sasmodels.custom. This package needs to exist for this to occur without error.

sasmodels.custom.__init__.load_custom_kernel_module(path: str) → ModuleType

  load SAS kernel from path as sasmodels.custom.modelname

sasmodels.custom.__init__.load_module_from_path(fullname: str, path: str) → ModuleType

  load module from path as fullname

sasmodels.custom.__init__.need_reload(path: str) → bool

  Return True if any path dependencies have a timestamp newer than the time when the path was most recently loaded.