I am not too enthusiastic about this function. A function is enough. Why not using EpochsArray to be able to pass epochs? I know @kingjr that you have legacy data but shall we advertise this function? A compromise would be at least to make it private. We cannot afford to address 100% of use cases. If we shoot for the good 80% we're doing great.