ENH: make get_sqd_params a module level function, address KIT issue