A non-transitory data carrier medium having a computer program stored thereon, wherein the computer program is designed, when loaded and executed on a computer, for implementing a method of optimizing a spectacle lens while taking into account the magnification and/or the distortion of the spectacle lens, the method of optimizing the spectacle lens comprising a calculating or optimizing step, the calculating or optimization step taking place such that a performance function F is minimized, wherein
- min
-
-
- F
- =
- min
-
- (
- ∑
- i
-
- G
- V
- ,
- i
-
- (
- N
- actual
-
- (
- i
- )
- -
- N
- des
-
- (
- i
- )
- )
- 2
- +
- (
- G
- Z
- ,
- i
-
- (
- Z
- actual
-
- (
- i
- )
- -
- Z
- des
-
- (
- i
- )
- )
- 2
- )
- )
- ,
- and wherein
- Nactual(i) indicates the actual magnification of the spectacle lens at the i-th evaluation point,
- Ndes(i) indicates the desired magnification of the spectacle lens at the i-th evaluation point,
- Gv,i indicates the weighting of the magnification of the spectacle lens at the i-th evaluation point,
- Zactual(i) indicates the actual distortion of the spectacle lens at the i-th evaluation point,
- Zdes(i) indicates the desired distortion at the i-th evaluation point,
- Gv,i indicates the weighting of the distortion at the i-th evaluation point.