Definition at line 330 of file general_optics.py. 00330 : 00331 "allow the beam to step forward a specified distance, and set some variables which can be recorded in a marker, if desired" 00332 self.q.drift(distance) 00333 self.total_drift=self.total_drift+distance 00334 self.x0=self.x0+self.direction()*distance 00335 self.total_drift_time=self.total_drift_time+distance*self.q.medium_index 00336 self.incoming_q=self.q.clone() 00337 self.footprint_q=self.q.clone() 00338 return self 00339 def localize(self, optic):
|