examples/example_24_large_scale_brian2_simulation/clusternet.py
def add_parameters(self, traj):
        """Adds all necessary parameters to `traj` container."""
        par= traj.f_add_parameter(Brian2Parameter,'simulation.durations.initial_run', 500*ms,
                             comment='Initialisation run for more realistic '
                                            'measurement conditions.')

        par.v_annotations.order=0
        par=traj.f_add_parameter(Brian2Parameter,'simulation.durations.measurement_run', 1500*ms,
                             comment='Measurement run that is considered for '
                                                'statistical evaluation')
        par.v_annotations.order=1
def add_parameters(self, traj):
        par= traj.f_add_parameter(Brian2Parameter,'simulation.durations.initial_run', 500*ms,
                             comment='Initialisation run for more realistic '
                                            'measurement conditions.')

        par.v_annotations.order=0
        par=traj.f_add_parameter(Brian2Parameter,'simulation.durations.measurement_run', 1500*ms,
                             comment='Measurement run that is considered for '
                                                'statistical evaluation')
        par.v_annotations.order=1
def add_parameters ( self , traj ) : par = traj . f_add_parameter ( Brian2Parameter , 'simulation.durations.initial_run' , 500 * ms , comment = 'Initialisation run for more realistic ' 'measurement conditions.' ) par . v_annotations . order = 0 par = traj . f_add_parameter ( Brian2Parameter , 'simulation.durations.measurement_run' , 1500 * ms , comment = 'Measurement run that is considered for ' 'statistical evaluation' ) par . v_annotations . order = 1
Adds all necessary parameters to `traj` container.
Adds all necessary parameters to traj container .