File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/000_feedback_damping_time Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4242 ix_max = np .argmax (ob .mean_x )
4343 iy_max = np .argmax (ob .mean_y )
4444
45- axx .plot (ob .mean_x [ix_max ]* np .exp (- (turn_num - ix_max )/ tau_damp_x ),
45+ axx .plot (ob .mean_x [ix_max ]* np .exp (- (turn_num - ix_max )/ tau_damp_x ),
4646 linewidth = 2 , color = 'red' , linestyle = '--' ,
4747 label = r'Damping time = %.0f turns' % tau_damp_x )
48- axy .plot (ob .mean_y [iy_max ]* np .exp (- (turn_num - iy_max )/ tau_damp_y ),
48+ axy .plot (ob .mean_y [iy_max ]* np .exp (- (turn_num - iy_max )/ tau_damp_y ),
4949 linewidth = 2 , color = 'red' , linestyle = '--' ,
5050 label = r'Damping time = %.0f turns' % tau_damp_y )
5151
52- axx .legend (prop = {'size' :14 }). draggable ()
53- axy .legend (prop = {'size' :14 }). draggable ()
52+ axx .legend (prop = {'size' :14 })
53+ axy .legend (prop = {'size' :14 })
5454
5555axx .set_ylabel ('x [m]' )
5656axy .set_ylabel ('y [m]' )
You can’t perform that action at this time.
0 commit comments