process_list#
- astropop.py_utils.process_list(func, iterator, *args, **kwargs)#
process_list
is deprecated! This function will be removed 1.0.Run a function func for all i in a iterator list.
The processing will occurr in serial form. The function will be processed multiple times using the values iterated from the
iterator
.- Parameters:
- func: callable
Function to be executed with the iterator argument.
- iterator: list
Values to be passed to the func.
- *args, **kwargs:
Other, non-varying, arguments to be passed to the function.
- Returns:
- list:
A list with the results.