@staticmethod<EOL><INDENT>def calculate_sync_order(oscillator_phases):<DEDENT>
exp_amount = <NUM_LIT:0.0>;<EOL>average_phase = <NUM_LIT:0.0>;<EOL>for phase in oscillator_phases:<EOL><INDENT>exp_amount += math.expm1( abs(<NUM_LIT> * phase) );<EOL>average_phase += phase;<EOL><DEDENT>exp_amount /= len(oscillator_phases);<EOL>average_phase = math.expm1( abs(<NUM_LIT> * (average_phase / len(oscillator_phases))) );<EOL>return abs(average_phase) / abs(exp_amount)<EOL>
!
        @brief Calculates level of global synchronization (order parameter) for input phases.
        @details This parameter is tend 1.0 when the oscillatory network close to global synchronization and it tend to 0.0 when 
                  desynchronization is observed in the network.

        @param[in] oscillator_phases (list): List of oscillator phases that are used for level of global synchronization.

        @return (double) Level of global synchronization (order parameter).

        @see calculate_order_parameter()