quartiq / rayopt

Python optics and lens design, raytracing
GNU Lesser General Public License v3.0
260 stars 50 forks source link

Question: Why is paraxial free space propagation divided by refractive index? #6

Closed MaximilianHoffmann closed 8 years ago

MaximilianHoffmann commented 8 years ago
def paraxial_matrix(self, n0, l):
        m = np.eye(4)
        # 4x4 block matrix, M = [[A, B], [C, D]], A is 2x2 tan sag
        d = self.distance

then:

        m[0, 2] = m[1, 3] = d/n0
        return n0, m

Isn't the normal propagation matrix only dependent on the distance?

Thanks Max

MaximilianHoffmann commented 8 years ago

Slope definition like Siegmann Lasers p. 584 , e.g. relative slope

jordens commented 8 years ago

You can write it either way. It is just fewer arguments and less code. If you use the geometric distance here you have to mess with a lot more things though.

And Siegmann. Yes.