flory.common.utilities
Utilities shared by package flory.
Functions
Converts input and broadcasts it to an array with specified shape. |
|
Filter the keyword arguments (dict) not accepted by a function. |
|
Expands a square np.ndarray into blocks. |
- convert_and_broadcast(arr, shape)[source]
Converts input and broadcasts it to an array with specified shape.
- filter_kwargs(kwargs_full, func)[source]
Filter the keyword arguments (dict) not accepted by a function.