ENH: separate parameters from constants, employ standard dict