ENH:add a factory function for FourExp