get_mode ======== .. currentmodule:: gwsumm.mode .. autofunction:: get_mode