Utils¶
The utils module define functions (or class) that can be used in several other modules, needed by the core of biom3d or not numerous enough to constitute a new module.
Note
Altough we present submoduls, you don’t need to specify them when importing :
from biom3d.utils.data_handler_abstract import DataHandler
# Is the same thing as
from biom3d.utils import DataHandler
Only some functions/classes cannot be imported directly with utils.
Utils
- DataHandler
- Config
AttrDictadaptive_load_config()compat_old_config()config_to_type()load_python_config()load_yaml_config()nested_dict_change_value()nested_dict_change_value_case_insensitive()nested_dict_pairs_iterator()recursive_rename_key()replace_line_multiple()replace_line_single()save_python_config()save_yaml_config()
- Sampling & Data augmentation
- Image visualisation & resizing
- Filtering & thresholding
- Encoding
- Testing
- Decorator
- Folds
- Neural network
- Files & directories
- Time