pyhctsa.utils.dict_output¶
- pyhctsa.utils.dict_output(func)¶
Decorator for a feature function that returns a dict of outputs (one feature per field).
When the function cannot compute anything (hctsa:
out = NaN, every output undefined) and would return a barenan, the decorated function returns the dict with every field NaN instead (seenan_outputs()), so that the feature names stay<label>.<field>whatever the data.